org.eclipse.emf.ecore
Interface EModelElement
- All Superinterfaces:
- EObject, Notifier
- All Known Subinterfaces:
- EAnnotation, EAttribute, EClass, EClassifier, EcoreFactory, EcorePackage, EDataType, EEnum, EEnumLiteral, EFactory, ENamedElement, EOperation, EPackage, EParameter, EReference, EStructuralFeature, EStructuralFeature.Internal, ETypedElement, GenModelFactory, GenModelPackage, MappingFactory, MappingPackage, TreeFactory, TreePackage
- All Known Implementing Classes:
- EModelElementImpl
- public interface EModelElement
- extends EObject
A representation of the model object 'EModel Element'.
The following features are supported:
- See Also:
EcorePackage.getEModelElement()
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getEAnnotations
public EList getEAnnotations()
- Returns the value of the 'EAnnotations' containment reference list.
The list contents are of type
EAnnotation
.
It is bidirectional and its opposite is 'EModel Element
'.
It represents additional associated information
- Returns:
- the value of the 'EAnnotations' containment reference list.
- See Also:
getEAnnotation(String)
,
EcorePackage.getEModelElement_EAnnotations()
,
EAnnotation.getEModelElement()
getEAnnotation
public EAnnotation getEAnnotation(java.lang.String source)
-
Return the annotation with a matching
source
attribute.
- Returns:
- The annotation with a matching source attribute.
- See Also:
getEAnnotations()
,
EAnnotation.getSource()