Package com.sgs.common.database
Enum Formula.ProductOperationalMode
- java.lang.Object
-
- java.lang.Enum<Formula.ProductOperationalMode>
-
- com.sgs.common.database.Formula.ProductOperationalMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Formula.ProductOperationalMode>
- Enclosing class:
- Formula
public static enum Formula.ProductOperationalMode extends java.lang.Enum<Formula.ProductOperationalMode>
Product job operational types Multi-lot allows for the assignment of a variety of stock for a single commodity rather than just one box/item FIFO assumptions are made on stock so accuracy is less but also it means that operators don't constantly need to change out packaging lot codes/pallets once a run starts Multi-lot key entry performs the same as multi-lot but has a key entry panel rather than a weigh panel.- Author:
- SGSystems
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIXED_COMPONENT
MULTI_LOT
MULTI_LOT_KEY_ENTRY
STANDARD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt()
static Formula.ProductOperationalMode
parse(int type)
java.lang.String
toString()
static Formula.ProductOperationalMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Formula.ProductOperationalMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final Formula.ProductOperationalMode STANDARD
-
MULTI_LOT
public static final Formula.ProductOperationalMode MULTI_LOT
-
MULTI_LOT_KEY_ENTRY
public static final Formula.ProductOperationalMode MULTI_LOT_KEY_ENTRY
-
MIXED_COMPONENT
public static final Formula.ProductOperationalMode MIXED_COMPONENT
-
-
Method Detail
-
values
public static Formula.ProductOperationalMode[] 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 (Formula.ProductOperationalMode c : Formula.ProductOperationalMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Formula.ProductOperationalMode 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 Formula.ProductOperationalMode parse(int type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Formula.ProductOperationalMode>
-
getInt
public int getInt()
-
-