public enum EtatFactureClient extends Enum<EtatFactureClient> implements Localisable, CodeIdentifiable
Enum Constant and Description |
---|
NON_VALIDEE |
SOLDE |
VALIDE |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static EtatFactureClient |
getEtatFrom(Date dtValide,
Double solde) |
static EtatFactureClient |
getEtatFrom(FactureClientResultatRecherche facture) |
String |
getLibelle() |
static EtatFactureClient |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtatFactureClient[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtatFactureClient NON_VALIDEE
public static final EtatFactureClient VALIDE
public static final EtatFactureClient SOLDE
public static EtatFactureClient[] values()
for (EtatFactureClient c : EtatFactureClient.values()) System.out.println(c);
public static EtatFactureClient 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 EtatFactureClient getEtatFrom(FactureClientResultatRecherche facture)
public String getCode()
getCode
in interface CodeIdentifiable
public String getLibelle()
getLibelle
in interface Localisable
public static EtatFactureClient getEtatFrom(Date dtValide, Double solde)
Copyright © 2016. All rights reserved.