| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* ShippingDocumentStockType.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 ShippingDocumentStockType 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 ShippingDocumentStockType(java.lang.String value) {
|
|
|
16 |
_value_ = value;
|
|
|
17 |
_table_.put(_value_,this);
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
public static final java.lang.String _value1 = "OP_900_LG_B";
|
|
|
21 |
public static final java.lang.String _value2 = "OP_900_LL_B";
|
|
|
22 |
public static final java.lang.String _value3 = "OP_950";
|
|
|
23 |
public static final java.lang.String _value4 = "PAPER_4X6";
|
|
|
24 |
public static final java.lang.String _value5 = "PAPER_4_PER_PAGE_PORTRAIT";
|
|
|
25 |
public static final java.lang.String _value6 = "PAPER_LETTER";
|
|
|
26 |
public static final java.lang.String _value7 = "STOCK_4X6";
|
|
|
27 |
public static final java.lang.String _value8 = "STOCK_4X6.75_LEADING_DOC_TAB";
|
|
|
28 |
public static final java.lang.String _value9 = "STOCK_4X6.75_TRAILING_DOC_TAB";
|
|
|
29 |
public static final java.lang.String _value10 = "STOCK_4X8";
|
|
|
30 |
public static final java.lang.String _value11 = "STOCK_4X9_LEADING_DOC_TAB";
|
|
|
31 |
public static final java.lang.String _value12 = "STOCK_4X9_TRAILING_DOC_TAB";
|
|
|
32 |
public static final ShippingDocumentStockType value1 = new ShippingDocumentStockType(_value1);
|
|
|
33 |
public static final ShippingDocumentStockType value2 = new ShippingDocumentStockType(_value2);
|
|
|
34 |
public static final ShippingDocumentStockType value3 = new ShippingDocumentStockType(_value3);
|
|
|
35 |
public static final ShippingDocumentStockType value4 = new ShippingDocumentStockType(_value4);
|
|
|
36 |
public static final ShippingDocumentStockType value5 = new ShippingDocumentStockType(_value5);
|
|
|
37 |
public static final ShippingDocumentStockType value6 = new ShippingDocumentStockType(_value6);
|
|
|
38 |
public static final ShippingDocumentStockType value7 = new ShippingDocumentStockType(_value7);
|
|
|
39 |
public static final ShippingDocumentStockType value8 = new ShippingDocumentStockType(_value8);
|
|
|
40 |
public static final ShippingDocumentStockType value9 = new ShippingDocumentStockType(_value9);
|
|
|
41 |
public static final ShippingDocumentStockType value10 = new ShippingDocumentStockType(_value10);
|
|
|
42 |
public static final ShippingDocumentStockType value11 = new ShippingDocumentStockType(_value11);
|
|
|
43 |
public static final ShippingDocumentStockType value12 = new ShippingDocumentStockType(_value12);
|
|
|
44 |
public java.lang.String getValue() { return _value_;}
|
|
|
45 |
public static ShippingDocumentStockType fromValue(java.lang.String value)
|
|
|
46 |
throws java.lang.IllegalArgumentException {
|
|
|
47 |
ShippingDocumentStockType enumeration = (ShippingDocumentStockType)
|
|
|
48 |
_table_.get(value);
|
|
|
49 |
if (enumeration==null) throw new java.lang.IllegalArgumentException();
|
|
|
50 |
return enumeration;
|
|
|
51 |
}
|
|
|
52 |
public static ShippingDocumentStockType 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(ShippingDocumentStockType.class);
|
|
|
79 |
|
|
|
80 |
static {
|
|
|
81 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocumentStockType"));
|
|
|
82 |
}
|
|
|
83 |
/**
|
|
|
84 |
* Return type metadata object
|
|
|
85 |
*/
|
|
|
86 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
87 |
return typeDesc;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
}
|