Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OnmsEnum<T>

Represents an enumerated type.

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new OnmsEnum(id: T, label: string): OnmsEnum

Properties

Private i

i: T

the internal index/id

Private l

l: string

the type/label

Accessors

id

  • get id(): T

index

  • get index(): T

label

  • get label(): string

Methods

toDisplayString

  • toDisplayString(): string

toJSON

  • toJSON(): object

toString

  • toString(): T

Generated using TypeDoc