Package com.sgs.common.database
Enum WavePick.WavePickStatus
- java.lang.Object
-
- java.lang.Enum<WavePick.WavePickStatus>
-
- com.sgs.common.database.WavePick.WavePickStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WavePick.WavePickStatus>
- Enclosing class:
- WavePick
public static enum WavePick.WavePickStatus extends java.lang.Enum<WavePick.WavePickStatus>
The current situation of the wave pick.- Author:
- SGSystems
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInt()
static WavePick.WavePickStatus
parse(int type)
java.lang.String
toString()
static WavePick.WavePickStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WavePick.WavePickStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETED
public static final WavePick.WavePickStatus DELETED
-
CREATED
public static final WavePick.WavePickStatus CREATED
-
PENDING
public static final WavePick.WavePickStatus PENDING
-
IN_PROGRESS
public static final WavePick.WavePickStatus IN_PROGRESS
-
COMPLETE
public static final WavePick.WavePickStatus COMPLETE
-
ON_HOLD
public static final WavePick.WavePickStatus ON_HOLD
-
-
Method Detail
-
values
public static WavePick.WavePickStatus[] 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 (WavePick.WavePickStatus c : WavePick.WavePickStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WavePick.WavePickStatus 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 WavePick.WavePickStatus parse(int type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<WavePick.WavePickStatus>
-
getInt
public int getInt()
-
-