public enum TypeMouvmtStock extends Enum<TypeMouvmtStock> implements CodeIdentifiable
Modifier and Type | Method and Description |
---|---|
FStTypeMouv |
createFStTypeMouv()
Comme il a été choisi dans des temps très anciens de mettre les types de mvt en base (des constantes pourtant), et de les utiliser
également en constantes via une enum dans le code sans aller les chercher dans la bdd, parfois ds le code on peut croiser des
new FStTypeMouv(), cpdt cela signifie que l'indicateur de valorisation pr l'affaire (également constant) ne sera pas renseigné, or
dans le controle de la création de mvts, on a besoin de le connaître pr bien générer la valorisation !
|
String |
getCode() |
boolean |
isValorisationAffaire() |
String |
value() |
static TypeMouvmtStock |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeMouvmtStock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeMouvmtStock SORTIE_BL_CLIENT
public static final TypeMouvmtStock ENTREE_BL_CLIENT
public static final TypeMouvmtStock SORTIE_RETOUR_FOURNISSEUR
public static final TypeMouvmtStock ENTREE_RECEPTION_FOURNISSEUR
public static final TypeMouvmtStock SORTIE_MANUELLE
public static final TypeMouvmtStock ENTREE_MANUELLE
public static final TypeMouvmtStock SORTIE_CONSOMMABLE
public static final TypeMouvmtStock ENTREE_CONSOMMABLE
public static final TypeMouvmtStock ENTREE_TRANSFERT
public static final TypeMouvmtStock SORTIE_TRANSFERT
public static final TypeMouvmtStock SORTIE_INVENTAIRE
public static final TypeMouvmtStock ENTREE_INVENTAIRE
public static final TypeMouvmtStock SORTIE_DEMANDE_MATERIEL
public static final TypeMouvmtStock ENTREE_DEMANDE_MATERIEL
public static final TypeMouvmtStock SORTIE_TRANSFERT_AFFAIRE
public static final TypeMouvmtStock ENTREE_TRANSFERT_AFFAIRE
public static final TypeMouvmtStock SORTIE_DEPOT_MOUVEMENT_PARC
public static final TypeMouvmtStock ENTREE_DEPOT_MOUVEMENT_PARC
public static final TypeMouvmtStock SORTIE_INTERVENTION_RESERVATION
public static final TypeMouvmtStock ENTREE_INTERVENTION_RESERVATION
public static final TypeMouvmtStock SORTIE_INTERVENTION_ANNULATION_RESA
public static final TypeMouvmtStock ENTREE_INTERVENTION_ANNULATION_RESA
public static final TypeMouvmtStock SORTIE_INTERVENTION_CONFIRMATION_RESA
public static TypeMouvmtStock[] values()
for (TypeMouvmtStock c : TypeMouvmtStock.values()) System.out.println(c);
public static TypeMouvmtStock 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 isValorisationAffaire()
public FStTypeMouv createFStTypeMouv()
Copyright © 2016. All rights reserved.