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::EClass) | Sequence{firstEClass, secondEClass} |
Returns the EClass of the specified EObject
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
Returns the containment feature of the specified EObject
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 the contents of the specified EObject instance.
Expression | Result |
---|---|
anEPackage.eContents() | Sequence{firstEClass, secondEClass, firstDataType} |
Handles calls to the operation "eGet". This will fetch the value of the feature named "featureName" on "source"
Returns the set containing the inverse references.
Returns the elements of the given type from the set of the inverse references of the receiver.
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.