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

All Superinterfaces:
Annotatable, Annotation, EObject, NamedObject, Notifier
All Known Implementing Classes:
ContainmentAnnotationImpl

public interface ContainmentAnnotation
extends Annotation

A representation of the model object 'Containment Annotation'. A ContainmentAnnotation carries an arbitrary EObject. By this any EObject can be attached as Annotation to an Annotatable. The EObject will be persistently stored together with the Annotatable as its child in the Annotation. Hence it also gets serialized into a file when the model gets saved. Therefore here an EObject is used and not any Object, because an EObject can be serialized with EMF.

The following features are supported:

See Also:
AnnotationsPackage.getContainmentAnnotation()
Rating red
Generated:
This code was automatically generated.
Model element

Method Summary
 EObject getObject()
          Returns the value of the 'Object' containment reference.
 void setObject(EObject value)
          Sets the value of the 'Object' containment reference.
 
Methods inherited from interface de.cau.cs.kieler.core.annotations.NamedObject
getName, setName
 
Methods inherited from interface de.cau.cs.kieler.core.annotations.Annotatable
getAllAnnotations, getAnnotation, getAnnotations, removeAllAnnotations
 
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

getObject

EObject getObject()
Returns the value of the 'Object' containment reference.

If the meaning of the 'Object' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Object' containment reference.
See Also:
setObject(EObject), AnnotationsPackage.getContainmentAnnotation_Object()
Generated:
This code was automatically generated.
Model element:
containment=true
required=true

setObject

void setObject(EObject value)
Sets the value of the 'Object' containment reference.

Parameters:
value - the new value of the 'Object' containment reference.
See Also:
getObject()
Generated:
This code was automatically generated.