Package com.sgs.common.database
Enum FormulaStep.FormulaStepType
- java.lang.Object
-
- java.lang.Enum<FormulaStep.FormulaStepType>
-
- com.sgs.common.database.FormulaStep.FormulaStepType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FormulaStep.FormulaStepType>
- Enclosing class:
- FormulaStep
public static enum FormulaStep.FormulaStepType extends java.lang.Enum<FormulaStep.FormulaStepType>
The type of a formula step. This can be anything from weighing, to a question to an optional routine containing more formula steps- Author:
- SGSystems
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BULK_DEPOSIT
BULK_DISPENSE
BULK_MESSAGE
COLLATION
CONTAINER_CHANGE
KEY_ENTRY
MESSAGE
OPTIONAL
PRODUCT_COMPONENT
PRODUCT_PACKAGING
QUESTION
REVISE
SCAN
SUBMIX
SUSPEND
WEIGH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Object[]
getBatchTypes()
int
getInt()
static java.lang.Object[]
getProductTypes()
static FormulaStep.FormulaStepType
parse(int type)
java.lang.String
toString()
static FormulaStep.FormulaStepType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FormulaStep.FormulaStepType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEIGH
public static final FormulaStep.FormulaStepType WEIGH
-
KEY_ENTRY
public static final FormulaStep.FormulaStepType KEY_ENTRY
-
QUESTION
public static final FormulaStep.FormulaStepType QUESTION
-
MESSAGE
public static final FormulaStep.FormulaStepType MESSAGE
-
CONTAINER_CHANGE
public static final FormulaStep.FormulaStepType CONTAINER_CHANGE
-
PRODUCT_COMPONENT
public static final FormulaStep.FormulaStepType PRODUCT_COMPONENT
-
PRODUCT_PACKAGING
public static final FormulaStep.FormulaStepType PRODUCT_PACKAGING
-
SUBMIX
public static final FormulaStep.FormulaStepType SUBMIX
-
COLLATION
public static final FormulaStep.FormulaStepType COLLATION
-
BULK_DISPENSE
public static final FormulaStep.FormulaStepType BULK_DISPENSE
-
OPTIONAL
public static final FormulaStep.FormulaStepType OPTIONAL
-
SCAN
public static final FormulaStep.FormulaStepType SCAN
-
REVISE
public static final FormulaStep.FormulaStepType REVISE
-
SUSPEND
public static final FormulaStep.FormulaStepType SUSPEND
-
BULK_MESSAGE
public static final FormulaStep.FormulaStepType BULK_MESSAGE
-
BULK_DEPOSIT
public static final FormulaStep.FormulaStepType BULK_DEPOSIT
-
-
Method Detail
-
values
public static FormulaStep.FormulaStepType[] 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 (FormulaStep.FormulaStepType c : FormulaStep.FormulaStepType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormulaStep.FormulaStepType 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 FormulaStep.FormulaStepType parse(int type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<FormulaStep.FormulaStepType>
-
getInt
public int getInt()
-
getBatchTypes
public static java.lang.Object[] getBatchTypes()
-
getProductTypes
public static java.lang.Object[] getProductTypes()
-
-