Package org.openwms.tms
Enum Class PriorityLevel
- All Implemented Interfaces:
Serializable
,Comparable<PriorityLevel>
,Constable
A PriorityLevel is used to prioritize
TransportOrder
s.- Author:
- Heiko Scherrer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
Dear JPA...private
PriorityLevel
(int order) Initializing constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
Get the order.static PriorityLevel
static PriorityLevel
Returns the enum constant of this class with the specified name.static PriorityLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOWEST
Lowest priority. -
LOW
Low priority. -
NORMAL
Standard priority. -
HIGH
High priority. -
HIGHEST
Highest priority.
-
-
Field Details
-
order
private int order
-
-
Constructor Details
-
PriorityLevel
private PriorityLevel()Dear JPA... -
PriorityLevel
private PriorityLevel(int order) Initializing constructor.- Parameters:
order
- The order
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
-
getOrder
public int getOrder()Get the order.- Returns:
- the order.
-