public enum ShipmentStatusType extends Enum<ShipmentStatusType>
Clase Java para ShipmentStatusType.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="ShipmentStatusType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Delivered"/>
<enumeration value="Announced"/>
<enumeration value="On Transport"/>
<enumeration value="Accepted"/>
<enumeration value="Rejected"/>
<enumeration value="In Work"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACCEPTED |
ANNOUNCED |
DELIVERED |
IN_WORK |
ON_TRANSPORT |
REJECTED |
| Modifier and Type | Method and Description |
|---|---|
static ShipmentStatusType |
fromValue(String v) |
String |
value() |
static ShipmentStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShipmentStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShipmentStatusType DELIVERED
public static final ShipmentStatusType ANNOUNCED
public static final ShipmentStatusType ON_TRANSPORT
public static final ShipmentStatusType ACCEPTED
public static final ShipmentStatusType REJECTED
public static final ShipmentStatusType IN_WORK
public static ShipmentStatusType[] values()
for (ShipmentStatusType c : ShipmentStatusType.values()) System.out.println(c);
public static ShipmentStatusType 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 ShipmentStatusType fromValue(String v)
Copyright © 2015. All Rights Reserved.