Enum Class BacnetDataType

java.lang.Object
java.lang.Enum<BacnetDataType>
net.solarnetwork.node.io.bacnet.BacnetDataType
All Implemented Interfaces:
Serializable, Comparable<BacnetDataType>, Constable, net.solarnetwork.domain.CodedValue

public enum BacnetDataType extends Enum<BacnetDataType> implements net.solarnetwork.domain.CodedValue
BACnet data type enumeration.
Version:
1.0
Author:
matt
  • Enum Constant Details

    • Null

      public static final BacnetDataType Null
      Null.
    • Boolean

      public static final BacnetDataType Boolean
      Boolean.
    • UnsignedInteger

      public static final BacnetDataType UnsignedInteger
      Unsigned integer.
    • SignedInteger

      public static final BacnetDataType SignedInteger
      Signed integer.
    • Real

      public static final BacnetDataType Real
      32-bit floating point.
    • Double

      public static final BacnetDataType Double
      64-bit floating point.
    • OctetString

      public static final BacnetDataType OctetString
      Octet (byte) string.
    • CharacterString

      public static final BacnetDataType CharacterString
      Character string.
    • BitString

      public static final BacnetDataType BitString
      Bit string.
    • Enumerated

      public static final BacnetDataType Enumerated
      Enumeration.
    • Date

      public static final BacnetDataType Date
      Date.
    • Time

      public static final BacnetDataType Time
      Time.
    • ObjectIdentifier

      public static final BacnetDataType ObjectIdentifier
      Object identifier.
  • Method Details

    • values

      public static BacnetDataType[] 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 BacnetDataType 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
    • getCode

      public int getCode()
      Specified by:
      getCode in interface net.solarnetwork.domain.CodedValue
    • getId

      public int getId()
      Get the object ID.

      This is an alias for getCode().

      Returns:
      the ID
    • forKey

      public static BacnetDataType forKey(String value)
      Get an enumeration value for a string key.
      Parameters:
      value - the value to parse into an enumeration value; can be either an integer code or an enumeration name
      Returns:
      the enumeration value
      Throws:
      IllegalArgumentException - if the value cannot be parsed into an enumeration value
      See Also:
      • CodedValue.forCodeValue(int, Class, Enum)