|
||||||||||
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 | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
void |
addConnection(Connection value)
Adds to the list the value of the ' Connection ' reference list |
void |
addConnectionContext(ComponentInstance value)
Adds to the list the value of the ' Connection Context ' reference list |
void |
addInModeTransitions(ModeTransitionInstance value)
Adds to the list the value of the ' In Mode Transitions ' reference list |
void |
addInSystemOperationMode(SystemOperationMode value)
Adds to the list the value of the ' In System Operation Mode ' reference list |
ConnectionInstance |
cloneInstance(java.lang.String name,
java.util.List connection,
java.util.List connectionContext,
InstanceObject src,
InstanceObject dst)
Create a new ConnectionInstance of the same type as this one, with the given name, connections, connectionContext, src, and dst. |
boolean |
exists()
Does the connection exist in the current system operation mode of its containing system instance. |
org.eclipse.emf.common.util.EList |
getConnection()
Returns the value of the 'Connection' reference list. |
org.eclipse.emf.common.util.EList |
getConnectionContext()
Returns the value of the 'Connection Context' reference list. |
java.util.List |
getConnectionPropertyValues(PropertyDefinition property)
Get the values associated with the given property for each connection declaration that defines this semantic connection. |
org.eclipse.emf.common.util.EList |
getInModeTransitions()
Returns the value of the 'In Mode Transitions' reference list. |
org.eclipse.emf.common.util.EList |
getInSystemOperationMode()
Returns the value of the 'In System Operation Mode' reference list. |
java.util.List |
getThroughFeatureInstances()
Get the features instances that this semantic connections passes through including the ultimate start and end points. |
InstanceObject |
getXDst()
returns the reference to the destination feature instance |
InstanceObject |
getXSrc()
returns the reference to the source feature instance |
Methods inherited from interface edu.cmu.sei.aadl.model.instance.InstanceObject |
---|
getComponentInstanceList, getComponentInstancePath, getContainingComponentInstance, getInstanceObjectPath, getInstantiatedObjects, getSystemInstance |
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement |
---|
getName, setName |
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject |
---|
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, 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 |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
org.eclipse.emf.common.util.EList getConnection()
Connection
.
If the meaning of the 'Connection' reference list isn't clear, there really should be more of a description here...
InstancePackage.getConnectionInstance_Connection()
void addConnection(Connection value)
Connection
' reference list.
value
- the value to add to 'Connection' reference list.org.eclipse.emf.common.util.EList getInSystemOperationMode()
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()
void addInSystemOperationMode(SystemOperationMode value)
In System Operation Mode
' reference list.
value
- the value to add to 'In System Operation Mode' reference list.org.eclipse.emf.common.util.EList getConnectionContext()
ComponentInstance
.
If the meaning of the 'Connection Context' reference list isn't clear, there really should be more of a description here...
InstancePackage.getConnectionInstance_ConnectionContext()
void addConnectionContext(ComponentInstance value)
Connection Context
' reference list.
value
- the value to add to 'Connection Context' reference list.org.eclipse.emf.common.util.EList 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()
void addInModeTransitions(ModeTransitionInstance value)
In Mode Transitions
' reference list.
value
- the value to add to 'In Mode Transitions' reference list.java.util.List getConnectionPropertyValues(PropertyDefinition property) throws InvalidModelException
property
- The property to look up
ModalPropertyValue
objects, one for each connection declaration. The objects are in
the same order as the connection declaration objects returned by
getConnection()
. 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
retreived because the model is incomplete.
java.lang.IllegalArgumentException
- Thrown if one of the underlying connection declarations
does not accept the property.InstanceObject getXDst()
InstanceObject getXSrc()
java.util.List getThroughFeatureInstances()
InstanceObjects
. The first item in the
list will be a ComponentInstance
if the connection is an
AccessConnectionInstance
. In this case, the component is
the data or bus component that is being accesses through the
connection. In all other cases the first element will be a
FeatureInstance
. All subsequent elements in the list are
always FeatureInstance
objects.ConnectionInstance cloneInstance(java.lang.String name, java.util.List connection, java.util.List connectionContext, InstanceObject src, InstanceObject dst)
boolean exists()
SystemInstance.setCurrentSystemOperationMode(edu.cmu.sei.aadl.model.instance.SystemOperationMode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |