Package com.sgs.common.database
Enum Reason.ReasonType
- java.lang.Object
-
- java.lang.Enum<Reason.ReasonType>
-
- com.sgs.common.database.Reason.ReasonType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Reason.ReasonType>
- Enclosing class:
- Reason
public static enum Reason.ReasonType extends java.lang.Enum<Reason.ReasonType>
The place where the reason should be prompted for- Author:
- SGSystems
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
BATCH_ABORT
BATCH_EDIT
BATCH_SIGNOFF
BATCH_STOCK_WRITEOFF
CAPA
DOWNTIME
ESTABLISHMENT
FORMULA_CHANGE
PALLET_ADJUST
PALLET_HOLD
QA_EVENT_SIGNOFF
SCALE_ONLY
STOCK_ADJUST
STOCK_RECEIPT
STOCK_WITHDRAW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.jdesktop.swingx.JXComboBox
getCombobox()
int
getInt()
static java.util.Collection<Reason.ReasonType>
getValuesAlphabetical()
static Reason.ReasonType
parse(int type)
static Reason.ReasonType
parse(java.lang.String type)
java.lang.String
toString()
static Reason.ReasonType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Reason.ReasonType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final Reason.ReasonType ALL
-
BATCH_SIGNOFF
public static final Reason.ReasonType BATCH_SIGNOFF
-
STOCK_RECEIPT
public static final Reason.ReasonType STOCK_RECEIPT
-
STOCK_ADJUST
public static final Reason.ReasonType STOCK_ADJUST
-
PALLET_ADJUST
public static final Reason.ReasonType PALLET_ADJUST
-
PALLET_HOLD
public static final Reason.ReasonType PALLET_HOLD
-
BATCH_STOCK_WRITEOFF
public static final Reason.ReasonType BATCH_STOCK_WRITEOFF
-
SCALE_ONLY
public static final Reason.ReasonType SCALE_ONLY
-
BATCH_ABORT
public static final Reason.ReasonType BATCH_ABORT
-
FORMULA_CHANGE
public static final Reason.ReasonType FORMULA_CHANGE
-
DOWNTIME
public static final Reason.ReasonType DOWNTIME
-
ESTABLISHMENT
public static final Reason.ReasonType ESTABLISHMENT
-
STOCK_WITHDRAW
public static final Reason.ReasonType STOCK_WITHDRAW
-
QA_EVENT_SIGNOFF
public static final Reason.ReasonType QA_EVENT_SIGNOFF
-
CAPA
public static final Reason.ReasonType CAPA
-
BATCH_EDIT
public static final Reason.ReasonType BATCH_EDIT
-
-
Method Detail
-
values
public static Reason.ReasonType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Reason.ReasonType c : Reason.ReasonType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Reason.ReasonType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public static Reason.ReasonType parse(int type)
-
parse
public static Reason.ReasonType parse(java.lang.String type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Reason.ReasonType>
-
getInt
public int getInt()
-
getCombobox
public static org.jdesktop.swingx.JXComboBox getCombobox()
-
getValuesAlphabetical
public static java.util.Collection<Reason.ReasonType> getValuesAlphabetical()
-
-