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