Package org.openwms.wms.receiving.api
Enum Class PositionState
- All Implemented Interfaces:
Serializable
,Comparable<PositionState>
,Constable
An PositionState enum defines all possible states of any kind of ReceivingOrderPosition.
- Author:
- Heiko Scherrer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf the ReceivingOrderPosition has been cancelled.ReceivingOrderPosition has been completed (captured) successfully.When the ReceivingOrderPosition has been created.ReceivingOrderPosition has not been captured completely but the ReceivingOrder has been closed.When the ReceivingOrderPosition is currently in the receiving process and goods are captured. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PositionState
Returns the enum constant of this class with the specified name.static PositionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
When the ReceivingOrderPosition has been created. -
PROCESSING
When the ReceivingOrderPosition is currently in the receiving process and goods are captured. -
CANCELED
If the ReceivingOrderPosition has been cancelled. -
PARTIALLY_COMPLETED
ReceivingOrderPosition has not been captured completely but the ReceivingOrder has been closed. -
COMPLETED
ReceivingOrderPosition has been completed (captured) successfully.
-
-
Constructor Details
-
PositionState
private PositionState()
-
-
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
-