public enum PersistenceKindOptions extends Enum<PersistenceKindOptions> implements Enumerator
MetricSpecPackage.getPersistenceKindOptions()
Enum Constant and Description |
---|
BINARY_PREFERRED
The 'Binary Preferred' literal object.
|
JS_XML_PREFERRED
The 'JS Xml Preferred' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
BINARY_PREFERRED_VALUE
The 'Binary Preferred' literal value.
|
static int |
JS_XML_PREFERRED_VALUE
The 'JS Xml Preferred' literal value.
|
static List<PersistenceKindOptions> |
VALUES
A public read-only list of all the 'Persistence Kind Options' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static PersistenceKindOptions |
get(int value)
Returns the 'Persistence Kind Options' literal with the specified integer
value.
|
static PersistenceKindOptions |
get(String literal)
Returns the 'Persistence Kind Options' literal with the specified literal
value.
|
static PersistenceKindOptions |
getByName(String name)
Returns the 'Persistence Kind Options' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static PersistenceKindOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceKindOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceKindOptions BINARY_PREFERRED
BINARY_PREFERRED_VALUE
public static final PersistenceKindOptions JS_XML_PREFERRED
JS_XML_PREFERRED_VALUE
public static final int BINARY_PREFERRED_VALUE
If the meaning of 'Binary Preferred' literal object isn't clear, there really should be more of a description here...
BINARY_PREFERRED
,
Constant Field Valuespublic static final int JS_XML_PREFERRED_VALUE
If the meaning of 'JS Xml Preferred' literal object isn't clear, there really should be more of a description here...
JS_XML_PREFERRED
,
Constant Field Valuespublic static final List<PersistenceKindOptions> VALUES
public static PersistenceKindOptions[] values()
for (PersistenceKindOptions c : PersistenceKindOptions.values()) System.out.println(c);
public static PersistenceKindOptions 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 static PersistenceKindOptions get(String literal)
public static PersistenceKindOptions getByName(String name)
public static PersistenceKindOptions get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<PersistenceKindOptions>