public class XmlMetaEntity extends Object implements MetaEntity
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.
|
boolean |
isMetaComplete() |
String |
staticImport(String fqcn,
String member) |
String |
toString() |
public String getSimpleName()
getSimpleName
in interface MetaEntity
public String getQualifiedName()
getQualifiedName
in interface MetaEntity
public String getPackageName()
getPackageName
in interface MetaEntity
public List<MetaAttribute> getMembers()
getMembers
in interface MetaEntity
public String generateImports()
generateImports
in interface ImportContext
generateImports
in interface MetaEntity
public String importType(String fqcn)
ImportContext
importType
in interface ImportContext
importType
in interface MetaEntity
fqcn
- Fully qualified class name of the type to import.public String staticImport(String fqcn, String member)
staticImport
in interface ImportContext
staticImport
in interface MetaEntity
public TypeElement getTypeElement()
getTypeElement
in interface MetaEntity
public boolean isMetaComplete()
isMetaComplete
in interface MetaEntity
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.