Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Region

An NamedElement within a StateMachine model that is a container (parent) of Vertex instances; a Region will be the child of a composite State.

note

A Region is implicitly inserted into a composite State if not explicitly defined.

Hierarchy

Index

Constructors

constructor

Properties

name

name: string

The name of the NamedElement.

parent

parent: State

The parent of this Element

qualifiedName

qualifiedName: string
internal

vertices

vertices: Vertex[] = new Array<Vertex>()

The Vertex instances that are children of this Region.

Static defaultName

defaultName: string = "default"

The name given to Region instances implicitly created (when a State instance is passed to a Vertex constructor as it's parent.

Static namespaceSeparator

namespaceSeparator: string = "."

The symbol used to separate NamedElement names within a fully qualified name. Change this static member to create different styles of qualified name generated by the toString method.

Methods

accept

  • accept<TArg1>(visitor: Visitor<TArg1>, arg1?: TArg1): void
  • Accepts an instance of a Visitor and calls the visitRegion method on it.

    Type parameters

    • TArg1

      The type of the first optional parameter.

    Parameters

    Returns void

getRoot

remove

  • remove(): void

toString

  • toString(): string

Generated using TypeDoc