org.hibernate.tool.hbm2x.pojo
Class NoopImportContext

java.lang.Object
  extended by org.hibernate.tool.hbm2x.pojo.NoopImportContext
All Implemented Interfaces:
ImportContext

public class NoopImportContext
extends Object
implements ImportContext


Constructor Summary
NoopImportContext()
           
 
Method Summary
 String generateImports()
           
 String importType(String fqcn)
          Add fqcn to the import list.
 String staticImport(String fqcn, String member)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopImportContext

public NoopImportContext()
Method Detail

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