net.jangaroo.jooc.model
Class FieldModel

java.lang.Object
  extended by net.jangaroo.jooc.model.NamedModel
      extended by net.jangaroo.jooc.model.DocumentedModel
          extended by net.jangaroo.jooc.model.AbstractAnnotatedModel
              extended by net.jangaroo.jooc.model.MemberModel
                  extended by net.jangaroo.jooc.model.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
FieldModel()
           
FieldModel(String name)
           
FieldModel(String name, String type)
           
FieldModel(String name, String type, String value)
           
 
Method Summary
 String getValue()
           
 boolean isConst()
           
 boolean isField()
           
 void setConst(boolean aConst)
           
 void setValue(String value)
           
 void visit(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, setAnnotations
 
Methods inherited from class net.jangaroo.jooc.model.DocumentedModel
getAsdoc, setAsdoc
 
Methods inherited from class net.jangaroo.jooc.model.NamedModel
getName, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldModel

public FieldModel()

FieldModel

public FieldModel(String name)

FieldModel

public FieldModel(String name,
                  String type)

FieldModel

public FieldModel(String name,
                  String type,
                  String value)
Method Detail

isField

public boolean isField()
Overrides:
isField in class MemberModel

getValue

public String getValue()
Specified by:
getValue in interface ValuedModel

setValue

public void setValue(String value)
Specified by:
setValue in interface ValuedModel

isConst

public boolean isConst()

setConst

public void setConst(boolean aConst)

visit

public void visit(ModelVisitor visitor)
Specified by:
visit in interface ActionScriptModel


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.