de.cau.cs.kieler.core.annotations
Interface Annotatable
- All Superinterfaces:
- EObject, Notifier
- All Known Subinterfaces:
- Action, Annotation, BooleanAnnotation, ContainmentAnnotation, Entity, FloatAnnotation, ImportAnnotation, IntAnnotation, Link, NamedObject, Port, ReferenceAnnotation, Region, Relation, Scope, Signal, State, StringAnnotation, Transition, ValuedObject, Variable
- All Known Implementing Classes:
- ActionImpl, AnnotatableImpl, AnnotationImpl, BooleanAnnotationImpl, ContainmentAnnotationImpl, EntityImpl, FloatAnnotationImpl, ImportAnnotationImpl, IntAnnotationImpl, LinkImpl, NamedObjectImpl, PortImpl, ReferenceAnnotationImpl, RegionImpl, RelationImpl, ScopeImpl, SignalImpl, StateImpl, StringAnnotationImpl, TransitionImpl, ValuedObjectImpl, VariableImpl
public interface Annotatable
- extends EObject
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:
- See Also:
AnnotationsPackage.getAnnotatable()
- Rating

- Generated:
- This code was automatically generated.
- Model element:
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
getAnnotations
EList<Annotation> getAnnotations()
- Returns the value of the 'Annotations' containment reference list.
The list contents are of type
Annotation
.
If the meaning of the 'Annotations' containment reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
AnnotationsPackage.getAnnotatable_Annotations()
- Generated:
- This code was automatically generated.
- Model element:
getAnnotation
Annotation getAnnotation(String name)
-
Search an Annotation object for this Annotatable with the given String name.
- Parameters:
name
- the name of the Annotation, does not need to be unique- Generated:
- This code was automatically generated.
- Model element:
getAllAnnotations
EList<Annotation> getAllAnnotations(String name)
-
Search all Annotation objects for this Annotatable with the given String name.
- Parameters:
name
- the name of the Annotations, does not need to be unique- Generated:
- This code was automatically generated.
- Model element: