public interface SystemInstance extends ComponentInstance
The following features are supported:
InstancePackage.getSystemInstance()
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<ConnectionInstance> |
allConnectionInstances()
Iterates over all connection instances in the instance model.
|
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.
|
org.eclipse.emf.common.util.EList<ConnectionInstance> |
getAllConnectionInstances()
Get all connection instances in the instance model.
|
SystemImplementation |
getComponentClassifier() |
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. |
createComponentInstance, createComponentInstance, createConnectionInstance, createEndToEndFlow, createFeatureInstance, createFlowSpecification, createModeInstance, createModeTransitionInstance, findConnectionInstance, findEndToEndFlowInstance, findFeatureInstance, findFlowSpecInstance, findModeInstance, findModeTransitionInstance, findSubcomponentInstance, getAllComponentInstances, getCategory, getComponentInstances, getConnectionInstances, getEndToEndFlows, getFeatureInstances, getFlowSpecifications, getIndices, getInModes, getModeInstances, getModeTransitionInstances, getSubcomponent, setCategory, setCurrentMode, setSubcomponent
getDstConnectionInstances, getSrcConnectionInstances
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
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()
SystemImplementation getComponentClassifier()
getComponentClassifier
in interface ComponentInstance
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 instancesvoid 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 instancenull
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 instancejava.util.List<SystemOperationMode> getSystemOperationModesFor(ModeInstance mi)
mi
- The mode instance to look forSystemOperationMode getInitialSystemOperationMode()
java.lang.Iterable<ConnectionInstance> allConnectionInstances()
org.eclipse.emf.common.util.EList<ConnectionInstance> getAllConnectionInstances()