edu.cmu.sei.aadl.model.instance
Interface ModeInstance

All Superinterfaces:
AObject, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, InstanceObject, NamedElement, org.eclipse.emf.common.notify.Notifier, PropertyHolder
All Known Implementing Classes:
ModeInstanceImpl

public interface ModeInstance
extends InstanceObject

A representation of the model object 'Mode Instance'.

The following features are supported:

See Also:
InstancePackage.getModeInstance()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void addDstModeTransition(ModeTransitionInstance value)
          Adds to the list the value of the 'Dst Mode Transition' reference list
 void addSrcModeTransition(ModeTransitionInstance value)
          Adds to the list the value of the 'Src Mode Transition' reference list
 org.eclipse.emf.common.util.EList getDstModeTransition()
          Returns the value of the 'Dst Mode Transition' reference list.
 Mode getMode()
          Returns the value of the 'Mode' reference
 org.eclipse.emf.common.util.EList getSrcModeTransition()
          Returns the value of the 'Src Mode Transition' reference list.
 ModeState getState()
          Returns the value of the 'State' attribute.
 void setMode(Mode value)
          Sets the value of the 'Mode' reference
 void setState(ModeState value)
          Sets the value of the 'State' attribute
 
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.PropertyHolder
acceptsProperty, addProperty, addPropertyValue, checkPropertyAssociation, findPropertyAssociation, getProperties, getPropertyAssociation, getPropertyValue, getPropertyValueInternal, getPropertyValueList, getSimplePropertyValue, isModalPropertyValue, removeContainedPropertyAssociations, removeContainedPropertyAssociations, removePropertyAssociations, removePropertyAssociations, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setContainedPropertyValue, setProperties, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue
 
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

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getSrcModeTransition

org.eclipse.emf.common.util.EList getSrcModeTransition()
Returns the value of the 'Src Mode Transition' reference list. The list contents are of type ModeTransitionInstance. It is bidirectional and its opposite is 'Src'.

If the meaning of the 'Src Mode Transition' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Src Mode Transition' reference list.
See Also:
InstancePackage.getModeInstance_SrcModeTransition(), ModeTransitionInstance.getSrc()

addSrcModeTransition

void addSrcModeTransition(ModeTransitionInstance value)
Adds to the list the value of the 'Src Mode Transition' reference list.

Parameters:
value - the value to add to 'Src Mode Transition' reference list.

getDstModeTransition

org.eclipse.emf.common.util.EList getDstModeTransition()
Returns the value of the 'Dst Mode Transition' reference list. The list contents are of type ModeTransitionInstance. It is bidirectional and its opposite is 'Dst'.

If the meaning of the 'Dst Mode Transition' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Dst Mode Transition' reference list.
See Also:
InstancePackage.getModeInstance_DstModeTransition(), ModeTransitionInstance.getDst()

addDstModeTransition

void addDstModeTransition(ModeTransitionInstance value)
Adds to the list the value of the 'Dst Mode Transition' reference list.

Parameters:
value - the value to add to 'Dst Mode Transition' reference list.

getMode

Mode getMode()
Returns the value of the 'Mode' reference.

If the meaning of the 'Mode' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Mode' reference.
See Also:
setMode(Mode), InstancePackage.getModeInstance_Mode()

setMode

void setMode(Mode value)
Sets the value of the 'Mode' reference.

Parameters:
value - the new value of the 'Mode' reference.
See Also:
getMode()

getState

ModeState getState()
Returns the value of the 'State' attribute. The default value is "NORMAL". The literals are from the enumeration ModeState.

If the meaning of the 'State' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'State' attribute.
See Also:
ModeState, setState(ModeState), InstancePackage.getModeInstance_State()

setState

void setState(ModeState value)
Sets the value of the 'State' attribute.

Parameters:
value - the new value of the 'State' attribute.
See Also:
ModeState, getState()