Class OnmsNodeType

Represents an OpenNMS node type.

Hierarchy

  • OnmsEnum<string>
    • OnmsNodeType

Implements

Constructors

Accessors

Methods

  • convert this enum to a string suitable for display

    Returns string

  • convert to the JSON representation

    Returns {
        id: string;
        label: string;
    }

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

    Parameters

    • Optionalid: string

    Returns any

  • Given a label (ACTIVE, etc.), return the corresponding node type object.

    Parameters

    • Optionallabel: string

    Returns any