class SuperState
Package: swiss.avm.up.core.generic.statemachine.javamodel.SuperState
Direct Known Subclasses: SuperState_WithBusyFinal
class SuperState extends StateBase, AStatemachineStart, AJunctionProperty
A SuperState is a state that contains its own sub-states - the hierarchical grouping mechanism of a statemachine. It nests a complete inner sub-machine (an initial pseudostate and its sub-states) and can itself carry entry, cyclic and exit code.
Properties
comment
Describes the intent of this Resource.
TextLiteral[0..1]
A Literal that accepts multiple lines of text.
entryFunction
Function[0..N]
exitFunction
Function[0..N]
history
History[0..1]
junction
Junction[0..N]
A Junction is a choice pseudostate: a branch node with several guarded outgoing
transitions and no behaviour of its own. Its typical use is dispatching control
to different sub-groups based on the active command.
name
The name of this Resource.
StringLiteral[1..1]
port
BasePort[0..N]
simulationFunction
Function[0..N]
start
Start[0..1]
A Start is the initial pseudostate of a statemachine or of a SuperState. It
marks which state is entered when the enclosing machine or SuperState becomes
active.
stateDiagram
The state diagram is the graphical representation of the states.
DomainDiagram[0..N]
stateFunction
Function[0..N]
subState
StateBase[0..N]
transitionTo
Transition[0..N]
A Transition is an edge leaving a State or SuperState. It defines the target
state that control moves to when its guard condition becomes true.
Method Summary
ToolTipFigure
@FFigure
diagram_ToolTipFigure
@FigureFunctionSpace
getAwailableStartTargets
@FStatemachine
awailable start TargetStates
Return:
List<TargetState>
getJunctionExtensionsForDiagram
@FDiagramStatemachineExtension
get all junction extensions to show in merged diagram
Parameters:
DomainDiagram
Return:
List<AJunctionExtension>
getJunctionsForDiagram
@FDiagramStatemachineExtension
get all junctions to show in merged diagram
Parameters:
DomainDiagram
Return:
List<Junction>
getStateExtensionsForDiagram
@FDiagramStatemachineExtension
get all state extensions to show in merged diagram
Parameters:
DomainDiagram
Return:
List<AStateExtension>
getStatesForDiagram
@FDiagramStatemachineExtension
get all states to show in merged diagram
Parameters:
DomainDiagram
Return:
List<StateBase>