public static enum WorklistConstants.Priority extends java.lang.Enum<WorklistConstants.Priority>
| Enum Constant and Description |
|---|
ACTION_REQUIRED
The priority "action required" (int value 7000).
|
HIGH
The priority "high" (int value 5000).
|
LOW
The priority "low" (int value 3000).
|
NORMAL
The priority "normal" (int value 4000).
|
NOT_SET
The priority "not set" (int value 0).
|
ON_HOLD
The priority "on hold" (int value 1000).
|
URGENT
The priority "urgent" (int value 6000).
|
VERY_LOW
The priority "very low" (int value 2000).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority() |
static java.lang.String |
toString(java.util.ResourceBundle bundle,
int priority)
Returns a string representation of the priority.
|
static java.lang.String[] |
valueLabels(java.util.ResourceBundle bundle) |
static WorklistConstants.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WorklistConstants.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorklistConstants.Priority NOT_SET
public static final WorklistConstants.Priority ON_HOLD
public static final WorklistConstants.Priority VERY_LOW
public static final WorklistConstants.Priority LOW
public static final WorklistConstants.Priority NORMAL
public static final WorklistConstants.Priority HIGH
public static final WorklistConstants.Priority URGENT
public static final WorklistConstants.Priority ACTION_REQUIRED
public static WorklistConstants.Priority[] values()
for (WorklistConstants.Priority c : WorklistConstants.Priority.values()) System.out.println(c);
public static WorklistConstants.Priority valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getPriority()
public static java.lang.String toString(java.util.ResourceBundle bundle,
int priority)
bundle - The resource bundle with the localised names or null, if
the english defaults should be usedpriority - public static java.lang.String[] valueLabels(java.util.ResourceBundle bundle)
bundle - The bundle for translations or null for the default.