public enum GearClassificationId extends Enum<GearClassificationId> implements Serializable, AdagioEnumerationDef<Integer>
Enum Constant and Description |
---|
CNTS
TODO: Model Documentation for Enumeration Literal CNTS value 3
|
EU
TODO: Model Documentation for Enumeration Literal EU value 4
|
FAO
TODO: Model Documentation for Enumeration Literal FAO value 1
|
SCIENTIFIC_CRUISE
TODO: Model Documentation for Enumeration Literal SCIENTIFIC_CRUISE value 5
|
CONFIG_OPTION_PREFIX
Modifier and Type | Method and Description |
---|---|
static GearClassificationId |
fromString(String name)
Retrieves an instance of GearClassificationId from
its name . |
static GearClassificationId |
fromValue(Integer value)
Returns an instance of GearClassificationId from Integer
value . |
String |
getDescription() |
String |
getKey() |
Class<?> |
getType() |
Integer |
getValue()
Gets the underlying value of this type safe enumeration.
|
String |
getValueAsString() |
static List<Integer> |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.
|
static List<String> |
names()
Returns an unmodifiable list containing the names of the literals that are known
by this enumeration.
|
void |
setValue(Integer newValue) |
Integer |
value()
Returns an enumeration literal Integer
value . |
static GearClassificationId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GearClassificationId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GearClassificationId FAO
public static final GearClassificationId SCIENTIFIC_CRUISE
public static final GearClassificationId EU
public static final GearClassificationId CNTS
public static GearClassificationId[] values()
for (GearClassificationId c : GearClassificationId.values()) System.out.println(c);
public static GearClassificationId 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 void setValue(Integer newValue)
setValue
in interface AdagioEnumerationDef<Integer>
public String getValueAsString()
getValueAsString
in interface AdagioEnumerationDef<Integer>
public static GearClassificationId fromString(String name)
its name
.name
- the name to create the GearClassificationId from.public Integer value()
value
.
Required by JAXB2 enumeration implementationpublic static GearClassificationId fromValue(Integer value)
value
.
Required by JAXB2 enumeration implementationvalue
- the value to create the GearClassificationId from.public Integer getValue()
getValue
in interface AdagioEnumerationDef<Integer>
public String getDescription()
getDescription
in interface AdagioEnumerationDef<Integer>
public String getKey()
getKey
in interface AdagioEnumerationDef<Integer>
public Class<?> getType()
getType
in interface AdagioEnumerationDef<Integer>
public static List<Integer> literals()
Copyright © 2012–2014 IFREMER. All rights reserved.