public class PropertyInfo extends Object
data object model
.Constructor and Description |
---|
PropertyInfo(boolean declared,
String name,
Doc doc,
TypeInfo type,
String setterMethod,
String adderMethod,
String getterMethod,
List<AnnotationValueInfo> annotations,
PropertyKind kind,
boolean jsonifiable) |
Modifier and Type | Method and Description |
---|---|
String |
getAdderMethod() |
AnnotationValueInfo |
getAnnotation(String annotationName) |
List<AnnotationValueInfo> |
getAnnotations() |
Doc |
getDoc() |
String |
getGetterMethod() |
PropertyKind |
getKind() |
String |
getName() |
String |
getSetterMethod() |
TypeInfo |
getType() |
boolean |
isAdder() |
boolean |
isAnnotated() |
boolean |
isDeclared() |
boolean |
isJsonifiable() |
boolean |
isList() |
boolean |
isMap() |
boolean |
isSet() |
boolean |
isSetter() |
boolean |
isValue() |
public PropertyInfo(boolean declared, String name, Doc doc, TypeInfo type, String setterMethod, String adderMethod, String getterMethod, List<AnnotationValueInfo> annotations, PropertyKind kind, boolean jsonifiable)
public boolean isDeclared()
public Doc getDoc()
public PropertyKind getKind()
public String getName()
public TypeInfo getType()
public String getGetterMethod()
public String getSetterMethod()
public String getAdderMethod()
public List<AnnotationValueInfo> getAnnotations()
AnnotationValueInfo
for this propertypublic AnnotationValueInfo getAnnotation(String annotationName)
public boolean isValue()
public boolean isList()
java.util.List<T>
public boolean isSet()
java.util.Set<T>
public boolean isMap()
java.util.Map<String, T>
public boolean isSetter()
public boolean isAdder()
public boolean isAnnotated()
public boolean isJsonifiable()
Copyright © 2017. All rights reserved.