public class DataObjectModel extends Object implements Model
Constructor and Description |
---|
DataObjectModel(ProcessingEnvironment env,
TypeMirrorFactory typeFactory,
TypeElement modelElt) |
Modifier and Type | Method and Description |
---|---|
Set<ClassTypeInfo> |
getAbstractSuperTypes() |
List<AnnotationValueInfo> |
getAnnotations() |
Text |
getDeprecatedDesc() |
Doc |
getDoc() |
Element |
getElement() |
String |
getFqn() |
boolean |
getGenerateConverter() |
Set<ClassTypeInfo> |
getImportedTypes() |
boolean |
getInheritConverter() |
String |
getKind() |
ModuleInfo |
getModule() |
Map<String,PropertyInfo> |
getPropertyMap() |
ClassTypeInfo |
getSuperType() |
Set<ClassTypeInfo> |
getSuperTypes() |
ClassTypeInfo |
getType() |
Map<String,Object> |
getVars() |
boolean |
hasDecodeStaticMethod() |
boolean |
hasEmptyConstructor() |
boolean |
hasJsonConstructor() |
boolean |
hasStringConstructor() |
boolean |
hasToJsonMethod() |
boolean |
isAbstract() |
boolean |
isClass() |
boolean |
isConcrete() |
boolean |
isDeprecated() |
boolean |
isDeserializable() |
boolean |
isPublicConverter() |
boolean |
isSerializable() |
boolean |
process() |
public DataObjectModel(ProcessingEnvironment env, TypeMirrorFactory typeFactory, TypeElement modelElt)
public Element getElement()
getElement
in interface Model
public ClassTypeInfo getType()
public Doc getDoc()
public boolean isAbstract()
public boolean isConcrete()
public Set<ClassTypeInfo> getImportedTypes()
public Map<String,PropertyInfo> getPropertyMap()
public List<AnnotationValueInfo> getAnnotations()
getAnnotations
in interface Model
public ClassTypeInfo getSuperType()
public Set<ClassTypeInfo> getAbstractSuperTypes()
public Set<ClassTypeInfo> getSuperTypes()
public ModuleInfo getModule()
public boolean isClass()
public boolean getGenerateConverter()
public boolean getInheritConverter()
public boolean isPublicConverter()
public boolean isSerializable()
public boolean isDeserializable()
public boolean hasToJsonMethod()
public boolean hasEmptyConstructor()
public boolean hasJsonConstructor()
public boolean hasStringConstructor()
public boolean hasDecodeStaticMethod()
public boolean isDeprecated()
true
if the class has a @Deprecated
annotationpublic Text getDeprecatedDesc()
Copyright © 2021 Eclipse. All rights reserved.