public enum StatutEnum extends Enum<StatutEnum>
| Enum Constant and Description |
|---|
CHARGE |
DISPONIBLE |
LIVRE |
PLANIFIE |
SEMI_DISPONIBLE |
SEMI_LIVRE |
TERMINE |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
Color |
getColor() |
static StatutEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatutEnum |
valueOfFromCode(int code) |
static StatutEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatutEnum PLANIFIE
public static final StatutEnum SEMI_DISPONIBLE
public static final StatutEnum DISPONIBLE
public static final StatutEnum CHARGE
public static final StatutEnum SEMI_LIVRE
public static final StatutEnum LIVRE
public static final StatutEnum TERMINE
public static StatutEnum[] values()
for (StatutEnum c : StatutEnum.values()) System.out.println(c);
public static StatutEnum 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 getCode()
public Color getColor()
public static StatutEnum valueOfFromCode(int code)
Copyright © 2008-2013 Cybelia. All Rights Reserved.