public enum XPFShipmentTypeEnum extends Enum<XPFShipmentTypeEnum>
Enum Constant and Description |
---|
ELECTRONIC
Electronic shipment type.
|
PHYSICAL
Physical shipment type.
|
SERVICE_ORDINAL
Service shipment type ordinal.
|
Modifier and Type | Method and Description |
---|---|
static XPFShipmentTypeEnum |
fromOrdinal(int ordinal)
Create the shipment type from ordinal.
|
static XPFShipmentTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPFShipmentTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPFShipmentTypeEnum PHYSICAL
public static final XPFShipmentTypeEnum ELECTRONIC
public static final XPFShipmentTypeEnum SERVICE_ORDINAL
public static XPFShipmentTypeEnum[] values()
for (XPFShipmentTypeEnum c : XPFShipmentTypeEnum.values()) System.out.println(c);
public static XPFShipmentTypeEnum 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 static XPFShipmentTypeEnum fromOrdinal(int ordinal)
ordinal
- the ordinalCopyright © 2024. All rights reserved.