Dictionary

Stores information about a dictionary.

Methods

  • getFieldInfo

    • getFieldInfo(field: string | number): FieldInfo

      Get information for related to a given field.

      Parameters

      • field: string | numberthe field, a field id if it is a number or name if the parameter is a string.

      Returns FieldInfo

      information for that field
  • getFieldName

    • getFieldName(fieldId: number): string

      Get the name of a field.

      Parameters

      • fieldId: numberthe id the field

      Returns string

      the field name, or the id converted to a string if not found.

Properties

  • readonly id: number

    The dictionary id

  • readonly name: string

    The dictionary name

  • readonly fieldMap: Map<number, FieldInfo>

    A map from field id to field info

  • readonly fieldNameMap: Map<string, FieldInfo>

    A map from field name to field info

Also in this Section