public abstract class ConnectionImpl extends StructuralFeatureImpl implements Connection
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
copyright
Modifier and Type | Method and Description |
---|---|
Connection |
basicGetRefined() |
RefinableElement |
basicGetRefinedElement() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetDestination(AbstractConnectionEnd newDestination,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetSource(AbstractConnectionEnd newSource,
org.eclipse.emf.common.notify.NotificationChain msgs) |
AbstractConnectionEnd |
createDestination(org.eclipse.emf.ecore.EClass eClass) |
AbstractConnectionEnd |
createSource(org.eclipse.emf.ecore.EClass eClass) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
ConnectionEnd |
getAllDestination()
get destination
in case of a refined connection get it from the connection being refined
|
Context |
getAllDestinationContext()
get destination context
in case of a refined connection get it from the connection being refined
|
NamedElement |
getAllDstContextComponent()
get destination context component, i.e., the subcomponent or component implementation.
|
org.eclipse.emf.common.util.EList<Mode> |
getAllInModes() |
org.eclipse.emf.common.util.EList<ModeTransition> |
getAllInModeTransitions() |
ConnectionEnd |
getAllSource()
get source
in case of a refined connection get it from the connection being refine
|
Context |
getAllSourceContext()
get source context
in case of a refined connection get it from the connection being refined
|
NamedElement |
getAllSrcContextComponent()
get source context component, i.e., the subcomponent or component implementation.
|
AbstractConnectionEnd |
getDestination() |
org.eclipse.emf.common.util.EList<Classifier> |
getFeaturingClassifiers() |
org.eclipse.emf.common.util.EList<ModeFeature> |
getInModeOrTransitions() |
org.eclipse.emf.common.util.EList<Mode> |
getInModes() |
org.eclipse.emf.common.util.EList<ModeTransition> |
getInModeTransitions() |
ConnectionKind |
getKind() |
void |
getPropertyValueInternal(Property pn,
PropertyAcc pas,
boolean fromInstanceSlaveCall)
Helper routine for computing the value of the property.
|
Connection |
getRefined() |
RefinableElement |
getRefinedElement() |
Connection |
getRootConnection() |
AbstractConnectionEnd |
getSource() |
boolean |
isBidirectional() |
boolean |
isSetInModes() |
boolean |
isSetRefinedElement() |
void |
setBidirectional(boolean newBidirectional) |
void |
setDestination(AbstractConnectionEnd newDestination) |
void |
setKind(ConnectionKind newKind) |
void |
setRefined(Connection newRefined) |
void |
setSource(AbstractConnectionEnd newSource) |
java.lang.String |
toString() |
basicGetRefinementContext, getName, getRefinementContext
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, isSetOwnedElements, mustBeOwned, not_own_self
getAdapter, getLocationReference, setLocationReference, setLocationReference
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRefinementContext
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueList, getPropertyValues, getQualifiedName, getSimplePropertyValue, has_no_qualified_name, has_qualified_name, hasName, isDistinguishableFrom, qualifiedName, removePropertyAssociations, removePropertyAssociations, separator, setName, setPropertyValue, setPropertyValue, setPropertyValue
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
getLocationReference, setLocationReference, setLocationReference
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public org.eclipse.emf.common.util.EList<Mode> getInModes()
getInModes
in interface ModalElement
Aadl2Package.getModalElement_InMode()
public boolean isSetInModes()
public org.eclipse.emf.common.util.EList<ModeFeature> getInModeOrTransitions()
getInModeOrTransitions
in interface ModalPath
Aadl2Package.getModalPath_InModeOrTransition()
public RefinableElement getRefinedElement()
getRefinedElement
in interface RefinableElement
getRefinedElement
in class RefinableElementImpl
Aadl2Package.getRefinableElement_RefinedElement()
public RefinableElement basicGetRefinedElement()
basicGetRefinedElement
in class RefinableElementImpl
public boolean isSetRefinedElement()
isSetRefinedElement
in class RefinableElementImpl
public org.eclipse.emf.common.util.EList<Classifier> getFeaturingClassifiers()
getFeaturingClassifiers
in interface ClassifierFeature
getFeaturingClassifiers
in class StructuralFeatureImpl
Aadl2Package.getClassifierFeature_FeaturingClassifier()
,
Classifier.getClassifierFeatures()
public ConnectionKind getKind()
public void setKind(ConnectionKind newKind)
public AbstractConnectionEnd getDestination()
getDestination
in interface Connection
Connection.setDestination(AbstractConnectionEnd)
,
Aadl2Package.getConnection_Destination()
public org.eclipse.emf.common.notify.NotificationChain basicSetDestination(AbstractConnectionEnd newDestination, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setDestination(AbstractConnectionEnd newDestination)
setDestination
in interface Connection
newDestination
- the new value of the 'Destination' containment reference.Connection.getDestination()
public AbstractConnectionEnd createDestination(org.eclipse.emf.ecore.EClass eClass)
createDestination
in interface Connection
eClass
- The Ecore class of the AbstractConnectionEnd
to create.AbstractConnectionEnd
.Connection.getDestination()
public AbstractConnectionEnd getSource()
getSource
in interface Connection
Connection.setSource(AbstractConnectionEnd)
,
Aadl2Package.getConnection_Source()
public org.eclipse.emf.common.notify.NotificationChain basicSetSource(AbstractConnectionEnd newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSource(AbstractConnectionEnd newSource)
setSource
in interface Connection
newSource
- the new value of the 'Source' containment reference.Connection.getSource()
public AbstractConnectionEnd createSource(org.eclipse.emf.ecore.EClass eClass)
createSource
in interface Connection
eClass
- The Ecore class of the AbstractConnectionEnd
to create.AbstractConnectionEnd
.Connection.getSource()
public boolean isBidirectional()
isBidirectional
in interface Connection
Connection.setBidirectional(boolean)
,
Aadl2Package.getConnection_Bidirectional()
public void setBidirectional(boolean newBidirectional)
setBidirectional
in interface Connection
newBidirectional
- the new value of the 'Bidirectional' attribute.Connection.isBidirectional()
public Connection getRefined()
getRefined
in interface Connection
Connection.setRefined(Connection)
,
Aadl2Package.getConnection_Refined()
public Connection basicGetRefined()
public void setRefined(Connection newRefined)
setRefined
in interface Connection
newRefined
- the new value of the 'Refined' reference.Connection.getRefined()
public org.eclipse.emf.common.util.EList<Mode> getAllInModes()
getAllInModes
in interface ModalElement
public org.eclipse.emf.common.util.EList<ModeTransition> getInModeTransitions()
getInModeTransitions
in interface ModalPath
public org.eclipse.emf.common.util.EList<ModeTransition> getAllInModeTransitions()
getAllInModeTransitions
in interface ModalPath
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class NamedElementImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class StructuralFeatureImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NamedElementImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class StructuralFeatureImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
eBaseStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID
in class StructuralFeatureImpl
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID
in interface org.eclipse.emf.ecore.InternalEObject
eDerivedStructuralFeatureID
in class StructuralFeatureImpl
public java.lang.String toString()
toString
in class NamedElementImpl
public ConnectionEnd getAllSource()
getAllSource
in interface Connection
public Connection getRootConnection()
public Context getAllDestinationContext()
getAllDestinationContext
in interface Connection
public ConnectionEnd getAllDestination()
getAllDestination
in interface Connection
public Context getAllSourceContext()
getAllSourceContext
in interface Connection
public final void getPropertyValueInternal(Property pn, PropertyAcc pas, boolean fromInstanceSlaveCall) throws InvalidModelException
NamedElement
NamedElementImpl
, but because of the way that
EMF deals with multiple inheritance, not all implementations of
NamedElement actually extend from NamedElementImpl.
In particular, this method does not create a new property value accumulator—it uses the one provided—and it does not look up the default value of the property.
getPropertyValueInternal
in interface NamedElement
getPropertyValueInternal
in class NamedElementImpl
pn
- The property whose value is to be retrieved. It must be
the case that this property is accepted by the property
holder, i.e., NamedElement.acceptsProperty(Property)
must return
true
.fromInstanceSlaveCall
- true
if the call is performing
a lookup on the declarative model on behalf of an instance
model object. When true
the lookup algorithm
ignores the "inherits" attribute on property definitions when
it would mean that the lookup should defer to the containing
component implementation. Also disables the interpretation of
contained property associations in the declarative model
because they have already been applied to the instance model
at this point. The expectation is that the instance model
lookup itself is not ignoring the inherits attribute, and thus
any inherited property values will still be found correctly.
Interpreting the inherits attribute during the declarative
model search is redundant and causes problems later on. This
flag does not affect lookup for feature declarations because
in that case the inherit flag defers to the component type or
feature group type.InvalidModelException
- Thrown if the property value cannot be
retrieved because the model is incomplete or otherwise
invalid.public NamedElement getAllSrcContextComponent()
Connection
getAllSrcContextComponent
in interface Connection
public NamedElement getAllDstContextComponent()
Connection
getAllDstContextComponent
in interface Connection