| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* ShippingDocumentSpecification.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 |
|
|
|
11 |
/**
|
|
|
12 |
* Contains all data required for additional (non-label) shipping
|
|
|
13 |
* documents to be produced in conjunction with a specific shipment.
|
|
|
14 |
*/
|
|
|
15 |
public class ShippingDocumentSpecification implements java.io.Serializable {
|
|
|
16 |
/* Indicates the types of shipping documents requested by the
|
|
|
17 |
* shipper. */
|
|
|
18 |
private com.fedex.ship.stub.RequestedShippingDocumentType[] shippingDocumentTypes;
|
|
|
19 |
|
|
|
20 |
private com.fedex.ship.stub.CertificateOfOriginDetail certificateOfOrigin;
|
|
|
21 |
|
|
|
22 |
private com.fedex.ship.stub.CommercialInvoiceDetail commercialInvoiceDetail;
|
|
|
23 |
|
|
|
24 |
/* Specifies the production of each package-level custom document
|
|
|
25 |
* (the same specification is used for all packages). */
|
|
|
26 |
private com.fedex.ship.stub.CustomDocumentDetail[] customPackageDocumentDetail;
|
|
|
27 |
|
|
|
28 |
/* Specifies the production of a shipment-level custom document. */
|
|
|
29 |
private com.fedex.ship.stub.CustomDocumentDetail[] customShipmentDocumentDetail;
|
|
|
30 |
|
|
|
31 |
/* This element is currently not supported and is for the future
|
|
|
32 |
* use. (Details pertaining to the GAA.) */
|
|
|
33 |
private com.fedex.ship.stub.GeneralAgencyAgreementDetail generalAgencyAgreementDetail;
|
|
|
34 |
|
|
|
35 |
private com.fedex.ship.stub.NaftaCertificateOfOriginDetail naftaCertificateOfOriginDetail;
|
|
|
36 |
|
|
|
37 |
/* Specifies the production of the OP-900 document for hazardous
|
|
|
38 |
* materials packages. */
|
|
|
39 |
private com.fedex.ship.stub.Op900Detail op900Detail;
|
|
|
40 |
|
|
|
41 |
/* Specifies the production of the 1421c document for dangerous
|
|
|
42 |
* goods shipment. */
|
|
|
43 |
private com.fedex.ship.stub.DangerousGoodsShippersDeclarationDetail dangerousGoodsShippersDeclarationDetail;
|
|
|
44 |
|
|
|
45 |
/* Specifies the production of the OP-900 document for hazardous
|
|
|
46 |
* materials. */
|
|
|
47 |
private com.fedex.ship.stub.FreightAddressLabelDetail freightAddressLabelDetail;
|
|
|
48 |
|
|
|
49 |
/* Specifies the production of the return instructions document. */
|
|
|
50 |
private com.fedex.ship.stub.ReturnInstructionsDetail returnInstructionsDetail;
|
|
|
51 |
|
|
|
52 |
public ShippingDocumentSpecification() {
|
|
|
53 |
}
|
|
|
54 |
|
|
|
55 |
public ShippingDocumentSpecification(
|
|
|
56 |
com.fedex.ship.stub.RequestedShippingDocumentType[] shippingDocumentTypes,
|
|
|
57 |
com.fedex.ship.stub.CertificateOfOriginDetail certificateOfOrigin,
|
|
|
58 |
com.fedex.ship.stub.CommercialInvoiceDetail commercialInvoiceDetail,
|
|
|
59 |
com.fedex.ship.stub.CustomDocumentDetail[] customPackageDocumentDetail,
|
|
|
60 |
com.fedex.ship.stub.CustomDocumentDetail[] customShipmentDocumentDetail,
|
|
|
61 |
com.fedex.ship.stub.GeneralAgencyAgreementDetail generalAgencyAgreementDetail,
|
|
|
62 |
com.fedex.ship.stub.NaftaCertificateOfOriginDetail naftaCertificateOfOriginDetail,
|
|
|
63 |
com.fedex.ship.stub.Op900Detail op900Detail,
|
|
|
64 |
com.fedex.ship.stub.DangerousGoodsShippersDeclarationDetail dangerousGoodsShippersDeclarationDetail,
|
|
|
65 |
com.fedex.ship.stub.FreightAddressLabelDetail freightAddressLabelDetail,
|
|
|
66 |
com.fedex.ship.stub.ReturnInstructionsDetail returnInstructionsDetail) {
|
|
|
67 |
this.shippingDocumentTypes = shippingDocumentTypes;
|
|
|
68 |
this.certificateOfOrigin = certificateOfOrigin;
|
|
|
69 |
this.commercialInvoiceDetail = commercialInvoiceDetail;
|
|
|
70 |
this.customPackageDocumentDetail = customPackageDocumentDetail;
|
|
|
71 |
this.customShipmentDocumentDetail = customShipmentDocumentDetail;
|
|
|
72 |
this.generalAgencyAgreementDetail = generalAgencyAgreementDetail;
|
|
|
73 |
this.naftaCertificateOfOriginDetail = naftaCertificateOfOriginDetail;
|
|
|
74 |
this.op900Detail = op900Detail;
|
|
|
75 |
this.dangerousGoodsShippersDeclarationDetail = dangerousGoodsShippersDeclarationDetail;
|
|
|
76 |
this.freightAddressLabelDetail = freightAddressLabelDetail;
|
|
|
77 |
this.returnInstructionsDetail = returnInstructionsDetail;
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
/**
|
|
|
82 |
* Gets the shippingDocumentTypes value for this ShippingDocumentSpecification.
|
|
|
83 |
*
|
|
|
84 |
* @return shippingDocumentTypes * Indicates the types of shipping documents requested by the
|
|
|
85 |
* shipper.
|
|
|
86 |
*/
|
|
|
87 |
public com.fedex.ship.stub.RequestedShippingDocumentType[] getShippingDocumentTypes() {
|
|
|
88 |
return shippingDocumentTypes;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
/**
|
|
|
93 |
* Sets the shippingDocumentTypes value for this ShippingDocumentSpecification.
|
|
|
94 |
*
|
|
|
95 |
* @param shippingDocumentTypes * Indicates the types of shipping documents requested by the
|
|
|
96 |
* shipper.
|
|
|
97 |
*/
|
|
|
98 |
public void setShippingDocumentTypes(com.fedex.ship.stub.RequestedShippingDocumentType[] shippingDocumentTypes) {
|
|
|
99 |
this.shippingDocumentTypes = shippingDocumentTypes;
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
public com.fedex.ship.stub.RequestedShippingDocumentType getShippingDocumentTypes(int i) {
|
|
|
103 |
return this.shippingDocumentTypes[i];
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
public void setShippingDocumentTypes(int i, com.fedex.ship.stub.RequestedShippingDocumentType _value) {
|
|
|
107 |
this.shippingDocumentTypes[i] = _value;
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
/**
|
|
|
112 |
* Gets the certificateOfOrigin value for this ShippingDocumentSpecification.
|
|
|
113 |
*
|
|
|
114 |
* @return certificateOfOrigin
|
|
|
115 |
*/
|
|
|
116 |
public com.fedex.ship.stub.CertificateOfOriginDetail getCertificateOfOrigin() {
|
|
|
117 |
return certificateOfOrigin;
|
|
|
118 |
}
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
/**
|
|
|
122 |
* Sets the certificateOfOrigin value for this ShippingDocumentSpecification.
|
|
|
123 |
*
|
|
|
124 |
* @param certificateOfOrigin
|
|
|
125 |
*/
|
|
|
126 |
public void setCertificateOfOrigin(com.fedex.ship.stub.CertificateOfOriginDetail certificateOfOrigin) {
|
|
|
127 |
this.certificateOfOrigin = certificateOfOrigin;
|
|
|
128 |
}
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
/**
|
|
|
132 |
* Gets the commercialInvoiceDetail value for this ShippingDocumentSpecification.
|
|
|
133 |
*
|
|
|
134 |
* @return commercialInvoiceDetail
|
|
|
135 |
*/
|
|
|
136 |
public com.fedex.ship.stub.CommercialInvoiceDetail getCommercialInvoiceDetail() {
|
|
|
137 |
return commercialInvoiceDetail;
|
|
|
138 |
}
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
/**
|
|
|
142 |
* Sets the commercialInvoiceDetail value for this ShippingDocumentSpecification.
|
|
|
143 |
*
|
|
|
144 |
* @param commercialInvoiceDetail
|
|
|
145 |
*/
|
|
|
146 |
public void setCommercialInvoiceDetail(com.fedex.ship.stub.CommercialInvoiceDetail commercialInvoiceDetail) {
|
|
|
147 |
this.commercialInvoiceDetail = commercialInvoiceDetail;
|
|
|
148 |
}
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
/**
|
|
|
152 |
* Gets the customPackageDocumentDetail value for this ShippingDocumentSpecification.
|
|
|
153 |
*
|
|
|
154 |
* @return customPackageDocumentDetail * Specifies the production of each package-level custom document
|
|
|
155 |
* (the same specification is used for all packages).
|
|
|
156 |
*/
|
|
|
157 |
public com.fedex.ship.stub.CustomDocumentDetail[] getCustomPackageDocumentDetail() {
|
|
|
158 |
return customPackageDocumentDetail;
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
/**
|
|
|
163 |
* Sets the customPackageDocumentDetail value for this ShippingDocumentSpecification.
|
|
|
164 |
*
|
|
|
165 |
* @param customPackageDocumentDetail * Specifies the production of each package-level custom document
|
|
|
166 |
* (the same specification is used for all packages).
|
|
|
167 |
*/
|
|
|
168 |
public void setCustomPackageDocumentDetail(com.fedex.ship.stub.CustomDocumentDetail[] customPackageDocumentDetail) {
|
|
|
169 |
this.customPackageDocumentDetail = customPackageDocumentDetail;
|
|
|
170 |
}
|
|
|
171 |
|
|
|
172 |
public com.fedex.ship.stub.CustomDocumentDetail getCustomPackageDocumentDetail(int i) {
|
|
|
173 |
return this.customPackageDocumentDetail[i];
|
|
|
174 |
}
|
|
|
175 |
|
|
|
176 |
public void setCustomPackageDocumentDetail(int i, com.fedex.ship.stub.CustomDocumentDetail _value) {
|
|
|
177 |
this.customPackageDocumentDetail[i] = _value;
|
|
|
178 |
}
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
/**
|
|
|
182 |
* Gets the customShipmentDocumentDetail value for this ShippingDocumentSpecification.
|
|
|
183 |
*
|
|
|
184 |
* @return customShipmentDocumentDetail * Specifies the production of a shipment-level custom document.
|
|
|
185 |
*/
|
|
|
186 |
public com.fedex.ship.stub.CustomDocumentDetail[] getCustomShipmentDocumentDetail() {
|
|
|
187 |
return customShipmentDocumentDetail;
|
|
|
188 |
}
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
/**
|
|
|
192 |
* Sets the customShipmentDocumentDetail value for this ShippingDocumentSpecification.
|
|
|
193 |
*
|
|
|
194 |
* @param customShipmentDocumentDetail * Specifies the production of a shipment-level custom document.
|
|
|
195 |
*/
|
|
|
196 |
public void setCustomShipmentDocumentDetail(com.fedex.ship.stub.CustomDocumentDetail[] customShipmentDocumentDetail) {
|
|
|
197 |
this.customShipmentDocumentDetail = customShipmentDocumentDetail;
|
|
|
198 |
}
|
|
|
199 |
|
|
|
200 |
public com.fedex.ship.stub.CustomDocumentDetail getCustomShipmentDocumentDetail(int i) {
|
|
|
201 |
return this.customShipmentDocumentDetail[i];
|
|
|
202 |
}
|
|
|
203 |
|
|
|
204 |
public void setCustomShipmentDocumentDetail(int i, com.fedex.ship.stub.CustomDocumentDetail _value) {
|
|
|
205 |
this.customShipmentDocumentDetail[i] = _value;
|
|
|
206 |
}
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
/**
|
|
|
210 |
* Gets the generalAgencyAgreementDetail value for this ShippingDocumentSpecification.
|
|
|
211 |
*
|
|
|
212 |
* @return generalAgencyAgreementDetail * This element is currently not supported and is for the future
|
|
|
213 |
* use. (Details pertaining to the GAA.)
|
|
|
214 |
*/
|
|
|
215 |
public com.fedex.ship.stub.GeneralAgencyAgreementDetail getGeneralAgencyAgreementDetail() {
|
|
|
216 |
return generalAgencyAgreementDetail;
|
|
|
217 |
}
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
/**
|
|
|
221 |
* Sets the generalAgencyAgreementDetail value for this ShippingDocumentSpecification.
|
|
|
222 |
*
|
|
|
223 |
* @param generalAgencyAgreementDetail * This element is currently not supported and is for the future
|
|
|
224 |
* use. (Details pertaining to the GAA.)
|
|
|
225 |
*/
|
|
|
226 |
public void setGeneralAgencyAgreementDetail(com.fedex.ship.stub.GeneralAgencyAgreementDetail generalAgencyAgreementDetail) {
|
|
|
227 |
this.generalAgencyAgreementDetail = generalAgencyAgreementDetail;
|
|
|
228 |
}
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
/**
|
|
|
232 |
* Gets the naftaCertificateOfOriginDetail value for this ShippingDocumentSpecification.
|
|
|
233 |
*
|
|
|
234 |
* @return naftaCertificateOfOriginDetail
|
|
|
235 |
*/
|
|
|
236 |
public com.fedex.ship.stub.NaftaCertificateOfOriginDetail getNaftaCertificateOfOriginDetail() {
|
|
|
237 |
return naftaCertificateOfOriginDetail;
|
|
|
238 |
}
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
/**
|
|
|
242 |
* Sets the naftaCertificateOfOriginDetail value for this ShippingDocumentSpecification.
|
|
|
243 |
*
|
|
|
244 |
* @param naftaCertificateOfOriginDetail
|
|
|
245 |
*/
|
|
|
246 |
public void setNaftaCertificateOfOriginDetail(com.fedex.ship.stub.NaftaCertificateOfOriginDetail naftaCertificateOfOriginDetail) {
|
|
|
247 |
this.naftaCertificateOfOriginDetail = naftaCertificateOfOriginDetail;
|
|
|
248 |
}
|
|
|
249 |
|
|
|
250 |
|
|
|
251 |
/**
|
|
|
252 |
* Gets the op900Detail value for this ShippingDocumentSpecification.
|
|
|
253 |
*
|
|
|
254 |
* @return op900Detail * Specifies the production of the OP-900 document for hazardous
|
|
|
255 |
* materials packages.
|
|
|
256 |
*/
|
|
|
257 |
public com.fedex.ship.stub.Op900Detail getOp900Detail() {
|
|
|
258 |
return op900Detail;
|
|
|
259 |
}
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
/**
|
|
|
263 |
* Sets the op900Detail value for this ShippingDocumentSpecification.
|
|
|
264 |
*
|
|
|
265 |
* @param op900Detail * Specifies the production of the OP-900 document for hazardous
|
|
|
266 |
* materials packages.
|
|
|
267 |
*/
|
|
|
268 |
public void setOp900Detail(com.fedex.ship.stub.Op900Detail op900Detail) {
|
|
|
269 |
this.op900Detail = op900Detail;
|
|
|
270 |
}
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
/**
|
|
|
274 |
* Gets the dangerousGoodsShippersDeclarationDetail value for this ShippingDocumentSpecification.
|
|
|
275 |
*
|
|
|
276 |
* @return dangerousGoodsShippersDeclarationDetail * Specifies the production of the 1421c document for dangerous
|
|
|
277 |
* goods shipment.
|
|
|
278 |
*/
|
|
|
279 |
public com.fedex.ship.stub.DangerousGoodsShippersDeclarationDetail getDangerousGoodsShippersDeclarationDetail() {
|
|
|
280 |
return dangerousGoodsShippersDeclarationDetail;
|
|
|
281 |
}
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
/**
|
|
|
285 |
* Sets the dangerousGoodsShippersDeclarationDetail value for this ShippingDocumentSpecification.
|
|
|
286 |
*
|
|
|
287 |
* @param dangerousGoodsShippersDeclarationDetail * Specifies the production of the 1421c document for dangerous
|
|
|
288 |
* goods shipment.
|
|
|
289 |
*/
|
|
|
290 |
public void setDangerousGoodsShippersDeclarationDetail(com.fedex.ship.stub.DangerousGoodsShippersDeclarationDetail dangerousGoodsShippersDeclarationDetail) {
|
|
|
291 |
this.dangerousGoodsShippersDeclarationDetail = dangerousGoodsShippersDeclarationDetail;
|
|
|
292 |
}
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
/**
|
|
|
296 |
* Gets the freightAddressLabelDetail value for this ShippingDocumentSpecification.
|
|
|
297 |
*
|
|
|
298 |
* @return freightAddressLabelDetail * Specifies the production of the OP-900 document for hazardous
|
|
|
299 |
* materials.
|
|
|
300 |
*/
|
|
|
301 |
public com.fedex.ship.stub.FreightAddressLabelDetail getFreightAddressLabelDetail() {
|
|
|
302 |
return freightAddressLabelDetail;
|
|
|
303 |
}
|
|
|
304 |
|
|
|
305 |
|
|
|
306 |
/**
|
|
|
307 |
* Sets the freightAddressLabelDetail value for this ShippingDocumentSpecification.
|
|
|
308 |
*
|
|
|
309 |
* @param freightAddressLabelDetail * Specifies the production of the OP-900 document for hazardous
|
|
|
310 |
* materials.
|
|
|
311 |
*/
|
|
|
312 |
public void setFreightAddressLabelDetail(com.fedex.ship.stub.FreightAddressLabelDetail freightAddressLabelDetail) {
|
|
|
313 |
this.freightAddressLabelDetail = freightAddressLabelDetail;
|
|
|
314 |
}
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
/**
|
|
|
318 |
* Gets the returnInstructionsDetail value for this ShippingDocumentSpecification.
|
|
|
319 |
*
|
|
|
320 |
* @return returnInstructionsDetail * Specifies the production of the return instructions document.
|
|
|
321 |
*/
|
|
|
322 |
public com.fedex.ship.stub.ReturnInstructionsDetail getReturnInstructionsDetail() {
|
|
|
323 |
return returnInstructionsDetail;
|
|
|
324 |
}
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
/**
|
|
|
328 |
* Sets the returnInstructionsDetail value for this ShippingDocumentSpecification.
|
|
|
329 |
*
|
|
|
330 |
* @param returnInstructionsDetail * Specifies the production of the return instructions document.
|
|
|
331 |
*/
|
|
|
332 |
public void setReturnInstructionsDetail(com.fedex.ship.stub.ReturnInstructionsDetail returnInstructionsDetail) {
|
|
|
333 |
this.returnInstructionsDetail = returnInstructionsDetail;
|
|
|
334 |
}
|
|
|
335 |
|
|
|
336 |
private java.lang.Object __equalsCalc = null;
|
|
|
337 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
338 |
if (!(obj instanceof ShippingDocumentSpecification)) return false;
|
|
|
339 |
ShippingDocumentSpecification other = (ShippingDocumentSpecification) obj;
|
|
|
340 |
if (obj == null) return false;
|
|
|
341 |
if (this == obj) return true;
|
|
|
342 |
if (__equalsCalc != null) {
|
|
|
343 |
return (__equalsCalc == obj);
|
|
|
344 |
}
|
|
|
345 |
__equalsCalc = obj;
|
|
|
346 |
boolean _equals;
|
|
|
347 |
_equals = true &&
|
|
|
348 |
((this.shippingDocumentTypes==null && other.getShippingDocumentTypes()==null) ||
|
|
|
349 |
(this.shippingDocumentTypes!=null &&
|
|
|
350 |
java.util.Arrays.equals(this.shippingDocumentTypes, other.getShippingDocumentTypes()))) &&
|
|
|
351 |
((this.certificateOfOrigin==null && other.getCertificateOfOrigin()==null) ||
|
|
|
352 |
(this.certificateOfOrigin!=null &&
|
|
|
353 |
this.certificateOfOrigin.equals(other.getCertificateOfOrigin()))) &&
|
|
|
354 |
((this.commercialInvoiceDetail==null && other.getCommercialInvoiceDetail()==null) ||
|
|
|
355 |
(this.commercialInvoiceDetail!=null &&
|
|
|
356 |
this.commercialInvoiceDetail.equals(other.getCommercialInvoiceDetail()))) &&
|
|
|
357 |
((this.customPackageDocumentDetail==null && other.getCustomPackageDocumentDetail()==null) ||
|
|
|
358 |
(this.customPackageDocumentDetail!=null &&
|
|
|
359 |
java.util.Arrays.equals(this.customPackageDocumentDetail, other.getCustomPackageDocumentDetail()))) &&
|
|
|
360 |
((this.customShipmentDocumentDetail==null && other.getCustomShipmentDocumentDetail()==null) ||
|
|
|
361 |
(this.customShipmentDocumentDetail!=null &&
|
|
|
362 |
java.util.Arrays.equals(this.customShipmentDocumentDetail, other.getCustomShipmentDocumentDetail()))) &&
|
|
|
363 |
((this.generalAgencyAgreementDetail==null && other.getGeneralAgencyAgreementDetail()==null) ||
|
|
|
364 |
(this.generalAgencyAgreementDetail!=null &&
|
|
|
365 |
this.generalAgencyAgreementDetail.equals(other.getGeneralAgencyAgreementDetail()))) &&
|
|
|
366 |
((this.naftaCertificateOfOriginDetail==null && other.getNaftaCertificateOfOriginDetail()==null) ||
|
|
|
367 |
(this.naftaCertificateOfOriginDetail!=null &&
|
|
|
368 |
this.naftaCertificateOfOriginDetail.equals(other.getNaftaCertificateOfOriginDetail()))) &&
|
|
|
369 |
((this.op900Detail==null && other.getOp900Detail()==null) ||
|
|
|
370 |
(this.op900Detail!=null &&
|
|
|
371 |
this.op900Detail.equals(other.getOp900Detail()))) &&
|
|
|
372 |
((this.dangerousGoodsShippersDeclarationDetail==null && other.getDangerousGoodsShippersDeclarationDetail()==null) ||
|
|
|
373 |
(this.dangerousGoodsShippersDeclarationDetail!=null &&
|
|
|
374 |
this.dangerousGoodsShippersDeclarationDetail.equals(other.getDangerousGoodsShippersDeclarationDetail()))) &&
|
|
|
375 |
((this.freightAddressLabelDetail==null && other.getFreightAddressLabelDetail()==null) ||
|
|
|
376 |
(this.freightAddressLabelDetail!=null &&
|
|
|
377 |
this.freightAddressLabelDetail.equals(other.getFreightAddressLabelDetail()))) &&
|
|
|
378 |
((this.returnInstructionsDetail==null && other.getReturnInstructionsDetail()==null) ||
|
|
|
379 |
(this.returnInstructionsDetail!=null &&
|
|
|
380 |
this.returnInstructionsDetail.equals(other.getReturnInstructionsDetail())));
|
|
|
381 |
__equalsCalc = null;
|
|
|
382 |
return _equals;
|
|
|
383 |
}
|
|
|
384 |
|
|
|
385 |
private boolean __hashCodeCalc = false;
|
|
|
386 |
public synchronized int hashCode() {
|
|
|
387 |
if (__hashCodeCalc) {
|
|
|
388 |
return 0;
|
|
|
389 |
}
|
|
|
390 |
__hashCodeCalc = true;
|
|
|
391 |
int _hashCode = 1;
|
|
|
392 |
if (getShippingDocumentTypes() != null) {
|
|
|
393 |
for (int i=0;
|
|
|
394 |
i<java.lang.reflect.Array.getLength(getShippingDocumentTypes());
|
|
|
395 |
i++) {
|
|
|
396 |
java.lang.Object obj = java.lang.reflect.Array.get(getShippingDocumentTypes(), i);
|
|
|
397 |
if (obj != null &&
|
|
|
398 |
!obj.getClass().isArray()) {
|
|
|
399 |
_hashCode += obj.hashCode();
|
|
|
400 |
}
|
|
|
401 |
}
|
|
|
402 |
}
|
|
|
403 |
if (getCertificateOfOrigin() != null) {
|
|
|
404 |
_hashCode += getCertificateOfOrigin().hashCode();
|
|
|
405 |
}
|
|
|
406 |
if (getCommercialInvoiceDetail() != null) {
|
|
|
407 |
_hashCode += getCommercialInvoiceDetail().hashCode();
|
|
|
408 |
}
|
|
|
409 |
if (getCustomPackageDocumentDetail() != null) {
|
|
|
410 |
for (int i=0;
|
|
|
411 |
i<java.lang.reflect.Array.getLength(getCustomPackageDocumentDetail());
|
|
|
412 |
i++) {
|
|
|
413 |
java.lang.Object obj = java.lang.reflect.Array.get(getCustomPackageDocumentDetail(), i);
|
|
|
414 |
if (obj != null &&
|
|
|
415 |
!obj.getClass().isArray()) {
|
|
|
416 |
_hashCode += obj.hashCode();
|
|
|
417 |
}
|
|
|
418 |
}
|
|
|
419 |
}
|
|
|
420 |
if (getCustomShipmentDocumentDetail() != null) {
|
|
|
421 |
for (int i=0;
|
|
|
422 |
i<java.lang.reflect.Array.getLength(getCustomShipmentDocumentDetail());
|
|
|
423 |
i++) {
|
|
|
424 |
java.lang.Object obj = java.lang.reflect.Array.get(getCustomShipmentDocumentDetail(), i);
|
|
|
425 |
if (obj != null &&
|
|
|
426 |
!obj.getClass().isArray()) {
|
|
|
427 |
_hashCode += obj.hashCode();
|
|
|
428 |
}
|
|
|
429 |
}
|
|
|
430 |
}
|
|
|
431 |
if (getGeneralAgencyAgreementDetail() != null) {
|
|
|
432 |
_hashCode += getGeneralAgencyAgreementDetail().hashCode();
|
|
|
433 |
}
|
|
|
434 |
if (getNaftaCertificateOfOriginDetail() != null) {
|
|
|
435 |
_hashCode += getNaftaCertificateOfOriginDetail().hashCode();
|
|
|
436 |
}
|
|
|
437 |
if (getOp900Detail() != null) {
|
|
|
438 |
_hashCode += getOp900Detail().hashCode();
|
|
|
439 |
}
|
|
|
440 |
if (getDangerousGoodsShippersDeclarationDetail() != null) {
|
|
|
441 |
_hashCode += getDangerousGoodsShippersDeclarationDetail().hashCode();
|
|
|
442 |
}
|
|
|
443 |
if (getFreightAddressLabelDetail() != null) {
|
|
|
444 |
_hashCode += getFreightAddressLabelDetail().hashCode();
|
|
|
445 |
}
|
|
|
446 |
if (getReturnInstructionsDetail() != null) {
|
|
|
447 |
_hashCode += getReturnInstructionsDetail().hashCode();
|
|
|
448 |
}
|
|
|
449 |
__hashCodeCalc = false;
|
|
|
450 |
return _hashCode;
|
|
|
451 |
}
|
|
|
452 |
|
|
|
453 |
// Type metadata
|
|
|
454 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
455 |
new org.apache.axis.description.TypeDesc(ShippingDocumentSpecification.class, true);
|
|
|
456 |
|
|
|
457 |
static {
|
|
|
458 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocumentSpecification"));
|
|
|
459 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
460 |
elemField.setFieldName("shippingDocumentTypes");
|
|
|
461 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocumentTypes"));
|
|
|
462 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RequestedShippingDocumentType"));
|
|
|
463 |
elemField.setNillable(false);
|
|
|
464 |
elemField.setMaxOccursUnbounded(true);
|
|
|
465 |
typeDesc.addFieldDesc(elemField);
|
|
|
466 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
467 |
elemField.setFieldName("certificateOfOrigin");
|
|
|
468 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CertificateOfOrigin"));
|
|
|
469 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CertificateOfOriginDetail"));
|
|
|
470 |
elemField.setMinOccurs(0);
|
|
|
471 |
elemField.setNillable(false);
|
|
|
472 |
typeDesc.addFieldDesc(elemField);
|
|
|
473 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
474 |
elemField.setFieldName("commercialInvoiceDetail");
|
|
|
475 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CommercialInvoiceDetail"));
|
|
|
476 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CommercialInvoiceDetail"));
|
|
|
477 |
elemField.setMinOccurs(0);
|
|
|
478 |
elemField.setNillable(false);
|
|
|
479 |
typeDesc.addFieldDesc(elemField);
|
|
|
480 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
481 |
elemField.setFieldName("customPackageDocumentDetail");
|
|
|
482 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomPackageDocumentDetail"));
|
|
|
483 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomDocumentDetail"));
|
|
|
484 |
elemField.setMinOccurs(0);
|
|
|
485 |
elemField.setNillable(false);
|
|
|
486 |
elemField.setMaxOccursUnbounded(true);
|
|
|
487 |
typeDesc.addFieldDesc(elemField);
|
|
|
488 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
489 |
elemField.setFieldName("customShipmentDocumentDetail");
|
|
|
490 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomShipmentDocumentDetail"));
|
|
|
491 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomDocumentDetail"));
|
|
|
492 |
elemField.setMinOccurs(0);
|
|
|
493 |
elemField.setNillable(false);
|
|
|
494 |
elemField.setMaxOccursUnbounded(true);
|
|
|
495 |
typeDesc.addFieldDesc(elemField);
|
|
|
496 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
497 |
elemField.setFieldName("generalAgencyAgreementDetail");
|
|
|
498 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "GeneralAgencyAgreementDetail"));
|
|
|
499 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "GeneralAgencyAgreementDetail"));
|
|
|
500 |
elemField.setMinOccurs(0);
|
|
|
501 |
elemField.setNillable(false);
|
|
|
502 |
typeDesc.addFieldDesc(elemField);
|
|
|
503 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
504 |
elemField.setFieldName("naftaCertificateOfOriginDetail");
|
|
|
505 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "NaftaCertificateOfOriginDetail"));
|
|
|
506 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "NaftaCertificateOfOriginDetail"));
|
|
|
507 |
elemField.setMinOccurs(0);
|
|
|
508 |
elemField.setNillable(false);
|
|
|
509 |
typeDesc.addFieldDesc(elemField);
|
|
|
510 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
511 |
elemField.setFieldName("op900Detail");
|
|
|
512 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Op900Detail"));
|
|
|
513 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Op900Detail"));
|
|
|
514 |
elemField.setMinOccurs(0);
|
|
|
515 |
elemField.setNillable(false);
|
|
|
516 |
typeDesc.addFieldDesc(elemField);
|
|
|
517 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
518 |
elemField.setFieldName("dangerousGoodsShippersDeclarationDetail");
|
|
|
519 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DangerousGoodsShippersDeclarationDetail"));
|
|
|
520 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DangerousGoodsShippersDeclarationDetail"));
|
|
|
521 |
elemField.setMinOccurs(0);
|
|
|
522 |
elemField.setNillable(false);
|
|
|
523 |
typeDesc.addFieldDesc(elemField);
|
|
|
524 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
525 |
elemField.setFieldName("freightAddressLabelDetail");
|
|
|
526 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightAddressLabelDetail"));
|
|
|
527 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightAddressLabelDetail"));
|
|
|
528 |
elemField.setMinOccurs(0);
|
|
|
529 |
elemField.setNillable(false);
|
|
|
530 |
typeDesc.addFieldDesc(elemField);
|
|
|
531 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
532 |
elemField.setFieldName("returnInstructionsDetail");
|
|
|
533 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ReturnInstructionsDetail"));
|
|
|
534 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ReturnInstructionsDetail"));
|
|
|
535 |
elemField.setMinOccurs(0);
|
|
|
536 |
elemField.setNillable(false);
|
|
|
537 |
typeDesc.addFieldDesc(elemField);
|
|
|
538 |
}
|
|
|
539 |
|
|
|
540 |
/**
|
|
|
541 |
* Return type metadata object
|
|
|
542 |
*/
|
|
|
543 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
544 |
return typeDesc;
|
|
|
545 |
}
|
|
|
546 |
|
|
|
547 |
/**
|
|
|
548 |
* Get Custom Serializer
|
|
|
549 |
*/
|
|
|
550 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
551 |
java.lang.String mechType,
|
|
|
552 |
java.lang.Class _javaType,
|
|
|
553 |
javax.xml.namespace.QName _xmlType) {
|
|
|
554 |
return
|
|
|
555 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
556 |
_javaType, _xmlType, typeDesc);
|
|
|
557 |
}
|
|
|
558 |
|
|
|
559 |
/**
|
|
|
560 |
* Get Custom Deserializer
|
|
|
561 |
*/
|
|
|
562 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
563 |
java.lang.String mechType,
|
|
|
564 |
java.lang.Class _javaType,
|
|
|
565 |
javax.xml.namespace.QName _xmlType) {
|
|
|
566 |
return
|
|
|
567 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
568 |
_javaType, _xmlType, typeDesc);
|
|
|
569 |
}
|
|
|
570 |
|
|
|
571 |
}
|