public interface State extends Namespace, Vertex
A State models a situation during which some (usually implicit) invariant condition holds.
The following features are supported:
UMLPackage.getState()
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ObjectNode> |
get_objectNodeOfInState()
Returns the value of the 'object Node Of In State' reference list.
|
java.util.Collection<ConnectionPointReference> |
getConnection()
Returns the value of the 'Connection' containment reference list.
|
java.util.Collection<Pseudostate> |
getConnectionPoint()
Returns the value of the 'Connection Point' containment reference list.
|
java.util.Collection<Trigger> |
getDeferrableTrigger()
Returns the value of the 'Deferrable Trigger' containment reference list.
|
Behavior |
getDoActivity()
Returns the value of the 'Do Activity' containment reference.
|
Behavior |
getEntry()
Returns the value of the 'Entry' containment reference.
|
Behavior |
getExit()
Returns the value of the 'Exit' containment reference.
|
java.util.Collection<Region> |
getRegion()
Returns the value of the 'Region' containment reference list.
|
Constraint |
getStateInvariant()
Returns the value of the 'State Invariant' reference.
|
StateMachine |
getSubmachine()
Returns the value of the 'Submachine' reference.
|
boolean |
has_objectNodeOfInState() |
boolean |
hasConnection() |
boolean |
hasConnectionPoint() |
boolean |
hasDeferrableTrigger() |
boolean |
hasRegion() |
boolean |
isComposite()
Returns the value of the 'Composite' attribute.
|
boolean |
isOrthogonal()
Returns the value of the 'Orthogonal' attribute.
|
boolean |
isSimple()
Returns the value of the 'Simple' attribute.
|
boolean |
isSubmachineState()
Returns the value of the 'Submachine State' attribute.
|
void |
setDoActivity(Behavior value)
Sets the value of the '
Do Activity ' containment
reference. |
void |
setEntry(Behavior value)
Sets the value of the '
Entry ' containment reference. |
void |
setExit(Behavior value)
Sets the value of the '
Exit ' containment reference. |
void |
setStateInvariant(Constraint value)
Sets the value of the '
State Invariant ' reference. |
void |
setSubmachine(StateMachine value)
Sets the value of the '
Submachine ' reference. |
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
get_vertexOfRedefinedVertex, getContainer, getIncoming, getOutgoing, getRedefinedVertex, getRedefinitionContext, hasIncoming, hasOutgoing, setContainer, setRedefinedVertex
get_redefinableElementOfRedefinedElement, getRedefinedElement, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
@CheckForNull StateMachine getSubmachine()
Submachine State
'.
The StateMachine that is to be inserted in place of the (submachine) State.
setSubmachine(StateMachine)
,
UMLPackage.getState_Submachine()
,
StateMachine.getSubmachineState()
void setSubmachine(@CheckForNull StateMachine value)
Submachine
' reference.
value
- the new value of the 'Submachine' reference.getSubmachine()
java.util.Collection<ConnectionPointReference> getConnection()
ConnectionPointReference
.
It is bidirectional and its opposite is
'State
'.
The entry and exit connection points used in conjunction with this (submachine) State, i.e., as targets and sources, respectively, in the Region with the
submachine State. A connection point reference references the corresponding definition of a connection point Pseudostate in the StateMachine referenced by the
submachine State.
UMLPackage.getState_Connection()
,
ConnectionPointReference.getState()
java.util.Collection<Region> getRegion()
Region
.
It is bidirectional and its opposite is 'State
'.
The Regions owned directly by the State.
UMLPackage.getState_Region()
,
Region.getState()
@CheckForNull Constraint getStateInvariant()
Owning State
'.
Specifies conditions that are always true when this State is the current State. In ProtocolStateMachines state invariants are additional conditions to the
preconditions of the outgoing Transitions, and to the postcondition of the incoming Transitions.
setStateInvariant(Constraint)
,
UMLPackage.getState_StateInvariant()
,
Constraint.getOwningState()
void setStateInvariant(@CheckForNull Constraint value)
State Invariant
' reference.
value
- the new value of the 'State Invariant' reference.getStateInvariant()
@CheckForNull Behavior getEntry()
state Of Entry
'.
An optional Behavior that is executed whenever this State is entered regardless of the Transition taken to reach the State. If defined, entry Behaviors are
always executed to completion prior to any internal Behavior or Transitions performed within the State.
setEntry(Behavior)
,
UMLPackage.getState_Entry()
,
Behavior.get_stateOfEntry()
void setEntry(@CheckForNull Behavior value)
Entry
' containment reference.
value
- the new value of the 'Entry' containment reference.getEntry()
@CheckForNull Behavior getExit()
state Of Exit
'.
An optional Behavior that is executed whenever this State is exited regardless of which Transition was taken out of the State. If defined, exit Behaviors are
always executed to completion only after all internal and transition Behaviors have completed execution.
setExit(Behavior)
,
UMLPackage.getState_Exit()
,
Behavior.get_stateOfExit()
void setExit(@CheckForNull Behavior value)
Exit
' containment reference.
value
- the new value of the 'Exit' containment reference.getExit()
boolean isComposite()
UMLPackage.getState_Composite()
boolean isOrthogonal()
UMLPackage.getState_Orthogonal()
boolean isSimple()
UMLPackage.getState_Simple()
boolean isSubmachineState()
UMLPackage.getState_SubmachineState()
@CheckForNull Behavior getDoActivity()
state Of Do Activity
'.
An optional Behavior that is executed while being in the State. The execution starts when this State is entered, and ceases either by itself when done, or when
the State is exited, whichever comes first.
setDoActivity(Behavior)
,
UMLPackage.getState_DoActivity()
,
Behavior.get_stateOfDoActivity()
void setDoActivity(@CheckForNull Behavior value)
Do Activity
' containment
reference.
value
- the new value of the 'Do Activity' containment reference.getDoActivity()
java.util.Collection<Trigger> getDeferrableTrigger()
Trigger
.
It is bidirectional and its opposite is
'state Of Deferrable Trigger
'.
A list of Triggers that are candidates to be retained by the StateMachine if they trigger no Transitions out of the State (not consumed). A deferred Trigger is
retained until the StateMachine reaches a State configuration where it is no longer deferred.
UMLPackage.getState_DeferrableTrigger()
,
Trigger.get_stateOfDeferrableTrigger()
java.util.Collection<ObjectNode> get_objectNodeOfInState()
ObjectNode
.
It is bidirectional and its opposite is 'In State
'.
If the meaning of the 'object Node Of In State' reference list isn't clear, there really should be more of a description here...
UMLPackage.getState__objectNodeOfInState()
,
ObjectNode.getInState()
java.util.Collection<Pseudostate> getConnectionPoint()
Pseudostate
.
It is bidirectional and its opposite is 'State
'.
The entry and exit Pseudostates of a composite State. These can only be entry or exit Pseudostates, and they must have different names. They can only be defined
for composite States.
UMLPackage.getState_ConnectionPoint()
,
Pseudostate.getState()
boolean hasConnection() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasRegion() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasDeferrableTrigger() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_objectNodeOfInState() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasConnectionPoint() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException