Package com.tailf.conf
Enum Class ConfAttributeType
- All Implemented Interfaces:
Serializable
,Comparable<ConfAttributeType>
,Constable
Enumeration of attribute types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCONFD_ATTR_ANNOTATION: value is ConfBuf/C_STRCONFD_ATTR_BACKPOINTER: value is ConfObjectRef'CONFD_ATTR_INACTIVE: value is ConfBool 'true'CONFD_ATTR_ORIGIN: value is ConfIdentityRefCONFD_ATTR_REFCOUNT: value is ConfInt32CONFD_ATTR_TAGS: value is ConfList of ConfBuf/C_STR -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfAttributeType
getType
(long l) Get a ConfAttributeType for given long value or null if the long value does not represent an attribute type.long
getValue()
Get the long value representation of this attribute typetoString()
Get the string label for this attribute typestatic ConfAttributeType
Returns the enum constant of this class with the specified name.static ConfAttributeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
TAGS
CONFD_ATTR_TAGS: value is ConfList of ConfBuf/C_STR -
ANNOTATION
CONFD_ATTR_ANNOTATION: value is ConfBuf/C_STR -
INACTIVE
CONFD_ATTR_INACTIVE: value is ConfBool 'true' -
REFCOUNT
CONFD_ATTR_REFCOUNT: value is ConfInt32 -
BACKPOINTER
CONFD_ATTR_BACKPOINTER: value is ConfObjectRef' -
WHEN
-
ORIGINAL_VALUE
-
ORIGIN
CONFD_ATTR_ORIGIN: value is ConfIdentityRef
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getValue
public long getValue()Get the long value representation of this attribute type- Returns:
- long value
-
toString
Get the string label for this attribute type- Overrides:
toString
in classEnum<ConfAttributeType>
- Returns:
- String label
-
getType
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
-