Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * RatedWeightMethod.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 RatedWeightMethod 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 RatedWeightMethod(java.lang.String value) {
16
        _value_ = value;
17
        _table_.put(_value_,this);
18
    }
19
 
20
    public static final java.lang.String _ACTUAL = "ACTUAL";
21
    public static final java.lang.String _AVERAGE_PACKAGE_WEIGHT_MINIMUM = "AVERAGE_PACKAGE_WEIGHT_MINIMUM";
22
    public static final java.lang.String _BALLOON = "BALLOON";
23
    public static final java.lang.String _DIM = "DIM";
24
    public static final java.lang.String _FREIGHT_MINIMUM = "FREIGHT_MINIMUM";
25
    public static final java.lang.String _MIXED = "MIXED";
26
    public static final java.lang.String _OVERSIZE = "OVERSIZE";
27
    public static final java.lang.String _OVERSIZE_1 = "OVERSIZE_1";
28
    public static final java.lang.String _OVERSIZE_2 = "OVERSIZE_2";
29
    public static final java.lang.String _OVERSIZE_3 = "OVERSIZE_3";
30
    public static final java.lang.String _PACKAGING_MINIMUM = "PACKAGING_MINIMUM";
31
    public static final java.lang.String _WEIGHT_BREAK = "WEIGHT_BREAK";
32
    public static final RatedWeightMethod ACTUAL = new RatedWeightMethod(_ACTUAL);
33
    public static final RatedWeightMethod AVERAGE_PACKAGE_WEIGHT_MINIMUM = new RatedWeightMethod(_AVERAGE_PACKAGE_WEIGHT_MINIMUM);
34
    public static final RatedWeightMethod BALLOON = new RatedWeightMethod(_BALLOON);
35
    public static final RatedWeightMethod DIM = new RatedWeightMethod(_DIM);
36
    public static final RatedWeightMethod FREIGHT_MINIMUM = new RatedWeightMethod(_FREIGHT_MINIMUM);
37
    public static final RatedWeightMethod MIXED = new RatedWeightMethod(_MIXED);
38
    public static final RatedWeightMethod OVERSIZE = new RatedWeightMethod(_OVERSIZE);
39
    public static final RatedWeightMethod OVERSIZE_1 = new RatedWeightMethod(_OVERSIZE_1);
40
    public static final RatedWeightMethod OVERSIZE_2 = new RatedWeightMethod(_OVERSIZE_2);
41
    public static final RatedWeightMethod OVERSIZE_3 = new RatedWeightMethod(_OVERSIZE_3);
42
    public static final RatedWeightMethod PACKAGING_MINIMUM = new RatedWeightMethod(_PACKAGING_MINIMUM);
43
    public static final RatedWeightMethod WEIGHT_BREAK = new RatedWeightMethod(_WEIGHT_BREAK);
44
    public java.lang.String getValue() { return _value_;}
45
    public static RatedWeightMethod fromValue(java.lang.String value)
46
          throws java.lang.IllegalArgumentException {
47
        RatedWeightMethod enumeration = (RatedWeightMethod)
48
            _table_.get(value);
49
        if (enumeration==null) throw new java.lang.IllegalArgumentException();
50
        return enumeration;
51
    }
52
    public static RatedWeightMethod fromString(java.lang.String value)
53
          throws java.lang.IllegalArgumentException {
54
        return fromValue(value);
55
    }
56
    public boolean equals(java.lang.Object obj) {return (obj == this);}
57
    public int hashCode() { return toString().hashCode();}
58
    public java.lang.String toString() { return _value_;}
59
    public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
60
    public static org.apache.axis.encoding.Serializer getSerializer(
61
           java.lang.String mechType, 
62
           java.lang.Class _javaType,  
63
           javax.xml.namespace.QName _xmlType) {
64
        return 
65
          new org.apache.axis.encoding.ser.EnumSerializer(
66
            _javaType, _xmlType);
67
    }
68
    public static org.apache.axis.encoding.Deserializer getDeserializer(
69
           java.lang.String mechType, 
70
           java.lang.Class _javaType,  
71
           javax.xml.namespace.QName _xmlType) {
72
        return 
73
          new org.apache.axis.encoding.ser.EnumDeserializer(
74
            _javaType, _xmlType);
75
    }
76
    // Type metadata
77
    private static org.apache.axis.description.TypeDesc typeDesc =
78
        new org.apache.axis.description.TypeDesc(RatedWeightMethod.class);
79
 
80
    static {
81
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RatedWeightMethod"));
82
    }
83
    /**
84
     * Return type metadata object
85
     */
86
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
87
        return typeDesc;
88
    }
89
 
90
}