Package net.jangaroo.jooc.model
Class AnnotationModel
- java.lang.Object
-
- net.jangaroo.jooc.model.NamedModel
-
- net.jangaroo.jooc.model.DocumentedModel
-
- net.jangaroo.jooc.model.AnnotationModel
-
- All Implemented Interfaces:
ActionScriptModel
public class AnnotationModel extends DocumentedModel
A model of a field of an ActionScript class.
-
-
Constructor Summary
Constructors Constructor Description AnnotationModel()AnnotationModel(String name)AnnotationModel(String name, AnnotationPropertyModel... properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(AnnotationPropertyModel annotationProperty)List<AnnotationPropertyModel>getProperties()Map<String,AnnotationPropertyModel>getPropertiesByName()voidsetProperties(List<AnnotationPropertyModel> properties)voidvisit(ModelVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.model.DocumentedModel
getAsdoc, setAsdoc
-
Methods inherited from class net.jangaroo.jooc.model.NamedModel
equals, getName, hashCode, setName
-
-
-
-
Constructor Detail
-
AnnotationModel
public AnnotationModel()
-
AnnotationModel
public AnnotationModel(String name)
-
AnnotationModel
public AnnotationModel(String name, AnnotationPropertyModel... properties)
-
-
Method Detail
-
getProperties
public List<AnnotationPropertyModel> getProperties()
-
getPropertiesByName
public Map<String,AnnotationPropertyModel> getPropertiesByName()
-
setProperties
public void setProperties(List<AnnotationPropertyModel> properties)
-
addProperty
public void addProperty(AnnotationPropertyModel annotationProperty)
-
visit
public void visit(ModelVisitor visitor)
-
-