org.eclipse.emf.ecore.xcore
Interface XModelElement

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
XAnnotation, XAnnotationDirective, XAttribute, XClass, XClassifier, XDataType, XEnum, XEnumLiteral, XImportDirective, XMember, XNamedElement, XOperation, XPackage, XParameter, XReference, XStructuralFeature, XTypedElement, XTypeParameter
All Known Implementing Classes:
XAnnotationDirectiveImpl, XAnnotationImpl, XAttributeImpl, XClassifierImpl, XClassImpl, XDataTypeImpl, XEnumImpl, XEnumLiteralImpl, XImportDirectiveImpl, XMemberImpl, XModelElementImpl, XNamedElementImpl, XOperationImpl, XPackageImpl, XParameterImpl, XReferenceImpl, XStructuralFeatureImpl, XTypedElementImpl, XTypeParameterImpl

public interface XModelElement
extends EObject

A representation of the model object 'XModel Element'.

The following features are supported:

See Also:
XcorePackage.getXModelElement()

Method Summary
 XAnnotation getAnnotation(java.lang.String sourceURI)
           
 EList<XAnnotation> getAnnotations()
          Returns the value of the 'Annotations' containment reference list.
 
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<XAnnotation> getAnnotations()
Returns the value of the 'Annotations' containment reference list. The list contents are of type XAnnotation. It is bidirectional and its opposite is 'Model Element'.

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:
XcorePackage.getXModelElement_Annotations(), XAnnotation.getModelElement()

getAnnotation

XAnnotation getAnnotation(java.lang.String sourceURI)

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.