Skip to content

class StatemachineExtension

Package: swiss.avm.up.core.generic.statemachine.javamodel.StatemachineExtension

Direct Known Subclasses:


class StatemachineExtension extends AStatemachine, AJunctionProperty

In the statemachine extension, elements of the statemachine overwritten or extended and new elements can be added.

Properties

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

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.

junctionExtension

AJunctionExtension[0..N]

startOverwrite

StartOverwrite[0..1]

state

StateBase[0..N]

stateDiagram

The state diagram is the graphical representation of the states.

DomainDiagram[0..N]

stateExtension

AStateExtension[1..N]

statemachineRoot

ASmDecorator[0..1]

target

Reference to the decorated Resource.

Resource[1..1]

The base class of any Resource in the system.

Method Summary

getAdditionalJunctionsForDiagram

@FDiagramStatemachineExtension

get all additional junctions to show in merged diagram

Return:

List<Junction>

getAdditionalStatesForDiagram

@FDiagramStatemachineExtension

get all additional states to show in merged diagram

Return:

List<StateBase>

getAllAdditionalJunctions

@FStatemachine

returns all flat junctions and junctions in stateExtensions

Return:

List<Junction>

getAlladditionalStateBases

@FStatemachine

Return:

List<StateBase>

getController

@FStatemachine

Return:

Controller

getJunctionExtensions

@FStatemachine

Return:

List<AJunctionExtension>

getJunctionExtensionsForDiagram

@FDiagramStatemachineExtension

get all junction extensions to show in merged diagram

Return:

List<AStateExtension>

getJunctionExtensionsUnique

@FStatemachine

Return:

List<AJunctionExtension>

getJunctionsForDiagram

@FDiagramStatemachineExtension

get all junctions to show in merged diagram

Return:

List<Junction>

getName

@FStatemachine

getRootStatemachine

@FStatemachine

Return:

Statemachine

getStartForDiagram

@FDiagramStatemachineExtension

Return:

Start

getStateExtensions

@FStatemachine

Return:

List<AStateExtension>

getStateExtensionsForDiagram

@FDiagramStatemachineExtension

get all state extensions to show in merged diagram

Return:

List<AStateExtension>

getStateExtensionsUnique

@FStatemachine

Return:

List<AStateExtension>

getStatemachineExtensionsBottomUp

@FStatemachine

Return:

List<StatemachineExtension>

getStatemachineExtensionsTopDown

@FStatemachine

Return:

List<StatemachineExtension>

getStatesForDiagram

@FDiagramStatemachineExtension

get all states to show in merged diagram

Return:

List<StateBase>

internal_getAllAdditionalJunctions

@FStatemachine

Return:

List<Junction>

internal_getAllAdditionalStates

@FStatemachine

Return:

List<StateBase>