Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transition

A Transition is a MetaElement representing a transition in a FSM.

Transitions are mutable

specfield

origin (State) : origin state for the transition

specfield

destination (State): destination state for the transition

specfield

method (Method) : method that triggers the transition

specfield

guard (string) : OCL rule specifying a guard for the transition (i.e. condition to be met for the transition to successfully execute)

Hierarchy

Index

Constructors

constructor

Properties

Private destinationState

destinationState: State

Private oclGuard

oclGuard: string

Private originState

originState: State

Private triggeringMethod

triggeringMethod: Method

Methods

getDestination

  • getDestination(): State

getId

  • getId(): string

getMethod

getName

  • getName(): string

getOCLGuard

  • getOCLGuard(): string

getOrigin

isValid

  • isValid(): boolean

setId

  • setId(id: string): void

toJSON

toModelFormat

Static createMapFromArray

  • createMapFromArray<MetaElementType>(elements: Array<MetaElementType>): Map<string, MetaElementType>

Generated using TypeDoc