public enum GMAOPeriodiciteContrat extends Enum<GMAOPeriodiciteContrat> implements CodeIdentifiable, IdentIdentifiable, Localisable
Enum Constant and Description |
---|
ANNUELLE |
MENSUELLE |
SEMESTRIELLE |
TRIMESTRIELLE |
UNIQUE |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
Date |
getDateDebutPeriode(Date date) |
Date |
getDateNextPeriode(Date date) |
Integer |
getDuree() |
static Integer |
getDuree(String codePeriodicite) |
Double |
getIdent() |
String |
getLibelle() |
static GMAOPeriodiciteContrat |
getPeriodicite(String codePeriodicite) |
String |
value()
Deprecated.
|
static GMAOPeriodiciteContrat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GMAOPeriodiciteContrat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GMAOPeriodiciteContrat MENSUELLE
public static final GMAOPeriodiciteContrat TRIMESTRIELLE
public static final GMAOPeriodiciteContrat SEMESTRIELLE
public static final GMAOPeriodiciteContrat ANNUELLE
public static final GMAOPeriodiciteContrat UNIQUE
public static GMAOPeriodiciteContrat[] values()
for (GMAOPeriodiciteContrat c : GMAOPeriodiciteContrat.values()) System.out.println(c);
public static GMAOPeriodiciteContrat 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 null@Deprecated public final String value()
public String getCode()
getCode
in interface CodeIdentifiable
public String getLibelle()
getLibelle
in interface Localisable
public Integer getDuree()
public Double getIdent()
getIdent
in interface IdentIdentifiable
public static GMAOPeriodiciteContrat getPeriodicite(String codePeriodicite)
Copyright © 2016. All rights reserved.