|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Annotatable
A representation of the model object 'Annotatable'. The Annotatable abstract class allows subclasses to be annotated by arbitrary information. An Annotatable has a list of attached Annotation objects and defines convenience functions to search annotations with a specific name.
The following features are supported:
AnnotationsPackage.getAnnotatable()
abstract | = | true |
Method Summary | |
---|---|
EList<Annotation> |
getAllAnnotations(String name)
Search all annotations with the given name. |
Annotation |
getAnnotation(String name)
Search an annotation with the given name. |
EList<Annotation> |
getAnnotations()
Returns the value of the 'Annotations' containment reference list. |
void |
removeAllAnnotations(String name)
Remove all annotations with the given name. |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
EList<Annotation> getAnnotations()
Annotation
.
If the meaning of the 'Annotations' containment reference list isn't clear, there really should be more of a description here...
AnnotationsPackage.getAnnotatable_Annotations()
containment | = | true |
Annotation getAnnotation(String name)
name
- the name of the annotation, does not need to be uniquerequired | = | true |
EList<Annotation> getAllAnnotations(String name)
name
- the name of the annotations, does not need to be uniquerequired | = | true |
many | = | false |
void removeAllAnnotations(String name)
name
- name of the annotations to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |