UML.Semantic.BehavioralElements.StateMachines
Class ActivityState
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.BehavioralElements.StateMachines.StateVertex
|
+--UML.Semantic.BehavioralElements.StateMachines.State
|
+--UML.Semantic.BehavioralElements.StateMachines.SubmachineState
|
+--UML.Semantic.BehavioralElements.StateMachines.ActivityState
- All Implemented Interfaces:
- Element, ElementAtt, LinkAtt
- public class ActivityState
- extends SubmachineState
An activity state represents the execution of a non-atomic
sequence of steps that has some duration (i.e., internally it
consists of a set of actions and possibly waiting for events).
That is, an activity state is a “hierarchical action”, where an
associated sub-activity model is executed.
An ActivityState is a SubmachineState
that executes a nested activity model. When an input transition
to the ActivityState is triggered, execution begins
with the initial state of the nested ActivityModel.
The outgoing Transition of an ActivityState
is enabled when the final state of the nested ActivityModel
is reached (i.e., when it completes its execution).
The semantics of an ActivityState are equivalent
to the model obtained by statically substituting the contents of
the nested model as a composite state replacing the activity state.
|
Method Summary |
boolean |
check()
Checks if well-formedness rules are respected in this model
element. |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityState
public ActivityState()
check
public boolean check()
- Checks if well-formedness rules are respected in this model
element.
- Overrides:
check in class SubmachineState
- Returns:
- True if check was successful, false otherwise.