|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Element
A representation of the model object 'Element'. An element is a constituent of a model. An element is a constituent of a model. As such, it has the capability of owning other elements.
The following features are supported:
Aadl2Package.getElement()
Field Summary |
---|
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
copyright |
Method Summary | |
---|---|
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. |
Element |
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' containment reference list. |
Element |
getOwner()
Returns the value of the 'Owner' container reference. |
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. |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
getLocationReference, setLocationReference, setLocationReference |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
org.eclipse.emf.common.util.EList<Element> getOwnedElements()
Element
.
It is bidirectional and its opposite is 'Owner
'.
This feature is a derived union.
The Elements owned by this element.
Aadl2Package.getElement_OwnedElement()
,
getOwner()
Element getOwner()
Owned Element
'.
This feature is a derived union.
The Element that owns this element.
Aadl2Package.getElement_Owner()
,
getOwnedElements()
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.
org.eclipse.emf.common.util.EList<Element> allOwnedElements()
boolean mustBeOwned()
Element getElementRoot()
org.eclipse.emf.common.util.EList<Element> getChildren()
Classifier getContainingClassifier()
ComponentImplementation getContainingComponentImpl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |