public static enum CollectorPropertyService.AvailabilityStatus extends java.lang.Enum<CollectorPropertyService.AvailabilityStatus>
| Enum Constant and Description |
|---|
BACKORDERABLE |
DERIVED |
DISCONTINUED |
IN_STOCK |
OUT_OF_STOCK |
PREORDERABLE |
UNAVAILABLE |
| Modifier and Type | Method and Description |
|---|---|
static CollectorPropertyService.AvailabilityStatus |
getAvailabilityStatus(int pInventoryManagerStatus)
Maps the constants that the InventoryManager can return to one of the enum values.
|
int |
getInventoryManagerStatus()
Maps an AvailabilityStatus enum value to a constant used by the InventoryManager.
|
static CollectorPropertyService.AvailabilityStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectorPropertyService.AvailabilityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectorPropertyService.AvailabilityStatus UNAVAILABLE
public static final CollectorPropertyService.AvailabilityStatus BACKORDERABLE
public static final CollectorPropertyService.AvailabilityStatus DERIVED
public static final CollectorPropertyService.AvailabilityStatus DISCONTINUED
public static final CollectorPropertyService.AvailabilityStatus IN_STOCK
public static final CollectorPropertyService.AvailabilityStatus OUT_OF_STOCK
public static final CollectorPropertyService.AvailabilityStatus PREORDERABLE
public static CollectorPropertyService.AvailabilityStatus[] values()
for (CollectorPropertyService.AvailabilityStatus c : CollectorPropertyService.AvailabilityStatus.values()) System.out.println(c);
public static CollectorPropertyService.AvailabilityStatus 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 getInventoryManagerStatus()
public static CollectorPropertyService.AvailabilityStatus getAvailabilityStatus(int pInventoryManagerStatus)
pInventoryManagerStatus - int constant returned from the InventoryManager