| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* FreightClassType.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 FreightClassType 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 FreightClassType(java.lang.String value) {
|
|
|
16 |
_value_ = value;
|
|
|
17 |
_table_.put(_value_,this);
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
public static final java.lang.String _CLASS_050 = "CLASS_050";
|
|
|
21 |
public static final java.lang.String _CLASS_055 = "CLASS_055";
|
|
|
22 |
public static final java.lang.String _CLASS_060 = "CLASS_060";
|
|
|
23 |
public static final java.lang.String _CLASS_065 = "CLASS_065";
|
|
|
24 |
public static final java.lang.String _CLASS_070 = "CLASS_070";
|
|
|
25 |
public static final java.lang.String _CLASS_077_5 = "CLASS_077_5";
|
|
|
26 |
public static final java.lang.String _CLASS_085 = "CLASS_085";
|
|
|
27 |
public static final java.lang.String _CLASS_092_5 = "CLASS_092_5";
|
|
|
28 |
public static final java.lang.String _CLASS_100 = "CLASS_100";
|
|
|
29 |
public static final java.lang.String _CLASS_110 = "CLASS_110";
|
|
|
30 |
public static final java.lang.String _CLASS_125 = "CLASS_125";
|
|
|
31 |
public static final java.lang.String _CLASS_150 = "CLASS_150";
|
|
|
32 |
public static final java.lang.String _CLASS_175 = "CLASS_175";
|
|
|
33 |
public static final java.lang.String _CLASS_200 = "CLASS_200";
|
|
|
34 |
public static final java.lang.String _CLASS_250 = "CLASS_250";
|
|
|
35 |
public static final java.lang.String _CLASS_300 = "CLASS_300";
|
|
|
36 |
public static final java.lang.String _CLASS_400 = "CLASS_400";
|
|
|
37 |
public static final java.lang.String _CLASS_500 = "CLASS_500";
|
|
|
38 |
public static final FreightClassType CLASS_050 = new FreightClassType(_CLASS_050);
|
|
|
39 |
public static final FreightClassType CLASS_055 = new FreightClassType(_CLASS_055);
|
|
|
40 |
public static final FreightClassType CLASS_060 = new FreightClassType(_CLASS_060);
|
|
|
41 |
public static final FreightClassType CLASS_065 = new FreightClassType(_CLASS_065);
|
|
|
42 |
public static final FreightClassType CLASS_070 = new FreightClassType(_CLASS_070);
|
|
|
43 |
public static final FreightClassType CLASS_077_5 = new FreightClassType(_CLASS_077_5);
|
|
|
44 |
public static final FreightClassType CLASS_085 = new FreightClassType(_CLASS_085);
|
|
|
45 |
public static final FreightClassType CLASS_092_5 = new FreightClassType(_CLASS_092_5);
|
|
|
46 |
public static final FreightClassType CLASS_100 = new FreightClassType(_CLASS_100);
|
|
|
47 |
public static final FreightClassType CLASS_110 = new FreightClassType(_CLASS_110);
|
|
|
48 |
public static final FreightClassType CLASS_125 = new FreightClassType(_CLASS_125);
|
|
|
49 |
public static final FreightClassType CLASS_150 = new FreightClassType(_CLASS_150);
|
|
|
50 |
public static final FreightClassType CLASS_175 = new FreightClassType(_CLASS_175);
|
|
|
51 |
public static final FreightClassType CLASS_200 = new FreightClassType(_CLASS_200);
|
|
|
52 |
public static final FreightClassType CLASS_250 = new FreightClassType(_CLASS_250);
|
|
|
53 |
public static final FreightClassType CLASS_300 = new FreightClassType(_CLASS_300);
|
|
|
54 |
public static final FreightClassType CLASS_400 = new FreightClassType(_CLASS_400);
|
|
|
55 |
public static final FreightClassType CLASS_500 = new FreightClassType(_CLASS_500);
|
|
|
56 |
public java.lang.String getValue() { return _value_;}
|
|
|
57 |
public static FreightClassType fromValue(java.lang.String value)
|
|
|
58 |
throws java.lang.IllegalArgumentException {
|
|
|
59 |
FreightClassType enumeration = (FreightClassType)
|
|
|
60 |
_table_.get(value);
|
|
|
61 |
if (enumeration==null) throw new java.lang.IllegalArgumentException();
|
|
|
62 |
return enumeration;
|
|
|
63 |
}
|
|
|
64 |
public static FreightClassType fromString(java.lang.String value)
|
|
|
65 |
throws java.lang.IllegalArgumentException {
|
|
|
66 |
return fromValue(value);
|
|
|
67 |
}
|
|
|
68 |
public boolean equals(java.lang.Object obj) {return (obj == this);}
|
|
|
69 |
public int hashCode() { return toString().hashCode();}
|
|
|
70 |
public java.lang.String toString() { return _value_;}
|
|
|
71 |
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
|
|
|
72 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
73 |
java.lang.String mechType,
|
|
|
74 |
java.lang.Class _javaType,
|
|
|
75 |
javax.xml.namespace.QName _xmlType) {
|
|
|
76 |
return
|
|
|
77 |
new org.apache.axis.encoding.ser.EnumSerializer(
|
|
|
78 |
_javaType, _xmlType);
|
|
|
79 |
}
|
|
|
80 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
81 |
java.lang.String mechType,
|
|
|
82 |
java.lang.Class _javaType,
|
|
|
83 |
javax.xml.namespace.QName _xmlType) {
|
|
|
84 |
return
|
|
|
85 |
new org.apache.axis.encoding.ser.EnumDeserializer(
|
|
|
86 |
_javaType, _xmlType);
|
|
|
87 |
}
|
|
|
88 |
// Type metadata
|
|
|
89 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
90 |
new org.apache.axis.description.TypeDesc(FreightClassType.class);
|
|
|
91 |
|
|
|
92 |
static {
|
|
|
93 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightClassType"));
|
|
|
94 |
}
|
|
|
95 |
/**
|
|
|
96 |
* Return type metadata object
|
|
|
97 |
*/
|
|
|
98 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
99 |
return typeDesc;
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
}
|