public interface ConnectionInstance extends FlowElementInstance
The following features are supported:
Modifier and Type | Method and Description |
---|---|
ConnectionReference |
createConnectionReference()
Creates a new
ConnectionReference and appends it to the 'Connection Reference' containment reference list. |
java.util.List<ModalPropertyValue> |
getConnectionPropertyValues(Property property)
Get the values associated with the given property for each connection
declaration that defines this semantic connection.
|
org.eclipse.emf.common.util.EList<ConnectionReference> |
getConnectionReferences()
Returns the value of the 'Connection Reference' containment reference list.
|
ConnectionInstanceEnd |
getDestination()
Returns the value of the 'Destination' reference.
|
org.eclipse.emf.common.util.EList<ModeTransitionInstance> |
getInModeTransitions()
Returns the value of the 'In Mode Transition' reference list.
|
ConnectionInstanceEnd |
getInstantiatedEndPoint(ComponentInstance ctxt,
ConnectionEnd connEndPoint,
Context connCtxt) |
org.eclipse.emf.common.util.EList<SystemOperationMode> |
getInSystemOperationModes()
Returns the value of the 'In System Operation Mode' reference list.
|
ConnectionKind |
getKind()
Returns the value of the 'Kind' attribute.
|
ConnectionInstanceEnd |
getSource()
Returns the value of the 'Source' reference.
|
java.util.List<InstanceObject> |
getThroughFeatureInstances()
Get the feature instances that this semantic connection passes through
including the ultimate start and end points.
|
boolean |
isComplete()
Returns the value of the 'Complete' attribute.
|
void |
setComplete(boolean value)
Sets the value of the '
Complete ' attribute. |
void |
setDestination(ConnectionInstanceEnd value)
Sets the value of the '
Destination ' reference. |
void |
setKind(ConnectionKind value)
Sets the value of the '
Kind ' attribute. |
void |
setSource(ConnectionInstanceEnd value)
Sets the value of the '
Source ' reference. |
allEnclosingConnectionInstances, findInstanceObjects, getAllEnclosingConnectionInstances, getComponentInstance, getComponentInstancePath, getContainingComponentInstance, getExistsInModes, getInstanceObjectPath, getInstantiatedObjects, getPathName, getSystemInstance, isActive, matchesIndex
acceptsProperty, allNamespaces, checkPropertyAssociation, createOwnedPropertyAssociation, getName, getNamespace, getNonModalPropertyValue, getOwnedPropertyAssociations, getPropertyValue, getPropertyValueInternal, 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
org.eclipse.emf.common.util.EList<SystemOperationMode> getInSystemOperationModes()
SystemOperationMode
.
If the meaning of the 'In System Operation Mode' reference list isn't clear, there really should be more of a description here...
InstancePackage.getConnectionInstance_InSystemOperationMode()
org.eclipse.emf.common.util.EList<ModeTransitionInstance> getInModeTransitions()
ModeTransitionInstance
.
If the meaning of the 'In Mode Transitions' reference list isn't clear, there really should be more of a description here...
InstancePackage.getConnectionInstance_InModeTransition()
boolean isComplete()
If the meaning of the 'Complete' attribute isn't clear, there really should be more of a description here...
setComplete(boolean)
,
InstancePackage.getConnectionInstance_Complete()
void setComplete(boolean value)
Complete
' attribute.
value
- the new value of the 'Complete' attribute.isComplete()
ConnectionKind getKind()
ConnectionKind
.
If the meaning of the 'Kind' attribute isn't clear, there really should be more of a description here...
ConnectionKind
,
setKind(ConnectionKind)
,
InstancePackage.getConnectionInstance_Kind()
void setKind(ConnectionKind value)
Kind
' attribute.
value
- the new value of the 'Kind' attribute.ConnectionKind
,
getKind()
ConnectionInstanceEnd getDestination()
Dst Connection Instance
'.
If the meaning of the 'Destination' reference isn't clear, there really should be more of a description here...
setDestination(ConnectionInstanceEnd)
,
InstancePackage.getConnectionInstance_Destination()
,
ConnectionInstanceEnd.getDstConnectionInstances()
void setDestination(ConnectionInstanceEnd value)
Destination
' reference.
value
- the new value of the 'Destination' reference.getDestination()
org.eclipse.emf.common.util.EList<ConnectionReference> getConnectionReferences()
ConnectionReference
.
If the meaning of the 'Connection Reference' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getConnectionInstance_ConnectionReference()
ConnectionReference createConnectionReference()
ConnectionReference
and appends it to the 'Connection Reference' containment reference list.
ConnectionReference
.getConnectionReferences()
ConnectionInstanceEnd getSource()
Src Connection Instance
'.
If the meaning of the 'Source' reference isn't clear, there really should be more of a description here...
setSource(ConnectionInstanceEnd)
,
InstancePackage.getConnectionInstance_Source()
,
ConnectionInstanceEnd.getSrcConnectionInstances()
void setSource(ConnectionInstanceEnd value)
Source
' reference.
value
- the new value of the 'Source' reference.getSource()
java.util.List<ModalPropertyValue> getConnectionPropertyValues(Property property) throws InvalidModelException
property
- The property to look upAadlModalPropertyValue
objects, one for each connection declaration. The objects are in
the same order as the connection declaration objects returned by
#getConnections()
. Furthermore, the values are in terms
of the connection instance object, that is, modal dependencies
are given in terms of system operation modes, and reference
values have been resolved to point to instance objects.InvalidModelException
- Thrown if the property values cannot be
retrieved because the model is incomplete.java.lang.IllegalArgumentException
- Thrown if one of the underlying connection declarations
does not accept the property.java.util.List<InstanceObject> getThroughFeatureInstances()
InstanceObject
s. The first item in the
list will be a ComponentInstance
if the connection is an
access connection. In this case, the component is the data or bus
component that is being accessed through the connection. In all
other cases the first element will be a FeatureInstance
.
All subsequent elements in the list are always FeatureInstance
objects.ConnectionInstanceEnd getInstantiatedEndPoint(ComponentInstance ctxt, ConnectionEnd connEndPoint, Context connCtxt)