Enum Class AMDataType

java.lang.Object
java.lang.Enum<AMDataType>
org.netxms.client.constants.AMDataType
All Implemented Interfaces:
Serializable, Comparable<AMDataType>, Constable

public enum AMDataType extends Enum<AMDataType>
Asset management attribute data type
  • Enum Constant Details

    • STRING

      public static final AMDataType STRING
    • INTEGER

      public static final AMDataType INTEGER
    • NUMBER

      public static final AMDataType NUMBER
    • BOOLEAN

      public static final AMDataType BOOLEAN
    • ENUM

      public static final AMDataType ENUM
    • MAC_ADDRESS

      public static final AMDataType MAC_ADDRESS
    • IP_ADDRESS

      public static final AMDataType IP_ADDRESS
    • UUID

      public static final AMDataType UUID
    • OBJECT_REFERENCE

      public static final AMDataType OBJECT_REFERENCE
    • DATE

      public static final AMDataType DATE
  • Method Details

    • values

      public static AMDataType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AMDataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Get integer value
      Returns:
      integer value
    • getByValue

      public static AMDataType getByValue(int value)
      Get enum element by integer value
      Parameters:
      value - integer value
      Returns:
      enum element corresponding to given integer value or fall-back element for invalid value