Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * CustomerReferenceType.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 CustomerReferenceType 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 CustomerReferenceType(java.lang.String value) {
16
        _value_ = value;
17
        _table_.put(_value_,this);
18
    }
19
 
20
    public static final java.lang.String _BILL_OF_LADING = "BILL_OF_LADING";
21
    public static final java.lang.String _CUSTOMER_REFERENCE = "CUSTOMER_REFERENCE";
22
    public static final java.lang.String _DEPARTMENT_NUMBER = "DEPARTMENT_NUMBER";
23
    public static final java.lang.String _ELECTRONIC_PRODUCT_CODE = "ELECTRONIC_PRODUCT_CODE";
24
    public static final java.lang.String _INTRACOUNTRY_REGULATORY_REFERENCE = "INTRACOUNTRY_REGULATORY_REFERENCE";
25
    public static final java.lang.String _INVOICE_NUMBER = "INVOICE_NUMBER";
26
    public static final java.lang.String _P_O_NUMBER = "P_O_NUMBER";
27
    public static final java.lang.String _RMA_ASSOCIATION = "RMA_ASSOCIATION";
28
    public static final java.lang.String _SHIPMENT_INTEGRITY = "SHIPMENT_INTEGRITY";
29
    public static final java.lang.String _STORE_NUMBER = "STORE_NUMBER";
30
    public static final CustomerReferenceType BILL_OF_LADING = new CustomerReferenceType(_BILL_OF_LADING);
31
    public static final CustomerReferenceType CUSTOMER_REFERENCE = new CustomerReferenceType(_CUSTOMER_REFERENCE);
32
    public static final CustomerReferenceType DEPARTMENT_NUMBER = new CustomerReferenceType(_DEPARTMENT_NUMBER);
33
    public static final CustomerReferenceType ELECTRONIC_PRODUCT_CODE = new CustomerReferenceType(_ELECTRONIC_PRODUCT_CODE);
34
    public static final CustomerReferenceType INTRACOUNTRY_REGULATORY_REFERENCE = new CustomerReferenceType(_INTRACOUNTRY_REGULATORY_REFERENCE);
35
    public static final CustomerReferenceType INVOICE_NUMBER = new CustomerReferenceType(_INVOICE_NUMBER);
36
    public static final CustomerReferenceType P_O_NUMBER = new CustomerReferenceType(_P_O_NUMBER);
37
    public static final CustomerReferenceType RMA_ASSOCIATION = new CustomerReferenceType(_RMA_ASSOCIATION);
38
    public static final CustomerReferenceType SHIPMENT_INTEGRITY = new CustomerReferenceType(_SHIPMENT_INTEGRITY);
39
    public static final CustomerReferenceType STORE_NUMBER = new CustomerReferenceType(_STORE_NUMBER);
40
    public java.lang.String getValue() { return _value_;}
41
    public static CustomerReferenceType fromValue(java.lang.String value)
42
          throws java.lang.IllegalArgumentException {
43
        CustomerReferenceType enumeration = (CustomerReferenceType)
44
            _table_.get(value);
45
        if (enumeration==null) throw new java.lang.IllegalArgumentException();
46
        return enumeration;
47
    }
48
    public static CustomerReferenceType fromString(java.lang.String value)
49
          throws java.lang.IllegalArgumentException {
50
        return fromValue(value);
51
    }
52
    public boolean equals(java.lang.Object obj) {return (obj == this);}
53
    public int hashCode() { return toString().hashCode();}
54
    public java.lang.String toString() { return _value_;}
55
    public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
56
    public static org.apache.axis.encoding.Serializer getSerializer(
57
           java.lang.String mechType, 
58
           java.lang.Class _javaType,  
59
           javax.xml.namespace.QName _xmlType) {
60
        return 
61
          new org.apache.axis.encoding.ser.EnumSerializer(
62
            _javaType, _xmlType);
63
    }
64
    public static org.apache.axis.encoding.Deserializer getDeserializer(
65
           java.lang.String mechType, 
66
           java.lang.Class _javaType,  
67
           javax.xml.namespace.QName _xmlType) {
68
        return 
69
          new org.apache.axis.encoding.ser.EnumDeserializer(
70
            _javaType, _xmlType);
71
    }
72
    // Type metadata
73
    private static org.apache.axis.description.TypeDesc typeDesc =
74
        new org.apache.axis.description.TypeDesc(CustomerReferenceType.class);
75
 
76
    static {
77
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomerReferenceType"));
78
    }
79
    /**
80
     * Return type metadata object
81
     */
82
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
83
        return typeDesc;
84
    }
85
 
86
}