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