Package net.jangaroo.jooc.model
Class AbstractAnnotatedModel
- java.lang.Object
-
- net.jangaroo.jooc.model.NamedModel
-
- net.jangaroo.jooc.model.DocumentedModel
-
- net.jangaroo.jooc.model.AbstractAnnotatedModel
-
- All Implemented Interfaces:
ActionScriptModel,AnnotatedModel
- Direct Known Subclasses:
ClassModel,MemberModel,NamespaceModel
public abstract class AbstractAnnotatedModel extends DocumentedModel implements AnnotatedModel
Base class for AnnotatedModels.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAnnotatedModel()protectedAbstractAnnotatedModel(String name)protectedAbstractAnnotatedModel(String name, String asdoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAnnotation(AnnotationModel annotation)List<AnnotationModel>getAnnotations()List<AnnotationModel>getAnnotations(String name)voidsetAnnotations(List<AnnotationModel> annotations)-
Methods inherited from class net.jangaroo.jooc.model.DocumentedModel
getAsdoc, setAsdoc
-
Methods inherited from class net.jangaroo.jooc.model.NamedModel
equals, getName, hashCode, setName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.jangaroo.jooc.model.ActionScriptModel
visit
-
-
-
-
Method Detail
-
getAnnotations
public List<AnnotationModel> getAnnotations()
- Specified by:
getAnnotationsin interfaceAnnotatedModel
-
getAnnotations
public List<AnnotationModel> getAnnotations(String name)
- Specified by:
getAnnotationsin interfaceAnnotatedModel
-
setAnnotations
public void setAnnotations(List<AnnotationModel> annotations)
- Specified by:
setAnnotationsin interfaceAnnotatedModel
-
addAnnotation
public void addAnnotation(AnnotationModel annotation)
- Specified by:
addAnnotationin interfaceAnnotatedModel
-
-