class StateOverride
Package: swiss.avm.up.core.generic.statemachine.javamodel.StateOverride
Direct Known Subclasses:
class StateOverride extends AStateExtension, Statemachine
The state that is overwritten becomes a super state. The existing functions of the overwritten state are no longer executed. However, it is possible to call the existing functions with a super call.
Properties
comment
Describes the intent of this Resource.
TextLiteral[0..1]
A Literal that accepts multiple lines of text.
entryFunction
EntryFunctionOverwrite[0..N]
exitFunction
ExitFunctionOverwrite[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.
port
BasePort[0..N]
sharedFunction
SharedFunction[0..0]
---
SharedFunctions should no longer be used. These have only limited possibilities in connection with extended controllers.
Instead of SharedFunctions, only ControllerMethods should be used.
sharedGuard
GuardImpl[0..0]
simulationFunction
SimulationFunctionOverwrite[0..N]
start
Start[0..1]
state
StateBase[0..N]
stateDiagram
The state diagram is the graphical representation of the states.
DomainDiagram[0..N]
stateFunction
StateFunctionOverwrite[0..N]
stateToExtend
StateBase[1..1]
stateToOverwrite
StateBase[1..1]
statemachineRoot
ASmDecorator[0..1]
target
Reference to the decorated Resource.
Resource[1..1]
The base class of any Resource in the system.
transitionOverwrite
TransitionOverwrite[0..1]
transitionTo
Transition[0..N]
Method Summary
getController
@FStatemachine
Return:
Controller
getEntryFunctionsToOverride
@FStatemachineStateOverride
Return:
List<Function>
getExitFunctionsToOverride
@FStatemachineStateOverride
Return:
List<Function>
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>
getName
@FStatemachine
getSimulationFunctionsToOverride
@FStatemachineStateOverride
Return:
List<Function>
getStateExtensionsForDiagram
@FDiagramStatemachineExtension
get all state extensions to show in merged diagram
Parameters:
DomainDiagram
Return:
List<StateBase>
getStateFunctionsToOverride
@FStatemachineStateOverride
Return:
List<Function>
getStatesForDiagram
@FDiagramStatemachineExtension
get all states to show in merged diagram
Parameters:
DomainDiagram
Return:
List<StateBase>
getTransitionsToOverride
@FStatemachineStateOverride
Return:
List<Transition>