Returns all instances of the EClass
Expression | Result |
---|---|
anEClass.allInstances() | Sequence{firstEObject,secondEObject...} |
Returns all instances of any EClass from the OrderedSet
Expression | Result |
---|---|
anEClass.allInstances({ecore::EPackage | ecore::EClass}) | Sequence{ePackage, eClass, ...} |
Returns a sequence of the EObjects recursively contained in the specified root eObject.
Expression | Result |
---|---|
anEPackage.eAllContents() | Sequence{firstEClass, firstEAttribute, secondEClass, firstDataType} |
Returns a sequence of the EObjects recursively contained in the specified root eObject and that are instances of the specified EClass
Expression | Result |
---|---|
anEPackage.eAllContents({ecore::EPackage | ecore::EClass}) | Sequence{ePackage, eClass, ...} |
Returns a sequence of the EObjects recursively contained in the specified root eObject and that are instances of the specified EClass
Expression | Result |
---|---|
anEPackage.eAllContents(ecore::EClass) | Sequence{firstEClass, secondEClass} |
Returns the EClass of the specified EObject
Expression | Result |
---|---|
anEObject.eClass() | anEClass |
Returns the first container of the specified EObject that matches the given type
Expression | Result |
---|---|
firstEAttribute.eContainer(ecore::EPackage) | anEPackage |
Returns the container of the specified EObject
Expression | Result |
---|---|
firstEAttribute.eContainer() | firstEClass |
Returns self or the first container of the specified EObject that matches the given type
Expression | Result |
---|---|
firstEAttribute.eContainerOrSelf(ecore::EAttribute) | firstEAttribute |
Returns the containing feature of the specified EObject
Expression | Result |
---|---|
anEObject.eContainingFeature() | anEStructuralFeature |
Returns the containment feature of the specified EObject
Expression | Result |
---|---|
anEObject.eContainmentFeature() | anEReference |
Returns the contents of the specified EObject instance.
Expression | Result |
---|---|
anEPackage.eContents() | Sequence{firstEClass, secondEClass, firstDataType} |
Returns a sequence made of the instances of the specified type in the contents of the specified eObject.
Expression | Result |
---|---|
anEPackage.eContents(ecore::EDataType) | Sequence{firstDataType} |
Returns a sequence made of the instances of the specified types in the contents of the specified eObject.
Expression | Result |
---|---|
anEPackage.eContents({ecore::EPackage | ecore::EClass}) | Sequence{SubEPackage, eClass, ... } |
Returns the list of all EObjects cross-referenced from the receiver.
Expression | Result |
---|---|
anEObject.eCrossReferences() | Sequence{firstReferencedEObject, secondReferencedEObject...} |
Handles calls to the operation "eGet". This will fetch the value of the given feature on "source"; the value is optionally resolved before it is returned.
Expression | Result |
---|---|
anEObject.eGet(aFeature, true) | aValue |
Handles calls to the operation "eGet". This will fetch the value of the feature named "featureName" on "source"
Expression | Result |
---|---|
anEObject.eGet(aFeatureName) | aValue |
Handles calls to the operation "eGet". This will fetch the value of the given feature on "source"
Expression | Result |
---|---|
anEObject.eGet(aFeature) | aValue |
Returns the set containing the inverse references.
Expression | Result |
---|---|
anEObject.eInverse() | OrderedSet{firstReferencingEObject, secondReferencingEObject...} |
Returns the elements of the given type from the set of the inverse references of the receiver.
Expression | Result |
---|---|
anEObject.eInverse(anEClass) | OrderedSet{firstReferencingEObject, secondReferencingEObject...} |
Returns the elements from the set of the inverse references of the receiver that are referencing the receiver using a feature with the given name.
Expression | Result |
---|---|
anEObject.eInverse(aFeatureName) | OrderedSet{firstReferencingEObject, secondReferencingEObject...} |