public enum AttributeNamePrefix extends java.lang.Enum<AttributeNamePrefix>
Enum Constant and Description |
---|
KEY
INTERNAL: Attribute name prefix is
"key" . |
NULL
INTERNAL: No attribute name prefix.
|
VALUE
INTERNAL: Attribute name prefix is
"value" . |
Modifier and Type | Field and Description |
---|---|
static int |
LENGTH
INTERNAL: Attribute name prefixes enumeration length.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
INTERNAL:
Get attribute name prefix identifier.
|
java.lang.String |
toString()
INTERNAL:
Get instance value in human readable form.
|
static AttributeNamePrefix |
toValue(java.lang.String name)
INTERNAL:
Returns an
AttributeNamePrefix instance with name equal to the specified String . |
static AttributeNamePrefix |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeNamePrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeNamePrefix NULL
public static final AttributeNamePrefix KEY
"key"
.public static final AttributeNamePrefix VALUE
"value"
.public static final int LENGTH
public static AttributeNamePrefix[] values()
for (AttributeNamePrefix c : AttributeNamePrefix.values()) System.out.println(c);
public static AttributeNamePrefix valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AttributeNamePrefix toValue(java.lang.String name)
AttributeNamePrefix
instance with name
equal to the specified String
.
The AttributeNamePrefix
returned represents existing value only if specified String
matches
any String
returned by getName
method. Search for name
is case sensitive. Otherwise
null
value is returned.name
- getName()
value to search for corresponding AttributeNamePrefix
instance.AttributeNamePrefix
value represented by String
or null
if value was
not recognized.public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<AttributeNamePrefix>
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference