Enum Class ConfAttributeType

Object
Enum<ConfAttributeType>
com.tailf.conf.ConfAttributeType
All Implemented Interfaces:
Serializable, Comparable<ConfAttributeType>, Constable

public enum ConfAttributeType extends Enum<ConfAttributeType>
Enumeration of attribute types
  • Enum Constant Details

    • TAGS

      public static final ConfAttributeType TAGS
      CONFD_ATTR_TAGS: value is ConfList of ConfBuf/C_STR
    • ANNOTATION

      public static final ConfAttributeType ANNOTATION
      CONFD_ATTR_ANNOTATION: value is ConfBuf/C_STR
    • INACTIVE

      public static final ConfAttributeType INACTIVE
      CONFD_ATTR_INACTIVE: value is ConfBool 'true'
    • REFCOUNT

      public static final ConfAttributeType REFCOUNT
      CONFD_ATTR_REFCOUNT: value is ConfInt32
    • BACKPOINTER

      public static final ConfAttributeType BACKPOINTER
      CONFD_ATTR_BACKPOINTER: value is ConfObjectRef'
    • WHEN

      public static final ConfAttributeType WHEN
    • ORIGINAL_VALUE

      public static final ConfAttributeType ORIGINAL_VALUE
    • ORIGIN

      public static final ConfAttributeType ORIGIN
      CONFD_ATTR_ORIGIN: value is ConfIdentityRef
  • Method Details

    • values

      public static ConfAttributeType[] 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 ConfAttributeType 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 long getValue()
      Get the long value representation of this attribute type
      Returns:
      long value
    • toString

      public String toString()
      Get the string label for this attribute type
      Overrides:
      toString in class Enum<ConfAttributeType>
      Returns:
      String label
    • getType

      public static ConfAttributeType getType(long l)
      Get a ConfAttributeType for given long value or null if the long value does not represent an attribute type.
      Parameters:
      l - long value for this attribute
      Returns:
      ConfAttributeType for this long value