public class PropertyModel extends MemberModel
| Type | Property and Description |
|---|---|
boolean |
is |
INTERNAL, PRIVATE, PROTECTED, PUBLIC| Constructor and Description |
|---|
PropertyModel() |
PropertyModel(String name,
String type) |
| Modifier and Type | Method and Description |
|---|---|
MethodModel |
addGetter() |
MethodModel |
addSetter() |
boolean |
equals(Object o) |
MethodModel |
getGetter() |
MethodModel |
getMethod(MethodType methodType) |
MethodModel |
getSetter() |
int |
hashCode() |
boolean |
isFinal() |
boolean |
isProperty() |
boolean |
isReadable() |
boolean |
isWritable() |
void |
setFinal(boolean isFinal) |
void |
setStatic(boolean isStatic) |
void |
setType(String type) |
void |
visit(ModelVisitor visitor) |
getNamespace, getType, isAccessor, isField, isGetter, isMethod, isSetter, isStatic, setNamespaceaddAnnotation, getAnnotations, setAnnotationsgetAsdoc, setAsdocgetName, setNameisProperty in class MemberModelpublic 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()
public boolean isWritable()
public void setType(String type)
setType in interface TypedModelsetType in class MemberModelpublic void setStatic(boolean isStatic)
setStatic in class MemberModelpublic void visit(ModelVisitor visitor)
public boolean equals(Object o)
equals in class MemberModelpublic int hashCode()
hashCode in class MemberModelCopyright © 2002–2015 CoreMedia AG. All rights reserved.