public enum SampleRequestStatus extends Enum<SampleRequestStatus> implements IDataTransferModel
Enum Constant and Description |
---|
FULFILLED |
IN_CART |
PENDING |
REJECTED |
Modifier and Type | Method and Description |
---|---|
static SampleRequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleRequestStatus IN_CART
public static final SampleRequestStatus PENDING
public static final SampleRequestStatus FULFILLED
public static final SampleRequestStatus REJECTED
public static SampleRequestStatus[] values()
for (SampleRequestStatus c : SampleRequestStatus.values()) System.out.println(c);
public static SampleRequestStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.