public enum Endorsement extends java.lang.Enum<Endorsement>
Enum Constant and Description |
---|
ADDRESS_SERVICE_REQUESTED |
NONE |
RETURN_SERVICE_REQUESTED |
TEMP_RETURN_SERVICE_REQUESTED |
Modifier and Type | Method and Description |
---|---|
static Endorsement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Endorsement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Endorsement ADDRESS_SERVICE_REQUESTED
public static final Endorsement RETURN_SERVICE_REQUESTED
public static final Endorsement TEMP_RETURN_SERVICE_REQUESTED
public static final Endorsement NONE
public static Endorsement[] values()
for (Endorsement c : Endorsement.values()) System.out.println(c);
public static Endorsement 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