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