Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * AssociatedShipmentType.java
3
 *
4
 * This file was auto-generated from WSDL
5
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6
 */
7
 
8
package com.fedex.ship.stub;
9
 
10
public class AssociatedShipmentType implements java.io.Serializable {
11
    private java.lang.String _value_;
12
    private static java.util.HashMap _table_ = new java.util.HashMap();
13
 
14
    // Constructor
15
    protected AssociatedShipmentType(java.lang.String value) {
16
        _value_ = value;
17
        _table_.put(_value_,this);
18
    }
19
 
20
    public static final java.lang.String _COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = "COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN";
21
    public static final java.lang.String _COD_RETURN = "COD_RETURN";
22
    public static final java.lang.String _DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = "DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN";
23
    public static final AssociatedShipmentType COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = new AssociatedShipmentType(_COD_AND_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN);
24
    public static final AssociatedShipmentType COD_RETURN = new AssociatedShipmentType(_COD_RETURN);
25
    public static final AssociatedShipmentType DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN = new AssociatedShipmentType(_DELIVERY_ON_INVOICE_ACCEPTANCE_RETURN);
26
    public java.lang.String getValue() { return _value_;}
27
    public static AssociatedShipmentType fromValue(java.lang.String value)
28
          throws java.lang.IllegalArgumentException {
29
        AssociatedShipmentType enumeration = (AssociatedShipmentType)
30
            _table_.get(value);
31
        if (enumeration==null) throw new java.lang.IllegalArgumentException();
32
        return enumeration;
33
    }
34
    public static AssociatedShipmentType fromString(java.lang.String value)
35
          throws java.lang.IllegalArgumentException {
36
        return fromValue(value);
37
    }
38
    public boolean equals(java.lang.Object obj) {return (obj == this);}
39
    public int hashCode() { return toString().hashCode();}
40
    public java.lang.String toString() { return _value_;}
41
    public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
42
    public static org.apache.axis.encoding.Serializer getSerializer(
43
           java.lang.String mechType, 
44
           java.lang.Class _javaType,  
45
           javax.xml.namespace.QName _xmlType) {
46
        return 
47
          new org.apache.axis.encoding.ser.EnumSerializer(
48
            _javaType, _xmlType);
49
    }
50
    public static org.apache.axis.encoding.Deserializer getDeserializer(
51
           java.lang.String mechType, 
52
           java.lang.Class _javaType,  
53
           javax.xml.namespace.QName _xmlType) {
54
        return 
55
          new org.apache.axis.encoding.ser.EnumDeserializer(
56
            _javaType, _xmlType);
57
    }
58
    // Type metadata
59
    private static org.apache.axis.description.TypeDesc typeDesc =
60
        new org.apache.axis.description.TypeDesc(AssociatedShipmentType.class);
61
 
62
    static {
63
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "AssociatedShipmentType"));
64
    }
65
    /**
66
     * Return type metadata object
67
     */
68
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
69
        return typeDesc;
70
    }
71
 
72
}