Package com.sgs.common.database
Enum Formula.SignOffMode
- java.lang.Object
-
- java.lang.Enum<Formula.SignOffMode>
-
- com.sgs.common.database.Formula.SignOffMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Formula.SignOffMode>
- Enclosing class:
- Formula
public static enum Formula.SignOffMode extends java.lang.Enum<Formula.SignOffMode>
How the Formula is signed off. None indicates no signoff is required. Single requires only the Supervisor to signoff. Dual requires both the Operator and Supervisor to signoff- Author:
- SGSystems
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt()
static Formula.SignOffMode
parse(int type)
java.lang.String
toString()
static Formula.SignOffMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Formula.SignOffMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Formula.SignOffMode NONE
-
SINGLE
public static final Formula.SignOffMode SINGLE
-
DUAL
public static final Formula.SignOffMode DUAL
-
WORKFLOW
public static final Formula.SignOffMode WORKFLOW
-
-
Method Detail
-
values
public static Formula.SignOffMode[] 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.SignOffMode c : Formula.SignOffMode.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.SignOffMode 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.SignOffMode parse(int type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Formula.SignOffMode>
-
getInt
public int getInt()
-
-