ix.icore
Class AbstractAnnotatedObject
java.lang.Object
ix.icore.AbstractAnnotatedObject
- All Implemented Interfaces:
- Annotated, java.io.Serializable
- Direct Known Subclasses:
- AbstractIXObject, ChatMessage, ContextAnnotatedObject, GenericConstraint, IPC.BasicInputMessage, MessageWrapper, UIDomain, UIGrammar, UIObjectClass
public abstract class AbstractAnnotatedObject
- extends java.lang.Object
- implements Annotated, java.io.Serializable
Provides an implementation of the Annotated
interface
plus support for AnnotationListener
s.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotations
protected Annotations annotations
annotationListeners
protected java.util.List annotationListeners
AbstractAnnotatedObject
public AbstractAnnotatedObject()
annMap
protected java.util.Map annMap()
makeAnnMap
protected void makeAnnMap()
getAnnotations
public Annotations getAnnotations()
- Specified by:
getAnnotations
in interface Annotated
setAnnotations
public void setAnnotations(Annotations annotations)
- Specified by:
setAnnotations
in interface Annotated
getAnnotation
public java.lang.Object getAnnotation(java.lang.Object key)
- Specified by:
getAnnotation
in interface Annotated
setAnnotation
public void setAnnotation(java.lang.Object key,
java.lang.Object value)
- Specified by:
setAnnotation
in interface Annotated
removeAnnotation
public void removeAnnotation(java.lang.Object key)
- Specified by:
removeAnnotation
in interface Annotated
clearAnnotations
public void clearAnnotations()
- Specified by:
clearAnnotations
in interface Annotated
takeAnnotations
public void takeAnnotations(java.util.Map map)
- Calls
setAnnotation(Object, Object)
on all
key-value pairs in the map.
- Specified by:
takeAnnotations
in interface Annotated
getComments
public java.lang.String getComments()
setComments
public void setComments(java.lang.String comments)
addAnnotationListener
public void addAnnotationListener(AnnotationListener listener)
- Specified by:
addAnnotationListener
in interface Annotated
fireSetAnnotation
public void fireSetAnnotation(java.lang.Object key,
java.lang.Object value)
- Specified by:
fireSetAnnotation
in interface Annotated