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