public enum EtatSessionInter extends Enum<EtatSessionInter> implements CodeIdentifiable
Enum Constant and Description |
---|
ACTIVE |
ANNULE |
ARCHIVE |
CONFIRME |
ENCOURS |
PROGRAMME |
TERMINE |
Modifier and Type | Method and Description |
---|---|
static List<String> |
etatActif() |
String |
getCode() |
static boolean |
isActif(EtatSessionInter etatSessionInter) |
static boolean |
isLivrable(EtatSessionInter etatSessionInter) |
String |
value() |
static EtatSessionInter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtatSessionInter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtatSessionInter PROGRAMME
public static final EtatSessionInter ACTIVE
public static final EtatSessionInter CONFIRME
public static final EtatSessionInter ENCOURS
public static final EtatSessionInter TERMINE
public static final EtatSessionInter ARCHIVE
public static final EtatSessionInter ANNULE
public static EtatSessionInter[] values()
for (EtatSessionInter c : EtatSessionInter.values()) System.out.println(c);
public static EtatSessionInter 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 static boolean isActif(EtatSessionInter etatSessionInter)
public static boolean isLivrable(EtatSessionInter etatSessionInter)
public final String value()
public String getCode()
getCode
in interface CodeIdentifiable
Copyright © 2016. All rights reserved.