|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemInstance
A representation of the model object ' System Instance'.
The following features are supported:
InstancePackage.getSystemInstance()
Field Summary |
---|
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject |
---|
copyright |
Method Summary | |
---|---|
void |
clearCurrentSystemOperationMode()
Clear the mode states for a given SystemInstance. |
SystemOperationMode |
createSystemOperationMode()
Creates a new SystemOperationMode and appends it to the 'System Operation Mode' containment reference list |
ConnectionInstance |
findConnectionInstance(FeatureInstance srcFI,
FeatureInstance dstFI)
find the Connection instance for these feature instances. |
java.util.List<ConnectionInstance> |
findConnectionInstances(Connection first,
Connection second)
Find all connection instances that pass through two declarative connections in the same order as given in the parameters. |
SystemOperationMode |
getCurrentSystemOperationMode()
Get the current system operation mode of the system, or null
if it has not been set. |
SystemOperationMode |
getInitialSystemOperationMode()
|
SystemImplementation |
getSystemImplementation()
Returns the value of the 'System Implementation' reference |
org.eclipse.emf.common.util.EList<SystemOperationMode> |
getSystemOperationModes()
Returns the value of the 'System Operation Mode' containment reference list. |
java.util.List<SystemOperationMode> |
getSystemOperationModesFor(java.util.List<ModeInstance> mis)
get all SOMs that contain the ModeInstance list |
java.util.List<SystemOperationMode> |
getSystemOperationModesFor(ModeInstance mi)
Get the system operation modes containing the given mode instance. |
void |
setCurrentSystemOperationMode(SystemOperationMode som)
Sets the current modes of the component instances contained in this system instance to match the state of the specified system operation mode. |
void |
setSystemImplementation(SystemImplementation value)
Sets the value of the ' System Implementation ' reference |
Methods inherited from interface edu.cmu.sei.aadl.aadl2.instance.ConnectionInstanceEnd |
---|
getDstConnectionInstances, getSrcConnectionInstances |
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.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
org.eclipse.emf.common.util.EList<SystemOperationMode> getSystemOperationModes()
SystemOperationMode
.
If the meaning of the 'System Operation Mode' containment reference list isn't clear, there really should be more of a description here...
InstancePackage.getSystemInstance_SystemOperationMode()
SystemOperationMode createSystemOperationMode()
SystemOperationMode
and appends it to the 'System Operation Mode' containment reference list.
SystemOperationMode
.getSystemOperationModes()
SystemImplementation getSystemImplementation()
If the meaning of the 'System Implementation' reference isn't clear, there really should be more of a description here...
setSystemImplementation(SystemImplementation)
,
InstancePackage.getSystemInstance_SystemImplementation()
void setSystemImplementation(SystemImplementation value)
System Implementation
' reference.
value
- the new value of the 'System Implementation' reference.getSystemImplementation()
java.util.List<SystemOperationMode> getSystemOperationModesFor(java.util.List<ModeInstance> mis)
mis
- List of mode instances
void setCurrentSystemOperationMode(SystemOperationMode som)
null
, then the "current mode" state of the component
instances in the model match that state.
som
- SystemOperationMode whose values are used to set the
currentMode in the instance modelclearCurrentSystemOperationMode()
,
getCurrentSystemOperationMode()
SystemOperationMode getCurrentSystemOperationMode()
null
if it has not been set.
void clearCurrentSystemOperationMode()
null
.
ConnectionInstance findConnectionInstance(FeatureInstance srcFI, FeatureInstance dstFI)
This method is sensitive to the current system operation mode
.
srcFI
- source feature instancedstFI
- destination feature instance
null
if no such connection exists in the current
som.java.util.List<ConnectionInstance> findConnectionInstances(Connection first, Connection second)
This method is sensitive to the current system operation mode
.
first
- the first connection that should occur in the connection instancesecond
- the connection that should occur after the first in the connection instance
java.util.List<SystemOperationMode> getSystemOperationModesFor(ModeInstance mi)
mi
- The mode instance to look for
SystemOperationMode getInitialSystemOperationMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |