Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an OpenNMS node type.

Hierarchy

  • OnmsEnum<string>
    • OnmsNodeType

Implements

Index

Constructors

Accessors

  • get id(): T
  • get index(): T
  • get label(): string
  • get urlValue(): string

Methods

  • toDisplayString(): string
  • convert this enum to a string suitable for display

    Returns string

  • toJSON(): { id: string; label: string }
  • convert to the JSON representation

    Returns { id: string; label: string }

    • id: string
    • label: string
  • toString(): string
  • forId(id?: string): any
  • Given an ID (A, D, etc.), return the corresponding node type object.

    Parameters

    • Optional id: string

    Returns any

  • forLabel(label?: string): any
  • Given a label (ACTIVE, etc.), return the corresponding node type object.

    Parameters

    • Optional label: string

    Returns any

Generated using TypeDoc