public class XmlMetaEntity extends Object implements MetaEntity
| Modifier and Type | Field and Description |
|---|---|
protected AccessTypeInformation |
accessTypeInfo |
protected String |
clazzName |
protected Context |
context |
protected String |
defaultPackageName |
protected TypeElement |
element |
protected ImportContext |
importContext |
protected boolean |
isMetaComplete |
protected List<MetaAttribute> |
members |
protected String |
packageName |
| Modifier | Constructor and Description |
|---|---|
protected |
XmlMetaEntity(Embeddable embeddable,
String defaultPackageName,
TypeElement element,
Context context) |
|
XmlMetaEntity(Entity ormEntity,
String defaultPackageName,
TypeElement element,
Context context) |
protected |
XmlMetaEntity(MappedSuperclass mappedSuperclass,
String defaultPackageName,
TypeElement element,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateImports() |
List<MetaAttribute> |
getMembers() |
String |
getPackageName() |
String |
getQualifiedName() |
String |
getSimpleName() |
TypeElement |
getTypeElement() |
String |
importType(String fqcn)
Add fqcn to the import list.
|
protected void |
init() |
boolean |
isMetaComplete() |
String |
staticImport(String fqcn,
String member) |
String |
toString() |
protected final String clazzName
protected final String packageName
protected final String defaultPackageName
protected final ImportContext importContext
protected final List<MetaAttribute> members
protected final TypeElement element
protected final Context context
protected final boolean isMetaComplete
protected AccessTypeInformation accessTypeInfo
public XmlMetaEntity(Entity ormEntity, String defaultPackageName, TypeElement element, Context context)
protected XmlMetaEntity(MappedSuperclass mappedSuperclass, String defaultPackageName, TypeElement element, Context context)
protected XmlMetaEntity(Embeddable embeddable, String defaultPackageName, TypeElement element, Context context)
protected final void init()
public String getSimpleName()
getSimpleName in interface MetaEntitypublic String getQualifiedName()
getQualifiedName in interface MetaEntitypublic String getPackageName()
getPackageName in interface MetaEntitypublic List<MetaAttribute> getMembers()
getMembers in interface MetaEntitypublic String generateImports()
generateImports in interface ImportContextgenerateImports in interface MetaEntitypublic String importType(String fqcn)
ImportContextimportType in interface ImportContextimportType in interface MetaEntityfqcn - Fully qualified class name of the type to import.public String staticImport(String fqcn, String member)
staticImport in interface ImportContextstaticImport in interface MetaEntitypublic TypeElement getTypeElement()
getTypeElement in interface MetaEntitypublic boolean isMetaComplete()
isMetaComplete in interface MetaEntityCopyright © 2009-2013. All Rights Reserved.