net.jangaroo.jooc.model
Class AbstractAnnotatedModel

java.lang.Object
  extended by net.jangaroo.jooc.model.NamedModel
      extended by net.jangaroo.jooc.model.DocumentedModel
          extended by 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
protected AbstractAnnotatedModel()
           
protected AbstractAnnotatedModel(String name)
           
protected AbstractAnnotatedModel(String name, String asdoc)
           
 
Method Summary
 void addAnnotation(AnnotationModel annotation)
           
 List<AnnotationModel> getAnnotations()
           
 void setAnnotations(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
 

Constructor Detail

AbstractAnnotatedModel

protected AbstractAnnotatedModel()

AbstractAnnotatedModel

protected AbstractAnnotatedModel(String name)

AbstractAnnotatedModel

protected AbstractAnnotatedModel(String name,
                                 String asdoc)
Method Detail

getAnnotations

public List<AnnotationModel> getAnnotations()
Specified by:
getAnnotations in interface AnnotatedModel

setAnnotations

public void setAnnotations(List<AnnotationModel> annotations)
Specified by:
setAnnotations in interface AnnotatedModel

addAnnotation

public void addAnnotation(AnnotationModel annotation)
Specified by:
addAnnotation in interface AnnotatedModel


Copyright © 2002–2014 CoreMedia AG. All rights reserved.