public enum CustomerOrderReqType extends Enum<CustomerOrderReqType>
Java class for CustomerOrderReqType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomerOrderReqType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Open"/>
<enumeration value="Closed"/>
<enumeration value="Both"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BOTH
All type of CustomerOrder should be listed
|
CLOSED
Completed customer orders.
|
OPEN
Customer order not completed.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomerOrderReqType |
fromValue(String v)
From value customer order req type.
|
String |
value()
Value string.
|
static CustomerOrderReqType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerOrderReqType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerOrderReqType OPEN
public static final CustomerOrderReqType CLOSED
public static final CustomerOrderReqType BOTH
public static CustomerOrderReqType[] values()
for (CustomerOrderReqType c : CustomerOrderReqType.values()) System.out.println(c);
public static CustomerOrderReqType 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 nullpublic String value()
public static CustomerOrderReqType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.