| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* DocTabContent.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 DocTabContent implements java.io.Serializable {
|
|
|
11 |
/* The DocTabContentType options available. */
|
|
|
12 |
private com.fedex.ship.stub.DocTabContentType docTabContentType;
|
|
|
13 |
|
|
|
14 |
/* The DocTabContentType should be set to ZONE001 to specify additional
|
|
|
15 |
* Zone details. */
|
|
|
16 |
private com.fedex.ship.stub.DocTabContentZone001 zone001;
|
|
|
17 |
|
|
|
18 |
/* The DocTabContentType should be set to BARCODED to specify
|
|
|
19 |
* additional BarCoded details. */
|
|
|
20 |
private com.fedex.ship.stub.DocTabContentBarcoded barcoded;
|
|
|
21 |
|
|
|
22 |
public DocTabContent() {
|
|
|
23 |
}
|
|
|
24 |
|
|
|
25 |
public DocTabContent(
|
|
|
26 |
com.fedex.ship.stub.DocTabContentType docTabContentType,
|
|
|
27 |
com.fedex.ship.stub.DocTabContentZone001 zone001,
|
|
|
28 |
com.fedex.ship.stub.DocTabContentBarcoded barcoded) {
|
|
|
29 |
this.docTabContentType = docTabContentType;
|
|
|
30 |
this.zone001 = zone001;
|
|
|
31 |
this.barcoded = barcoded;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
/**
|
|
|
36 |
* Gets the docTabContentType value for this DocTabContent.
|
|
|
37 |
*
|
|
|
38 |
* @return docTabContentType * The DocTabContentType options available.
|
|
|
39 |
*/
|
|
|
40 |
public com.fedex.ship.stub.DocTabContentType getDocTabContentType() {
|
|
|
41 |
return docTabContentType;
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
/**
|
|
|
46 |
* Sets the docTabContentType value for this DocTabContent.
|
|
|
47 |
*
|
|
|
48 |
* @param docTabContentType * The DocTabContentType options available.
|
|
|
49 |
*/
|
|
|
50 |
public void setDocTabContentType(com.fedex.ship.stub.DocTabContentType docTabContentType) {
|
|
|
51 |
this.docTabContentType = docTabContentType;
|
|
|
52 |
}
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
/**
|
|
|
56 |
* Gets the zone001 value for this DocTabContent.
|
|
|
57 |
*
|
|
|
58 |
* @return zone001 * The DocTabContentType should be set to ZONE001 to specify additional
|
|
|
59 |
* Zone details.
|
|
|
60 |
*/
|
|
|
61 |
public com.fedex.ship.stub.DocTabContentZone001 getZone001() {
|
|
|
62 |
return zone001;
|
|
|
63 |
}
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
/**
|
|
|
67 |
* Sets the zone001 value for this DocTabContent.
|
|
|
68 |
*
|
|
|
69 |
* @param zone001 * The DocTabContentType should be set to ZONE001 to specify additional
|
|
|
70 |
* Zone details.
|
|
|
71 |
*/
|
|
|
72 |
public void setZone001(com.fedex.ship.stub.DocTabContentZone001 zone001) {
|
|
|
73 |
this.zone001 = zone001;
|
|
|
74 |
}
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
/**
|
|
|
78 |
* Gets the barcoded value for this DocTabContent.
|
|
|
79 |
*
|
|
|
80 |
* @return barcoded * The DocTabContentType should be set to BARCODED to specify
|
|
|
81 |
* additional BarCoded details.
|
|
|
82 |
*/
|
|
|
83 |
public com.fedex.ship.stub.DocTabContentBarcoded getBarcoded() {
|
|
|
84 |
return barcoded;
|
|
|
85 |
}
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
/**
|
|
|
89 |
* Sets the barcoded value for this DocTabContent.
|
|
|
90 |
*
|
|
|
91 |
* @param barcoded * The DocTabContentType should be set to BARCODED to specify
|
|
|
92 |
* additional BarCoded details.
|
|
|
93 |
*/
|
|
|
94 |
public void setBarcoded(com.fedex.ship.stub.DocTabContentBarcoded barcoded) {
|
|
|
95 |
this.barcoded = barcoded;
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
private java.lang.Object __equalsCalc = null;
|
|
|
99 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
100 |
if (!(obj instanceof DocTabContent)) return false;
|
|
|
101 |
DocTabContent other = (DocTabContent) obj;
|
|
|
102 |
if (obj == null) return false;
|
|
|
103 |
if (this == obj) return true;
|
|
|
104 |
if (__equalsCalc != null) {
|
|
|
105 |
return (__equalsCalc == obj);
|
|
|
106 |
}
|
|
|
107 |
__equalsCalc = obj;
|
|
|
108 |
boolean _equals;
|
|
|
109 |
_equals = true &&
|
|
|
110 |
((this.docTabContentType==null && other.getDocTabContentType()==null) ||
|
|
|
111 |
(this.docTabContentType!=null &&
|
|
|
112 |
this.docTabContentType.equals(other.getDocTabContentType()))) &&
|
|
|
113 |
((this.zone001==null && other.getZone001()==null) ||
|
|
|
114 |
(this.zone001!=null &&
|
|
|
115 |
this.zone001.equals(other.getZone001()))) &&
|
|
|
116 |
((this.barcoded==null && other.getBarcoded()==null) ||
|
|
|
117 |
(this.barcoded!=null &&
|
|
|
118 |
this.barcoded.equals(other.getBarcoded())));
|
|
|
119 |
__equalsCalc = null;
|
|
|
120 |
return _equals;
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
private boolean __hashCodeCalc = false;
|
|
|
124 |
public synchronized int hashCode() {
|
|
|
125 |
if (__hashCodeCalc) {
|
|
|
126 |
return 0;
|
|
|
127 |
}
|
|
|
128 |
__hashCodeCalc = true;
|
|
|
129 |
int _hashCode = 1;
|
|
|
130 |
if (getDocTabContentType() != null) {
|
|
|
131 |
_hashCode += getDocTabContentType().hashCode();
|
|
|
132 |
}
|
|
|
133 |
if (getZone001() != null) {
|
|
|
134 |
_hashCode += getZone001().hashCode();
|
|
|
135 |
}
|
|
|
136 |
if (getBarcoded() != null) {
|
|
|
137 |
_hashCode += getBarcoded().hashCode();
|
|
|
138 |
}
|
|
|
139 |
__hashCodeCalc = false;
|
|
|
140 |
return _hashCode;
|
|
|
141 |
}
|
|
|
142 |
|
|
|
143 |
// Type metadata
|
|
|
144 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
145 |
new org.apache.axis.description.TypeDesc(DocTabContent.class, true);
|
|
|
146 |
|
|
|
147 |
static {
|
|
|
148 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContent"));
|
|
|
149 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
150 |
elemField.setFieldName("docTabContentType");
|
|
|
151 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentType"));
|
|
|
152 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentType"));
|
|
|
153 |
elemField.setNillable(false);
|
|
|
154 |
typeDesc.addFieldDesc(elemField);
|
|
|
155 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
156 |
elemField.setFieldName("zone001");
|
|
|
157 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Zone001"));
|
|
|
158 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentZone001"));
|
|
|
159 |
elemField.setMinOccurs(0);
|
|
|
160 |
elemField.setNillable(false);
|
|
|
161 |
typeDesc.addFieldDesc(elemField);
|
|
|
162 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
163 |
elemField.setFieldName("barcoded");
|
|
|
164 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Barcoded"));
|
|
|
165 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabContentBarcoded"));
|
|
|
166 |
elemField.setMinOccurs(0);
|
|
|
167 |
elemField.setNillable(false);
|
|
|
168 |
typeDesc.addFieldDesc(elemField);
|
|
|
169 |
}
|
|
|
170 |
|
|
|
171 |
/**
|
|
|
172 |
* Return type metadata object
|
|
|
173 |
*/
|
|
|
174 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
175 |
return typeDesc;
|
|
|
176 |
}
|
|
|
177 |
|
|
|
178 |
/**
|
|
|
179 |
* Get Custom Serializer
|
|
|
180 |
*/
|
|
|
181 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
182 |
java.lang.String mechType,
|
|
|
183 |
java.lang.Class _javaType,
|
|
|
184 |
javax.xml.namespace.QName _xmlType) {
|
|
|
185 |
return
|
|
|
186 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
187 |
_javaType, _xmlType, typeDesc);
|
|
|
188 |
}
|
|
|
189 |
|
|
|
190 |
/**
|
|
|
191 |
* Get Custom Deserializer
|
|
|
192 |
*/
|
|
|
193 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
194 |
java.lang.String mechType,
|
|
|
195 |
java.lang.Class _javaType,
|
|
|
196 |
javax.xml.namespace.QName _xmlType) {
|
|
|
197 |
return
|
|
|
198 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
199 |
_javaType, _xmlType, typeDesc);
|
|
|
200 |
}
|
|
|
201 |
|
|
|
202 |
}
|