public enum NatureProduit extends Enum<NatureProduit>
| Enum Constant and Description |
|---|
DIVERS |
FORMATION |
LOGISTIQUE |
| Modifier and Type | Method and Description |
|---|---|
static String |
getLibelleByNature(Double nature) |
String |
libelle() |
Double |
value() |
static NatureProduit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NatureProduit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NatureProduit FORMATION
public static final NatureProduit DIVERS
public static final NatureProduit LOGISTIQUE
public static NatureProduit[] values()
for (NatureProduit c : NatureProduit.values()) System.out.println(c);
public static NatureProduit 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 Double value()
public final String libelle()
Copyright © 2016. All rights reserved.