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