|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionInstance
A representation of the model object 'Connection Instance'.
The following features are supported:
InstancePackage.getConnectionInstance()
Field Summary |
---|
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
copyright |
Method Summary | |
---|---|
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 Transitions' reference list. |
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 |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.instance.InstanceObject |
---|
getComponentInstancePath, getContainingComponentInstance, getExistsInModes, getInstanceObjectPath, getInstantiatedObjects, getSystemInstance, isActive |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element |
---|
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self |
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<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_InModeTransitions()
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 up
AadlModalPropertyValue
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |