public enum ShipmentStatusType extends java.lang.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(java.lang.String v) |
java.lang.String |
value() |
static ShipmentStatusType |
valueOf(java.lang.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(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 nullpublic java.lang.String value()
public static ShipmentStatusType fromValue(java.lang.String v)
Copyright © 2014. All Rights Reserved.