|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Nature> fr.ybo.opendata.rennes.modele.votes.Nature
public enum Nature
Nature d'un bureaux de vote.
Enum Constant Summary | |
---|---|
CENTRE_CULTUREL
Centre culturel. |
|
COLLEGE
Collège. |
|
ELEMENTAIRE
Ecole élémentaire. |
|
GROUPE_SCOLAIRE
Groupe scolaire. |
|
GYMNASE_MOYEN
Gymnase moyen. |
Method Summary | |
---|---|
static Nature |
fromValue(String value)
Renvoie l'enum en fonction de la valeur dans le xml. |
static Nature |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Nature[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Nature ELEMENTAIRE
public static final Nature GROUPE_SCOLAIRE
public static final Nature CENTRE_CULTUREL
public static final Nature COLLEGE
public static final Nature GYMNASE_MOYEN
Method Detail |
---|
public static Nature[] values()
for (Nature c : Nature.values()) System.out.println(c);
public static Nature valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Nature fromValue(String value)
value
- valeur dans le xml.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |