|
||||||||||
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 | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
void |
addConnectionInstance(ConnectionInstance value)
Adds to the list the value of the ' Connection Instance ' containment reference list |
void |
addSystemOperationMode(SystemOperationMode value)
Adds to the list the value of the ' System Operation Mode ' containment reference list |
void |
clearCurrentSystemOperationMode()
Clear the mode states for a given SystemInstance. |
ConnectionInstance |
findConnectionInstance(FeatureInstance srcFI,
FeatureInstance dstFI)
find the Connection instance for these feature instances. |
ClassifierReference |
getClassifierReference()
Returns the value of the 'Impl Name' attribute. |
org.eclipse.emf.common.util.EList |
getConnectionInstance()
Returns the value of the 'Connection Instance' containment reference list. |
SystemOperationMode |
getCurrentSystemOperationMode()
Get the current system operation mode of the system, or null
if it has not been set. |
SystemOperationMode |
getInitialSystemOperationMode()
Get the initial system operation mode, that is, the one whose member modes are all initial modes. |
SystemImpl |
getSystemImpl()
Returns the value of the 'System Impl' reference |
org.eclipse.emf.common.util.EList |
getSystemOperationMode()
Returns the value of the 'System Operation Mode' containment reference list. |
java.util.List |
getSystemOperationModesFor(java.util.List mis)
get all SOMs that contain the ModeInstance list |
java.util.List |
getSystemOperationModesFor(ModeInstance mi)
Get the system operation modes containing the given mode instance. |
void |
setClassifierReference(ClassifierReference cr)
sets ClassifierReference |
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 |
setSystemImpl(SystemImpl value)
Sets the value of the ' System Impl ' reference |
void |
setSystemOperationMode(SystemOperationMode som)
Deprecated. Use setCurrentSystemOperationMode(SystemOperationMode) instead. |
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, 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 |
---|
SystemImpl getSystemImpl()
If the meaning of the 'System Impl' reference isn't clear, there really should be more of a description here...
setSystemImpl(SystemImpl)
,
InstancePackage.getSystemInstance_SystemImpl()
void setSystemImpl(SystemImpl value)
System Impl
' reference.
value
- the new value of the 'System Impl' reference.getSystemImpl()
org.eclipse.emf.common.util.EList getConnectionInstance()
ConnectionInstance
.
Get the semantic connections contained in the system instance. This
method is sensitive to the
current system
operation mode
. If the current SOM is set, then this method only returns
those connection instances that exist in the current SOM. Modifying the
returned list in this case will not change the model. If the current SOM
is not set, then it returns all the connection instances in the system
instance; modifying the returned list in this case will change
the model.
InstancePackage.getSystemInstance_ConnectionInstance()
void addConnectionInstance(ConnectionInstance value)
Connection Instance
' containment reference list.
value
- the value to add to 'Connection Instance' containment reference list.org.eclipse.emf.common.util.EList getSystemOperationMode()
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()
void addSystemOperationMode(SystemOperationMode value)
System Operation Mode
' containment reference list.
value
- the value to add to 'System Operation Mode' containment reference list.java.util.List getSystemOperationModesFor(ModeInstance mi)
mi
- The mode instance to look for
java.util.List getSystemOperationModesFor(java.util.List mis)
mis
- List of mode instances
SystemOperationMode getInitialSystemOperationMode()
ClassifierReference getClassifierReference()
void setClassifierReference(ClassifierReference cr)
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()
void setSystemOperationMode(SystemOperationMode som)
setCurrentSystemOperationMode(SystemOperationMode)
instead.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |