Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for enumerations in the meta model. Literals of an enumeration are generated as public static constants of the generated sub class which are instances of the generated sub class.

Hierarchy

Index

Constructors

  • new AbstractEnum(_name: string, lifeCycleInfo: ILifeCycle): AbstractEnum
  • Parameters

    • _name: string
    • lifeCycleInfo: ILifeCycle

    Returns AbstractEnum

Properties

qualifiedTsTypeName: string
versionInfo: LifeCycle

Accessors

  • get name(): string
  • Returns string

Methods

  • checkEnumVersion(metaModelVersion: Version, includeWarnings: boolean): void
  • Parameters

    • metaModelVersion: Version
    • includeWarnings: boolean

    Returns void

  • qualifiedTsLiteralName(): string
  • Returns string

  • toString(): string
  • Returns string

Generated using TypeDoc