org.hibernate.tool.hbm2x.pojo
Class NoopImportContext
java.lang.Object
org.hibernate.tool.hbm2x.pojo.NoopImportContext
- All Implemented Interfaces:
- ImportContext
public class NoopImportContext
- extends Object
- implements ImportContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopImportContext
public NoopImportContext()
importType
public String importType(String fqcn)
- Description copied from interface:
ImportContext
- Add fqcn to the import list. Returns fqcn as needed in source code.
Attempts to handle fqcn with array and generics references.
e.g.
java.util.Collection imports java.util.Collection and returns Collection
org.marvel.Hulk[] imports org.marvel.Hulk and returns Hulk
- Specified by:
importType
in interface ImportContext
- Returns:
- import string
staticImport
public String staticImport(String fqcn,
String member)
- Specified by:
staticImport
in interface ImportContext
generateImports
public String generateImports()
- Specified by:
generateImports
in interface ImportContext