Package net.jangaroo.jooc.model
Class FieldModel
-
- All Implemented Interfaces:
ActionScriptModel,AnnotatedModel,NamespacedModel,TypedModel,ValuedModel
public class FieldModel extends MemberModel implements ValuedModel
A model of a field of an ActionScript class.
-
-
Field Summary
-
Fields inherited from interface net.jangaroo.jooc.model.NamespacedModel
INTERNAL, PRIVATE, PROTECTED, PUBLIC
-
-
Constructor Summary
Constructors Constructor Description FieldModel()FieldModel(String name)FieldModel(String name, String type)FieldModel(String name, String type, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()booleanisConst()booleanisField()booleanisReadable()booleanisWritable()voidsetConst(boolean aConst)voidsetValue(String value)voidvisit(ModelVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.model.MemberModel
equals, getNamespace, getType, hashCode, isAccessor, isGetter, isMethod, isProperty, isSetter, isStatic, setNamespace, setStatic, setType
-
Methods inherited from class net.jangaroo.jooc.model.AbstractAnnotatedModel
addAnnotation, getAnnotations, getAnnotations, setAnnotations
-
Methods inherited from class net.jangaroo.jooc.model.DocumentedModel
getAsdoc, setAsdoc
-
Methods inherited from class net.jangaroo.jooc.model.NamedModel
getName, setName
-
-
-
-
Method Detail
-
isReadable
public boolean isReadable()
- Specified by:
isReadablein classMemberModel
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein classMemberModel
-
isField
public boolean isField()
- Overrides:
isFieldin classMemberModel
-
getValue
public String getValue()
- Specified by:
getValuein interfaceValuedModel
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfaceValuedModel
-
isConst
public boolean isConst()
-
setConst
public void setConst(boolean aConst)
-
visit
public void visit(ModelVisitor visitor)
- Specified by:
visitin interfaceActionScriptModel
-
-