| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* CustomsOptionType.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 CustomsOptionType 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 CustomsOptionType(java.lang.String value) {
|
|
|
16 |
_value_ = value;
|
|
|
17 |
_table_.put(_value_,this);
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
public static final java.lang.String _COURTESY_RETURN_LABEL = "COURTESY_RETURN_LABEL";
|
|
|
21 |
public static final java.lang.String _EXHIBITION_TRADE_SHOW = "EXHIBITION_TRADE_SHOW";
|
|
|
22 |
public static final java.lang.String _FAULTY_ITEM = "FAULTY_ITEM";
|
|
|
23 |
public static final java.lang.String _FOLLOWING_REPAIR = "FOLLOWING_REPAIR";
|
|
|
24 |
public static final java.lang.String _FOR_REPAIR = "FOR_REPAIR";
|
|
|
25 |
public static final java.lang.String _ITEM_FOR_LOAN = "ITEM_FOR_LOAN";
|
|
|
26 |
public static final java.lang.String _OTHER = "OTHER";
|
|
|
27 |
public static final java.lang.String _REJECTED = "REJECTED";
|
|
|
28 |
public static final java.lang.String _REPLACEMENT = "REPLACEMENT";
|
|
|
29 |
public static final java.lang.String _TRIAL = "TRIAL";
|
|
|
30 |
public static final CustomsOptionType COURTESY_RETURN_LABEL = new CustomsOptionType(_COURTESY_RETURN_LABEL);
|
|
|
31 |
public static final CustomsOptionType EXHIBITION_TRADE_SHOW = new CustomsOptionType(_EXHIBITION_TRADE_SHOW);
|
|
|
32 |
public static final CustomsOptionType FAULTY_ITEM = new CustomsOptionType(_FAULTY_ITEM);
|
|
|
33 |
public static final CustomsOptionType FOLLOWING_REPAIR = new CustomsOptionType(_FOLLOWING_REPAIR);
|
|
|
34 |
public static final CustomsOptionType FOR_REPAIR = new CustomsOptionType(_FOR_REPAIR);
|
|
|
35 |
public static final CustomsOptionType ITEM_FOR_LOAN = new CustomsOptionType(_ITEM_FOR_LOAN);
|
|
|
36 |
public static final CustomsOptionType OTHER = new CustomsOptionType(_OTHER);
|
|
|
37 |
public static final CustomsOptionType REJECTED = new CustomsOptionType(_REJECTED);
|
|
|
38 |
public static final CustomsOptionType REPLACEMENT = new CustomsOptionType(_REPLACEMENT);
|
|
|
39 |
public static final CustomsOptionType TRIAL = new CustomsOptionType(_TRIAL);
|
|
|
40 |
public java.lang.String getValue() { return _value_;}
|
|
|
41 |
public static CustomsOptionType fromValue(java.lang.String value)
|
|
|
42 |
throws java.lang.IllegalArgumentException {
|
|
|
43 |
CustomsOptionType enumeration = (CustomsOptionType)
|
|
|
44 |
_table_.get(value);
|
|
|
45 |
if (enumeration==null) throw new java.lang.IllegalArgumentException();
|
|
|
46 |
return enumeration;
|
|
|
47 |
}
|
|
|
48 |
public static CustomsOptionType 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(CustomsOptionType.class);
|
|
|
75 |
|
|
|
76 |
static {
|
|
|
77 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomsOptionType"));
|
|
|
78 |
}
|
|
|
79 |
/**
|
|
|
80 |
* Return type metadata object
|
|
|
81 |
*/
|
|
|
82 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
83 |
return typeDesc;
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
}
|