public enum ConfAttributeType extends Enum<ConfAttributeType>
Enum Constant and Description |
---|
ANNOTATION
CONFD_ATTR_ANNOTATION: value is ConfBuf/C_STR
|
BACKPOINTER
CONFD_ATTR_BACKPOINTER: value is ConfObjectRef'
|
INACTIVE
CONFD_ATTR_INACTIVE: value is ConfBool 'true'
|
ORIGIN
CONFD_ATTR_ORIGIN: value is ConfIdentityRef
|
ORIGINAL_VALUE |
REFCOUNT
CONFD_ATTR_REFCOUNT: value is ConfInt32
|
TAGS
CONFD_ATTR_TAGS: value is ConfList of ConfBuf/C_STR
|
WHEN |
Modifier and Type | Method and Description |
---|---|
static 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 type
|
String |
toString()
Get the string label for this attribute type
|
static ConfAttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfAttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfAttributeType TAGS
public static final ConfAttributeType ANNOTATION
public static final ConfAttributeType INACTIVE
public static final ConfAttributeType REFCOUNT
public static final ConfAttributeType BACKPOINTER
public static final ConfAttributeType WHEN
public static final ConfAttributeType ORIGINAL_VALUE
public static final ConfAttributeType ORIGIN
public static ConfAttributeType[] values()
for (ConfAttributeType c : ConfAttributeType.values()) System.out.println(c);
public static ConfAttributeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic long getValue()
public String toString()
toString
in class Enum<ConfAttributeType>
public static ConfAttributeType getType(long l)
l
- long value for this attribute