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