public class PropertyModel extends MemberModel
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
INTERNAL, PRIVATE, PROTECTED, PUBLIC| Constructor and Description |
|---|
PropertyModel() |
PropertyModel(String name,
String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotation(AnnotationModel annotation) |
MethodModel |
addGetter() |
MethodModel |
addSetter() |
PropertyModel |
duplicate() |
boolean |
equals(Object o) |
MethodModel |
getGetter() |
MethodModel |
getMethod(MethodType methodType) |
MethodModel |
getSetter() |
int |
hashCode() |
boolean |
isFinal() |
boolean |
isProperty()
Gets the value of the property property.
|
boolean |
isReadable() |
boolean |
isWritable() |
void |
setAnnotations(List<AnnotationModel> annotations) |
void |
setFinal(boolean isFinal) |
void |
setName(String name) |
void |
setStatic(boolean isStatic) |
void |
setType(String type) |
void |
visit(ModelVisitor visitor) |
getNamespace, getType, isAccessor, isField, isGetter, isMethod, isSetter, isStatic, setNamespacegetAnnotations, getAnnotationsgetAsdoc, setAsdocgetNamepublic boolean isProperty
isProperty in class MemberModelpublic void setName(String name)
setName in class NamedModelpublic boolean isFinal()
public void setFinal(boolean isFinal)
public boolean isProperty()
isProperty in class MemberModelpublic MethodModel getGetter()
public MethodModel addGetter()
public MethodModel getSetter()
public MethodModel addSetter()
public MethodModel getMethod(MethodType methodType)
public boolean isReadable()
isReadable in class MemberModelpublic boolean isWritable()
isWritable in class MemberModelpublic void setType(String type)
setType in interface TypedModelsetType in class MemberModelpublic void setStatic(boolean isStatic)
setStatic in class MemberModelpublic void addAnnotation(AnnotationModel annotation)
addAnnotation in interface AnnotatedModeladdAnnotation in class AbstractAnnotatedModelpublic void setAnnotations(List<AnnotationModel> annotations)
setAnnotations in interface AnnotatedModelsetAnnotations in class AbstractAnnotatedModelpublic void visit(ModelVisitor visitor)
public PropertyModel duplicate()
public boolean equals(Object o)
equals in class MemberModelpublic int hashCode()
hashCode in class MemberModelCopyright © 2002–2018 CoreMedia AG. All rights reserved.