public enum EtatOpportunite extends Enum<EtatOpportunite> implements CodeIdentifiable
Enum Constant and Description |
---|
ABANDON |
ACCEPTE |
DEMANDE |
ECHEC |
OFFRE |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsCode(String code) |
String |
getCode() |
String |
value() |
static EtatOpportunite |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtatOpportunite[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtatOpportunite DEMANDE
public static final EtatOpportunite ABANDON
public static final EtatOpportunite OFFRE
public static final EtatOpportunite ECHEC
public static final EtatOpportunite ACCEPTE
public static EtatOpportunite[] values()
for (EtatOpportunite c : EtatOpportunite.values()) System.out.println(c);
public static EtatOpportunite 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 boolean equalsCode(String code)
public String getCode()
getCode
in interface CodeIdentifiable
Copyright © 2016. All rights reserved.