de.cau.cs.kieler.core.annotations
Interface Annotatable

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
Action, Annotation, BooleanAnnotation, ContainmentAnnotation, Entity, FloatAnnotation, ImportAnnotation, IntAnnotation, ISignal, IVariable, Link, NamedObject, Port, ReferenceAnnotation, Region, Relation, Scope, Signal, State, StringAnnotation, Transition, TypedStringAnnotation, ValuedObject, Variable
All Known Implementing Classes:
ActionImpl, AnnotatableImpl, AnnotationImpl, BooleanAnnotationImpl, ContainmentAnnotationImpl, EntityImpl, FloatAnnotationImpl, ImportAnnotationImpl, IntAnnotationImpl, ISignalImpl, IVariableImpl, LinkImpl, NamedObjectImpl, PortImpl, ReferenceAnnotationImpl, RegionImpl, RelationImpl, ScopeImpl, SignalImpl, StateImpl, StringAnnotationImpl, TransitionImpl, TypedStringAnnotationImpl, 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 red
Generated:
This code was automatically generated.
Model element:
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

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:
containment=true

getAnnotation

Annotation getAnnotation(String name)
Search an annotation with the given name.

Parameters:
name - the name of the annotation, does not need to be unique
Generated:
This code was automatically generated.
Model element:
required=true

getAllAnnotations

EList<Annotation> getAllAnnotations(String name)
Search all annotations with the given name.

Parameters:
name - the name of the annotations, does not need to be unique
Generated:
This code was automatically generated.
Model element:
required=true
many=false

removeAllAnnotations

void removeAllAnnotations(String name)
Remove all annotations with the given name.

Parameters:
name - name of the annotations to remove
Generated:
This code was automatically generated.
Model element