public enum FileFormat extends java.lang.Enum<FileFormat>
GeppettoPackage.getFileFormat()
Enum Constant and Description |
---|
HDF5
The 'HDF5' literal object.
|
ZIP
The 'ZIP' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
HDF5_VALUE
The 'HDF5' literal value.
|
private java.lang.String |
literal |
private java.lang.String |
name |
private int |
value |
static java.util.List<FileFormat> |
VALUES
A public read-only list of all the 'File Format' enumerators.
|
private static FileFormat[] |
VALUES_ARRAY
An array of all the 'File Format' enumerators.
|
static int |
ZIP_VALUE
The 'ZIP' literal value.
|
Modifier and Type | Method and Description |
---|---|
static FileFormat |
get(int value)
Returns the 'File Format' literal with the specified integer value.
|
static FileFormat |
get(java.lang.String literal)
Returns the 'File Format' literal with the specified literal value.
|
static FileFormat |
getByName(java.lang.String name)
Returns the 'File Format' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static FileFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileFormat ZIP
ZIP_VALUE
public static final FileFormat HDF5
HDF5_VALUE
public static final int ZIP_VALUE
If the meaning of 'ZIP' literal object isn't clear, there really should be more of a description here...
ZIP
,
Constant Field Valuespublic static final int HDF5_VALUE
If the meaning of 'HDF5' literal object isn't clear, there really should be more of a description here...
HDF5
,
Constant Field Valuesprivate static final FileFormat[] VALUES_ARRAY
public static final java.util.List<FileFormat> VALUES
private final int value
private final java.lang.String name
private final java.lang.String literal
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormat 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 FileFormat get(java.lang.String literal)
literal
- the literal.null
.public static FileFormat getByName(java.lang.String name)
name
- the name.null
.public static FileFormat get(int value)
value
- the integer value.null
.public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<FileFormat>