Enum ExportOption
- java.lang.Object
-
- java.lang.Enum<ExportOption>
-
- org.palladiosimulator.experimentautomation.abstractsimulation.ExportOption
-
- All Implemented Interfaces:
Serializable
,Comparable<ExportOption>
,Enumerator
public enum ExportOption extends Enum<ExportOption> implements Enumerator
A representation of the literals of the enumeration 'Export Option', and utility methods for working with them.- See Also:
AbstractsimulationPackage.getExportOption()
- Generated class or method.
- EMF model class or method.
- instanceClass="org.palladiosimulator.experimentautomation.abstractsimulation.ExportOption"
-
-
Field Summary
Fields Modifier and Type Field Description static String
copyright
static int
CSV_VALUE
The 'CSV' literal value.static int
EDP2_VALUE
The 'EDP2' literal value.static List<ExportOption>
VALUES
A public read-only list of all the 'Export Option' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportOption
get(int value)
Returns the 'Export Option' literal with the specified integer value.static ExportOption
get(String literal)
Returns the 'Export Option' literal with the specified literal value.static ExportOption
getByName(String name)
Returns the 'Export Option' 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 ExportOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExportOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EDP2
public static final ExportOption EDP2
The 'EDP2' literal object.- See Also:
EDP2_VALUE
- Generated class or method.
- Ordered collection.
-
CSV
public static final ExportOption CSV
The 'CSV' literal object.- See Also:
CSV_VALUE
- Generated class or method.
- Ordered collection.
-
-
Field Detail
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- Generated class or method.
-
EDP2_VALUE
public static final int EDP2_VALUE
The 'EDP2' literal value.- See Also:
EDP2
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
CSV_VALUE
public static final int CSV_VALUE
The 'CSV' literal value.- See Also:
CSV
, Constant Field Values- Generated class or method.
- EMF model class or method.
- Ordered collection.
-
VALUES
public static final List<ExportOption> VALUES
A public read-only list of all the 'Export Option' enumerators.- Generated class or method.
-
-
Method Detail
-
values
public static ExportOption[] 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 (ExportOption c : ExportOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportOption 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 ExportOption get(String literal)
Returns the 'Export Option' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
getByName
public static ExportOption getByName(String name)
Returns the 'Export Option' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
. - Generated class or method.
-
get
public static ExportOption get(int value)
Returns the 'Export Option' 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<ExportOption>
- Generated class or method.
-
-