public interface Element extends AObject
The following features are supported:
Aadl2Package.getElement()
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<Element> |
allOwnedElements()
The query allOwnedElements() gives all of the direct and indirect owned elements of an element.
|
Comment |
createOwnedComment()
Creates a new
Comment and appends it to the 'Owned Comment' containment reference list. |
org.eclipse.emf.common.util.EList<Element> |
getChildren()
Get the children of an Element
This will be the content.
|
Classifier |
getContainingClassifier()
Get the enclosing component type or implementation or Feature Group Type.
|
ComponentImplementation |
getContainingComponentImpl()
Get the enclosing component implementation.
|
NamedElement |
getElementRoot()
Find the root container of this element
|
org.eclipse.emf.common.util.EList<Comment> |
getOwnedComments()
Returns the value of the 'Owned Comment' containment reference list.
|
org.eclipse.emf.common.util.EList<Element> |
getOwnedElements()
Returns the value of the 'Owned Element' reference list.
|
Element |
getOwner() |
boolean |
has_owner(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Elements that must be owned must have an owner.
|
boolean |
mustBeOwned()
The query mustBeOwned() indicates whether elements of this type must have an owner.
|
boolean |
not_own_self(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An element may not directly or indirectly own itself.
|
getLocationReference, setLocationReference, setLocationReference
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
org.eclipse.emf.common.util.EList<Element> getOwnedElements()
Element
.
This feature is a derived union.
The Elements owned by this element.
Aadl2Package.getElement_OwnedElement()
org.eclipse.emf.common.util.EList<Comment> getOwnedComments()
Comment
.
This feature subsets the following features:
The Comments owned by this element.Aadl2Package.getElement_OwnedComment()
Comment createOwnedComment()
Comment
and appends it to the 'Owned Comment' containment reference list.
Comment
.getOwnedComments()
boolean not_own_self(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
boolean has_owner(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
Element getOwner()
org.eclipse.emf.common.util.EList<Element> allOwnedElements()
boolean mustBeOwned()
NamedElement getElementRoot()
org.eclipse.emf.common.util.EList<Element> getChildren()
Classifier getContainingClassifier()
ComponentImplementation getContainingComponentImpl()