io.github.dft.rnl.model.RQAccessorial Maven / Gradle / Ivy
package io.github.dft.rnl.model;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for RQAccessorial.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="RQAccessorial">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="InsideDelivery"/>
* <enumeration value="ResidentialPickup"/>
* <enumeration value="ResidentialDelivery"/>
* <enumeration value="OriginLiftgate"/>
* <enumeration value="DestinationLiftgate"/>
* <enumeration value="DeliveryNotification"/>
* <enumeration value="SortAndSegregate"/>
* <enumeration value="Freezable"/>
* <enumeration value="Hazmat"/>
* <enumeration value="InsidePickup"/>
* <enumeration value="LimitedAccessPickup"/>
* <enumeration value="DockPickup"/>
* <enumeration value="DockDelivery"/>
* <enumeration value="AirportPickup"/>
* <enumeration value="AirportDelivery"/>
* <enumeration value="LimitedAccessDelivery"/>
* <enumeration value="CubicFeet"/>
* <enumeration value="KeepFromFreezing"/>
* <enumeration value="DoorToDoor"/>
* <enumeration value="COD"/>
* <enumeration value="OverDimension"/>
* </restriction>
* </simpleType>
*
*/
@XmlType(name = "RQAccessorial")
@XmlEnum
public enum RQAccessorial {
@XmlEnumValue("InsideDelivery")
INSIDE_DELIVERY("InsideDelivery"),
@XmlEnumValue("ResidentialPickup")
RESIDENTIAL_PICKUP("ResidentialPickup"),
@XmlEnumValue("ResidentialDelivery")
RESIDENTIAL_DELIVERY("ResidentialDelivery"),
@XmlEnumValue("OriginLiftgate")
ORIGIN_LIFTGATE("OriginLiftgate"),
@XmlEnumValue("DestinationLiftgate")
DESTINATION_LIFTGATE("DestinationLiftgate"),
@XmlEnumValue("DeliveryNotification")
DELIVERY_NOTIFICATION("DeliveryNotification"),
@XmlEnumValue("SortAndSegregate")
SORT_AND_SEGREGATE("SortAndSegregate"),
@XmlEnumValue("Freezable")
FREEZABLE("Freezable"),
@XmlEnumValue("Hazmat")
HAZMAT("Hazmat"),
@XmlEnumValue("InsidePickup")
INSIDE_PICKUP("InsidePickup"),
@XmlEnumValue("LimitedAccessPickup")
LIMITED_ACCESS_PICKUP("LimitedAccessPickup"),
@XmlEnumValue("DockPickup")
DOCK_PICKUP("DockPickup"),
@XmlEnumValue("DockDelivery")
DOCK_DELIVERY("DockDelivery"),
@XmlEnumValue("AirportPickup")
AIRPORT_PICKUP("AirportPickup"),
@XmlEnumValue("AirportDelivery")
AIRPORT_DELIVERY("AirportDelivery"),
@XmlEnumValue("LimitedAccessDelivery")
LIMITED_ACCESS_DELIVERY("LimitedAccessDelivery"),
@XmlEnumValue("CubicFeet")
CUBIC_FEET("CubicFeet"),
@XmlEnumValue("KeepFromFreezing")
KEEP_FROM_FREEZING("KeepFromFreezing"),
@XmlEnumValue("DoorToDoor")
DOOR_TO_DOOR("DoorToDoor"),
COD("COD"),
@XmlEnumValue("OverDimension")
OVER_DIMENSION("OverDimension");
private final String value;
RQAccessorial(String v) {
value = v;
}
public String value() {
return value;
}
public static RQAccessorial fromValue(String v) {
for (RQAccessorial c : RQAccessorial.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}