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