/**
 * DeliveryMethodType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.style24.core.biz.checkout.base;

public class DeliveryMethodType implements java.io.Serializable {
    private String _value_;
    private static java.util.HashMap _table_ = new java.util.HashMap();

    // Constructor
    protected DeliveryMethodType(String value) {
        _value_ = value;
        _table_.put(_value_,this);
    }

    public static final String _DELIVERY = "DELIVERY";
    public static final String _GDFW_ISSUE_SVC = "GDFW_ISSUE_SVC";
    public static final String _VISIT_RECEIPT = "VISIT_RECEIPT";
    public static final String _DIRECT_DELIVERY = "DIRECT_DELIVERY";
    public static final String _QUICK_SVC = "QUICK_SVC";
    public static final String _NOTHING = "NOTHING";
    public static final String _RETURN_DESIGNATED = "RETURN_DESIGNATED";
    public static final String _RETURN_DELIVERY = "RETURN_DELIVERY";
    public static final String _RETURN_INDIVIDUAL = "RETURN_INDIVIDUAL";
    public static final String _UNKNOWN = "UNKNOWN";
    public static final DeliveryMethodType DELIVERY = new DeliveryMethodType(_DELIVERY);
    public static final DeliveryMethodType GDFW_ISSUE_SVC = new DeliveryMethodType(_GDFW_ISSUE_SVC);
    public static final DeliveryMethodType VISIT_RECEIPT = new DeliveryMethodType(_VISIT_RECEIPT);
    public static final DeliveryMethodType DIRECT_DELIVERY = new DeliveryMethodType(_DIRECT_DELIVERY);
    public static final DeliveryMethodType QUICK_SVC = new DeliveryMethodType(_QUICK_SVC);
    public static final DeliveryMethodType NOTHING = new DeliveryMethodType(_NOTHING);
    public static final DeliveryMethodType RETURN_DESIGNATED = new DeliveryMethodType(_RETURN_DESIGNATED);
    public static final DeliveryMethodType RETURN_DELIVERY = new DeliveryMethodType(_RETURN_DELIVERY);
    public static final DeliveryMethodType RETURN_INDIVIDUAL = new DeliveryMethodType(_RETURN_INDIVIDUAL);
    public static final DeliveryMethodType UNKNOWN = new DeliveryMethodType(_UNKNOWN);
    public String getValue() { return _value_;}
    public static DeliveryMethodType fromValue(String value)
          throws IllegalArgumentException {
        DeliveryMethodType enumeration = (DeliveryMethodType)
            _table_.get(value);
        if (enumeration==null) throw new IllegalArgumentException();
        return enumeration;
    }
    public static DeliveryMethodType fromString(String value)
          throws IllegalArgumentException {
        return fromValue(value);
    }
    public boolean equals(Object obj) {return (obj == this);}
    public int hashCode() { return toString().hashCode();}
    public String toString() { return _value_;}
    public Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
    public static org.apache.axis.encoding.Serializer getSerializer(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return
          new org.apache.axis.encoding.ser.EnumSerializer(
            _javaType, _xmlType);
    }
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           String mechType,
           Class _javaType,
           javax.xml.namespace.QName _xmlType) {
        return 
          new org.apache.axis.encoding.ser.EnumDeserializer(
            _javaType, _xmlType);
    }
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(DeliveryMethodType.class);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://base.checkout.platform.nhncorp.com/", "deliveryMethodType"));
    }
    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

}
