public enum MatrixId extends Enum<MatrixId> implements Serializable, AdagioEnumerationDef<Integer>
Enum Constant and Description |
---|
FISHING_METIER
TODO: Model Documentation for Enumeration Literal FISHING_METIER value 6
|
GEAR
TODO: Model Documentation for Enumeration Literal GEAR value 3
|
OPERATION
TODO: Model Documentation for Enumeration Literal OPERATION value 21
|
PRODUCE_BATCH
TODO: Model Documentation for Enumeration Literal PRODUCE_BATCH value 1
|
VESSEL
TODO: Model Documentation for Enumeration Literal VESSEL value 5
|
CONFIG_OPTION_PREFIX
Modifier and Type | Method and Description |
---|---|
static MatrixId |
fromString(String name)
Retrieves an instance of MatrixId from
its name . |
static MatrixId |
fromValue(Integer value)
Returns an instance of MatrixId 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 MatrixId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatrixId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatrixId GEAR
public static final MatrixId VESSEL
public static final MatrixId FISHING_METIER
public static final MatrixId OPERATION
public static final MatrixId PRODUCE_BATCH
public static MatrixId[] values()
for (MatrixId c : MatrixId.values()) System.out.println(c);
public static MatrixId 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 MatrixId fromString(String name)
its name
.name
- the name to create the MatrixId from.public Integer value()
value
.
Required by JAXB2 enumeration implementationpublic static MatrixId fromValue(Integer value)
value
.
Required by JAXB2 enumeration implementationvalue
- the value to create the MatrixId 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.