public enum CustomerOrderReqEnumeration extends Enum<CustomerOrderReqEnumeration>
Java class for CustomerOrderReqEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomerOrderReqEnumeration">
<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 CustomerOrderReqEnumeration |
fromValue(String v) |
String |
value() |
static CustomerOrderReqEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerOrderReqEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerOrderReqEnumeration OPEN
public static final CustomerOrderReqEnumeration CLOSED
public static final CustomerOrderReqEnumeration BOTH
public static CustomerOrderReqEnumeration[] values()
for (CustomerOrderReqEnumeration c : CustomerOrderReqEnumeration.values()) System.out.println(c);
public static CustomerOrderReqEnumeration 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 CustomerOrderReqEnumeration fromValue(String v)
Copyright © 2018. All rights reserved.