Package org.hibernate.jpamodelgen.model
Interface MetaEntity
-
- All Superinterfaces:
ImportContext
- All Known Implementing Classes:
AnnotationMetaEntity,XmlMetaEntity
public interface MetaEntity extends ImportContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgenerateImports()java.util.List<MetaAttribute>getMembers()java.lang.StringgetPackageName()java.lang.StringgetQualifiedName()java.lang.StringgetSimpleName()javax.lang.model.element.TypeElementgetTypeElement()java.lang.StringimportType(java.lang.String fqcn)Add fqcn to the import list.booleanisMetaComplete()java.lang.StringstaticImport(java.lang.String fqcn, java.lang.String member)
-
-
-
Method Detail
-
getSimpleName
java.lang.String getSimpleName()
-
getQualifiedName
java.lang.String getQualifiedName()
-
getPackageName
java.lang.String getPackageName()
-
getMembers
java.util.List<MetaAttribute> getMembers()
-
generateImports
java.lang.String generateImports()
- Specified by:
generateImportsin interfaceImportContext
-
importType
java.lang.String importType(java.lang.String fqcn)
Description copied from interface:ImportContextAdd 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<org.marvel.Hulk>importsjava.util.Collectionand returnsCollectionorg.marvel.Hulk[]importsorg.marvel.Hulkand returnsHulk- Specified by:
importTypein interfaceImportContext- Parameters:
fqcn- Fully qualified class name of the type to import.- Returns:
- import string
-
staticImport
java.lang.String staticImport(java.lang.String fqcn, java.lang.String member)- Specified by:
staticImportin interfaceImportContext
-
getTypeElement
javax.lang.model.element.TypeElement getTypeElement()
-
isMetaComplete
boolean isMetaComplete()
-
-