public enum AggregationLevelId extends Enum<AggregationLevelId> implements Serializable
| Enum Constant and Description |
|---|
DAY |
FISHING_TRIP |
HOUR |
MONTH |
NONE
= pas d'agrégation, ou bien période d'agrégation inconnue.
|
SEMESTER |
TRIMESTER |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static AggregationLevelId |
fromInteger(Integer value)
Creates an instance of AggregationLevelId from
value. |
String |
getName()
Gets the underlying name of this type safe enumeration.
|
Integer |
getValue()
Gets the underlying value of this type safe enumeration.
|
boolean |
hasInitError() |
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.
|
String |
toString() |
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
= pas d'agrégation, ou bien période d'agrégation inconnue.
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 boolean hasInitError()
public String toString()
toString in class Enum<AggregationLevelId>Object.toString()public static AggregationLevelId fromInteger(Integer value)
value.value - the value to create the AggregationLevelId from.public Integer getValue()
public String getName()
public static List<Integer> literals()
Copyright © 2013. All Rights Reserved.