public static enum Vote.Status extends Enum<Vote.Status>
Enum Constant and Description |
---|
STATUS_NOT_VALIDATED |
STATUS_VALIDATED |
Modifier and Type | Method and Description |
---|---|
String |
getLibelle() |
int |
getValeur() |
static Vote.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Vote.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Vote.Status STATUS_VALIDATED
public static final Vote.Status STATUS_NOT_VALIDATED
public static Vote.Status[] values()
for (Vote.Status c : Vote.Status.values()) System.out.println(c);
public static Vote.Status 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 int getValeur()
public String getLibelle()
Copyright © 2020 City of Paris. All rights reserved.