Package com.sgs.common.database
Enum QALink.SignOffMode
- java.lang.Object
-
- java.lang.Enum<QALink.SignOffMode>
-
- com.sgs.common.database.QALink.SignOffMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QALink.SignOffMode>
- Enclosing class:
- QALink
public static enum QALink.SignOffMode extends java.lang.Enum<QALink.SignOffMode>
How the Event 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 QALink.SignOffMode
parse(int type)
java.lang.String
toString()
static QALink.SignOffMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QALink.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 QALink.SignOffMode NONE
-
SINGLE
public static final QALink.SignOffMode SINGLE
-
DUAL
public static final QALink.SignOffMode DUAL
-
-
Method Detail
-
values
public static QALink.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 (QALink.SignOffMode c : QALink.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 QALink.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 QALink.SignOffMode parse(int type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<QALink.SignOffMode>
-
getInt
public int getInt()
-
-