Package org.palladiosimulator.metricspec
Enum PersistenceKindOptions
- java.lang.Object
-
- java.lang.Enum<PersistenceKindOptions>
-
- org.palladiosimulator.metricspec.PersistenceKindOptions
-
- All Implemented Interfaces:
Serializable
,Comparable<PersistenceKindOptions>
,Enumerator
public enum PersistenceKindOptions extends Enum<PersistenceKindOptions> implements Enumerator
A representation of the literals of the enumeration ' Persistence Kind Options', and utility methods for working with them.- See Also:
MetricSpecPackage.getPersistenceKindOptions()
- Generated class or method.
- EMF model class or method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY_PREFERRED
The 'Binary Preferred' literal object.JS_XML_PREFERRED
The 'JS Xml Preferred' literal object.
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
BINARY_PREFERRED
public static final PersistenceKindOptions BINARY_PREFERRED
The 'Binary Preferred' literal object.- See Also:
BINARY_PREFERRED_VALUE
- Generated class or method.
- Ordered collection.
-
JS_XML_PREFERRED
public static final PersistenceKindOptions JS_XML_PREFERRED
The 'JS Xml Preferred' literal object.- See Also:
JS_XML_PREFERRED_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
BINARY_PREFERRED_VALUE
public static final int BINARY_PREFERRED_VALUE
The 'Binary Preferred' literal value.If the meaning of 'Binary Preferred' literal object isn't clear, there really should be more of a description here...
- See Also:
BINARY_PREFERRED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="BinaryPreferred"
- Ordered collection.
-
JS_XML_PREFERRED_VALUE
public static final int JS_XML_PREFERRED_VALUE
The 'JS Xml Preferred' literal value.If the meaning of 'JS Xml Preferred' literal object isn't clear, there really should be more of a description here...
- See Also:
JS_XML_PREFERRED
, Constant Field Values- Generated class or method.
- EMF model class or method.
- name="JSXmlPreferred"
- Ordered collection.
-
VALUES
public static final List<PersistenceKindOptions> VALUES
A public read-only list of all the 'Persistence Kind Options' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static PersistenceKindOptions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PersistenceKindOptions c : PersistenceKindOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersistenceKindOptions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static PersistenceKindOptions get(String literal)
Returns the 'Persistence Kind Options' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
public static PersistenceKindOptions getByName(String name)
Returns the 'Persistence Kind Options' literal with the specified name.- Generated class or method.
-
get
public static PersistenceKindOptions get(int value)
Returns the 'Persistence Kind Options' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
- Generated class or method.
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
- Generated class or method.
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
- Generated class or method.
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<PersistenceKindOptions>
- Generated class or method.
-
-