class StateExtension
Package: swiss.avm.up.core.generic.statemachine.javamodel.StateExtension
Direct Known Subclasses:
class StateExtension extends AStateExtension, AJunctionProperty
The state that is extended basically remains as it is. It can simply be extended by function or transitions. It is also possible to overwrite single functions or transitions. Further additional states and junctions can be created.
Properties
entryFunction
EntryFunctionExtend[0..N]
exitFunction
ExitFunctionExtend[0..N]
junction
Junction[0..N]
This type of pseudostate is used to connect multiple transitions into compound paths between states. For example, a junction can be used to merge multiple incoming transitions into a single outgoing transition representing a shared continuation path. Or, it can be used to split an incoming transition into multiple outgoing transition segments with different guard constraints.
Hint:
All guards of transitions of all coming junctions are checked in the cyclic part of the source state.
simulationFunction
SimulationFunctionExtend[0..N]
startOverwrite
to overwrite start
StartOverwrite[0..1]
state
additional state in state extension
StateBase[0..N]
stateFunction
StateFunctionExtend[0..N]
stateToExtend
StateBase[1..1]
stateToExtend
StateBase[1..1]
transitionTo
TransitionExtend[0..N]
Method Summary
getAwailableSubStates
@FStatemachine
awailable sub states for start
Return:
List<TargetState>
getController
@FStatemachine
Return:
Controller
getEntryFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>
getExitFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>
getHistory
@FStatemachine
Return:
History
getJunctions
@FStatemachine
Return:
List<Junction>
getJunctionsForDiagram
@FDiagramStatemachineExtension
Parameters:
DomainDiagram
Return:
List<Resource>
getName
@FStatemachine
getSimulationFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>
getStart
@FStatemachine
to show start of stateExtension in merged statemachine
Return:
Start
getStartToOverwrite
@FStatemachineStateExtend
Return:
Start
getStateFunctionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Function>
getTransitionsToExtend
@FStatemachineStateExtend
for useRangeRestrictionAspect
Return:
List<Transition>
subStatesForDiagram
@FDiagramStatemachineExtension
returns all sub states to show in merged diagram (controller of diagram)
Parameters:
DomainDiagram
Return:
List<TargetState>
subStatesForDiagram
@FDiagramStatemachineExtension
returns all sub states with selected controller
Parameters:
Controller
Return:
List<TargetState>