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