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