public enum QuantityAdjustment extends java.lang.Enum<QuantityAdjustment>
| Enum Constant and Description |
|---|
MAX
Reduced to honor the maximum allowed quantity
|
MIN
Raised to honor the minimum allowed quantity
|
STOCK
Reduced to the maximum available stock quantity
|
| Modifier and Type | Method and Description |
|---|---|
static QuantityAdjustment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QuantityAdjustment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuantityAdjustment MIN
public static final QuantityAdjustment MAX
public static final QuantityAdjustment STOCK
public static QuantityAdjustment[] values()
for (QuantityAdjustment c : QuantityAdjustment.values()) System.out.println(c);
public static QuantityAdjustment 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 null