public enum SaleTypeId extends Enum<SaleTypeId> implements Serializable
| Enum Constant and Description |
|---|
COOPERATIVE |
CRIEE |
HORS_CONTROLE |
MARCHE_EXTERIEUR |
MARCHE_INTERIEUR |
MAREYEUR |
POISSONNIER |
PRODUCTEUR |
RESTAURATION_COLLECTIVE |
RESTAURATION_PRIVEE |
RETRAIT_OP |
RETRAIT_SANITAIRE |
SUPERMARCHE |
TRANSFORMATEUR |
VENTE_PARTICULIER |
| Modifier and Type | Method and Description |
|---|---|
static SaleTypeId |
fromInteger(Integer value)
Creates an instance of SaleTypeId from
value. |
String |
getName()
Gets the underlying name of this type safe enumeration.
|
Integer |
getValue()
Gets the underlying value of this type safe enumeration.
|
boolean |
hasInitError() |
static List<Integer> |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.
|
static List<String> |
names()
Returns an unmodifiable list containing the names of the literals that are known
by this enumeration.
|
String |
toString() |
static SaleTypeId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaleTypeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaleTypeId COOPERATIVE
public static final SaleTypeId CRIEE
public static final SaleTypeId HORS_CONTROLE
public static final SaleTypeId MARCHE_EXTERIEUR
public static final SaleTypeId MARCHE_INTERIEUR
public static final SaleTypeId MAREYEUR
public static final SaleTypeId POISSONNIER
public static final SaleTypeId PRODUCTEUR
public static final SaleTypeId RESTAURATION_COLLECTIVE
public static final SaleTypeId RESTAURATION_PRIVEE
public static final SaleTypeId RETRAIT_OP
public static final SaleTypeId RETRAIT_SANITAIRE
public static final SaleTypeId SUPERMARCHE
public static final SaleTypeId TRANSFORMATEUR
public static final SaleTypeId VENTE_PARTICULIER
public static SaleTypeId[] values()
for (SaleTypeId c : SaleTypeId.values()) System.out.println(c);
public static SaleTypeId 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 boolean hasInitError()
public String toString()
toString in class Enum<SaleTypeId>Object.toString()public static SaleTypeId fromInteger(Integer value)
value.value - the value to create the SaleTypeId from.public Integer getValue()
public String getName()
public static List<Integer> literals()
Copyright © 2013. All Rights Reserved.