public enum GMAOTypePlage extends Enum<GMAOTypePlage> implements CodeIdentifiable, Localisable
Enum Constant and Description |
---|
DIMANCHE |
JEUDI |
JOUR_OUVRE |
LUNDI |
MARDI |
MERCREDI |
SAMEDI |
SEMAINE_COMPLETE |
SEMAINE_OUVRABLE |
SEMAINE_OUVREE |
VENDREDI |
WEEK_END |
Modifier and Type | Method and Description |
---|---|
static GMAOTypePlage |
getByCode(String code) |
static GMAOTypePlage |
getByNum(int num) |
String |
getCode() |
String |
getLibelle() |
int |
getNum() |
static List<String> |
getPlagesOKPourJour(int numJour) |
String |
value() |
static GMAOTypePlage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GMAOTypePlage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GMAOTypePlage LUNDI
public static final GMAOTypePlage MARDI
public static final GMAOTypePlage MERCREDI
public static final GMAOTypePlage JEUDI
public static final GMAOTypePlage VENDREDI
public static final GMAOTypePlage SAMEDI
public static final GMAOTypePlage DIMANCHE
public static final GMAOTypePlage JOUR_OUVRE
public static final GMAOTypePlage SEMAINE_OUVREE
public static final GMAOTypePlage WEEK_END
public static final GMAOTypePlage SEMAINE_OUVRABLE
public static final GMAOTypePlage SEMAINE_COMPLETE
public static GMAOTypePlage[] values()
for (GMAOTypePlage c : GMAOTypePlage.values()) System.out.println(c);
public static GMAOTypePlage 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 final String value()
public final int getNum()
public static final GMAOTypePlage getByNum(int num)
public static final GMAOTypePlage getByCode(String code)
public String getLibelle()
getLibelle
in interface Localisable
public String getCode()
getCode
in interface CodeIdentifiable
Copyright © 2016. All rights reserved.