| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* CompletedPackageDetail.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 CompletedPackageDetail implements java.io.Serializable {
|
|
|
11 |
/* The package sequence number of this package in a multiple piece
|
|
|
12 |
* shipment. */
|
|
|
13 |
private org.apache.axis.types.PositiveInteger sequenceNumber;
|
|
|
14 |
|
|
|
15 |
/* The Tracking number and form id for this package. */
|
|
|
16 |
private com.fedex.ship.stub.TrackingId[] trackingIds;
|
|
|
17 |
|
|
|
18 |
/* Used with request containing PACKAGE_GROUPS, to identify which
|
|
|
19 |
* group of identical packages was used to produce a reply item. */
|
|
|
20 |
private org.apache.axis.types.NonNegativeInteger groupNumber;
|
|
|
21 |
|
|
|
22 |
/* Oversize class for this package. */
|
|
|
23 |
private com.fedex.ship.stub.OversizeClassType oversizeClass;
|
|
|
24 |
|
|
|
25 |
/* All package-level rating data for this package, which may include
|
|
|
26 |
* data for multiple rate types. */
|
|
|
27 |
private com.fedex.ship.stub.PackageRating packageRating;
|
|
|
28 |
|
|
|
29 |
private com.fedex.ship.stub.PackageOperationalDetail operationalDetail;
|
|
|
30 |
|
|
|
31 |
/* The label image or printer commands to print the label. */
|
|
|
32 |
private com.fedex.ship.stub.ShippingDocument label;
|
|
|
33 |
|
|
|
34 |
/* All package-level shipping documents (other than labels and
|
|
|
35 |
* barcodes). For use in loads after January, 2008. */
|
|
|
36 |
private com.fedex.ship.stub.ShippingDocument[] packageDocuments;
|
|
|
37 |
|
|
|
38 |
/* Specifies the information associated with this package that
|
|
|
39 |
* has COD special service in a ground shipment. */
|
|
|
40 |
private com.fedex.ship.stub.CodReturnPackageDetail codReturnDetail;
|
|
|
41 |
|
|
|
42 |
/* Actual signature option applied, to allow for cases in which
|
|
|
43 |
* the original value conflicted with other service features in the shipment. */
|
|
|
44 |
private com.fedex.ship.stub.SignatureOptionType signatureOption;
|
|
|
45 |
|
|
|
46 |
private com.fedex.ship.stub.Weight dryIceWeight;
|
|
|
47 |
|
|
|
48 |
/* Documents the kinds and quantities of all hazardous commodities
|
|
|
49 |
* in the current package, using updated hazardous commodity description
|
|
|
50 |
* data. */
|
|
|
51 |
private com.fedex.ship.stub.CompletedHazardousPackageDetail hazardousPackageDetail;
|
|
|
52 |
|
|
|
53 |
public CompletedPackageDetail() {
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
public CompletedPackageDetail(
|
|
|
57 |
org.apache.axis.types.PositiveInteger sequenceNumber,
|
|
|
58 |
com.fedex.ship.stub.TrackingId[] trackingIds,
|
|
|
59 |
org.apache.axis.types.NonNegativeInteger groupNumber,
|
|
|
60 |
com.fedex.ship.stub.OversizeClassType oversizeClass,
|
|
|
61 |
com.fedex.ship.stub.PackageRating packageRating,
|
|
|
62 |
com.fedex.ship.stub.PackageOperationalDetail operationalDetail,
|
|
|
63 |
com.fedex.ship.stub.ShippingDocument label,
|
|
|
64 |
com.fedex.ship.stub.ShippingDocument[] packageDocuments,
|
|
|
65 |
com.fedex.ship.stub.CodReturnPackageDetail codReturnDetail,
|
|
|
66 |
com.fedex.ship.stub.SignatureOptionType signatureOption,
|
|
|
67 |
com.fedex.ship.stub.Weight dryIceWeight,
|
|
|
68 |
com.fedex.ship.stub.CompletedHazardousPackageDetail hazardousPackageDetail) {
|
|
|
69 |
this.sequenceNumber = sequenceNumber;
|
|
|
70 |
this.trackingIds = trackingIds;
|
|
|
71 |
this.groupNumber = groupNumber;
|
|
|
72 |
this.oversizeClass = oversizeClass;
|
|
|
73 |
this.packageRating = packageRating;
|
|
|
74 |
this.operationalDetail = operationalDetail;
|
|
|
75 |
this.label = label;
|
|
|
76 |
this.packageDocuments = packageDocuments;
|
|
|
77 |
this.codReturnDetail = codReturnDetail;
|
|
|
78 |
this.signatureOption = signatureOption;
|
|
|
79 |
this.dryIceWeight = dryIceWeight;
|
|
|
80 |
this.hazardousPackageDetail = hazardousPackageDetail;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
/**
|
|
|
85 |
* Gets the sequenceNumber value for this CompletedPackageDetail.
|
|
|
86 |
*
|
|
|
87 |
* @return sequenceNumber * The package sequence number of this package in a multiple piece
|
|
|
88 |
* shipment.
|
|
|
89 |
*/
|
|
|
90 |
public org.apache.axis.types.PositiveInteger getSequenceNumber() {
|
|
|
91 |
return sequenceNumber;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
/**
|
|
|
96 |
* Sets the sequenceNumber value for this CompletedPackageDetail.
|
|
|
97 |
*
|
|
|
98 |
* @param sequenceNumber * The package sequence number of this package in a multiple piece
|
|
|
99 |
* shipment.
|
|
|
100 |
*/
|
|
|
101 |
public void setSequenceNumber(org.apache.axis.types.PositiveInteger sequenceNumber) {
|
|
|
102 |
this.sequenceNumber = sequenceNumber;
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
/**
|
|
|
107 |
* Gets the trackingIds value for this CompletedPackageDetail.
|
|
|
108 |
*
|
|
|
109 |
* @return trackingIds * The Tracking number and form id for this package.
|
|
|
110 |
*/
|
|
|
111 |
public com.fedex.ship.stub.TrackingId[] getTrackingIds() {
|
|
|
112 |
return trackingIds;
|
|
|
113 |
}
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
/**
|
|
|
117 |
* Sets the trackingIds value for this CompletedPackageDetail.
|
|
|
118 |
*
|
|
|
119 |
* @param trackingIds * The Tracking number and form id for this package.
|
|
|
120 |
*/
|
|
|
121 |
public void setTrackingIds(com.fedex.ship.stub.TrackingId[] trackingIds) {
|
|
|
122 |
this.trackingIds = trackingIds;
|
|
|
123 |
}
|
|
|
124 |
|
|
|
125 |
public com.fedex.ship.stub.TrackingId getTrackingIds(int i) {
|
|
|
126 |
return this.trackingIds[i];
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
public void setTrackingIds(int i, com.fedex.ship.stub.TrackingId _value) {
|
|
|
130 |
this.trackingIds[i] = _value;
|
|
|
131 |
}
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
/**
|
|
|
135 |
* Gets the groupNumber value for this CompletedPackageDetail.
|
|
|
136 |
*
|
|
|
137 |
* @return groupNumber * Used with request containing PACKAGE_GROUPS, to identify which
|
|
|
138 |
* group of identical packages was used to produce a reply item.
|
|
|
139 |
*/
|
|
|
140 |
public org.apache.axis.types.NonNegativeInteger getGroupNumber() {
|
|
|
141 |
return groupNumber;
|
|
|
142 |
}
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
/**
|
|
|
146 |
* Sets the groupNumber value for this CompletedPackageDetail.
|
|
|
147 |
*
|
|
|
148 |
* @param groupNumber * Used with request containing PACKAGE_GROUPS, to identify which
|
|
|
149 |
* group of identical packages was used to produce a reply item.
|
|
|
150 |
*/
|
|
|
151 |
public void setGroupNumber(org.apache.axis.types.NonNegativeInteger groupNumber) {
|
|
|
152 |
this.groupNumber = groupNumber;
|
|
|
153 |
}
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
/**
|
|
|
157 |
* Gets the oversizeClass value for this CompletedPackageDetail.
|
|
|
158 |
*
|
|
|
159 |
* @return oversizeClass * Oversize class for this package.
|
|
|
160 |
*/
|
|
|
161 |
public com.fedex.ship.stub.OversizeClassType getOversizeClass() {
|
|
|
162 |
return oversizeClass;
|
|
|
163 |
}
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
/**
|
|
|
167 |
* Sets the oversizeClass value for this CompletedPackageDetail.
|
|
|
168 |
*
|
|
|
169 |
* @param oversizeClass * Oversize class for this package.
|
|
|
170 |
*/
|
|
|
171 |
public void setOversizeClass(com.fedex.ship.stub.OversizeClassType oversizeClass) {
|
|
|
172 |
this.oversizeClass = oversizeClass;
|
|
|
173 |
}
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
/**
|
|
|
177 |
* Gets the packageRating value for this CompletedPackageDetail.
|
|
|
178 |
*
|
|
|
179 |
* @return packageRating * All package-level rating data for this package, which may include
|
|
|
180 |
* data for multiple rate types.
|
|
|
181 |
*/
|
|
|
182 |
public com.fedex.ship.stub.PackageRating getPackageRating() {
|
|
|
183 |
return packageRating;
|
|
|
184 |
}
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
/**
|
|
|
188 |
* Sets the packageRating value for this CompletedPackageDetail.
|
|
|
189 |
*
|
|
|
190 |
* @param packageRating * All package-level rating data for this package, which may include
|
|
|
191 |
* data for multiple rate types.
|
|
|
192 |
*/
|
|
|
193 |
public void setPackageRating(com.fedex.ship.stub.PackageRating packageRating) {
|
|
|
194 |
this.packageRating = packageRating;
|
|
|
195 |
}
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
/**
|
|
|
199 |
* Gets the operationalDetail value for this CompletedPackageDetail.
|
|
|
200 |
*
|
|
|
201 |
* @return operationalDetail
|
|
|
202 |
*/
|
|
|
203 |
public com.fedex.ship.stub.PackageOperationalDetail getOperationalDetail() {
|
|
|
204 |
return operationalDetail;
|
|
|
205 |
}
|
|
|
206 |
|
|
|
207 |
|
|
|
208 |
/**
|
|
|
209 |
* Sets the operationalDetail value for this CompletedPackageDetail.
|
|
|
210 |
*
|
|
|
211 |
* @param operationalDetail
|
|
|
212 |
*/
|
|
|
213 |
public void setOperationalDetail(com.fedex.ship.stub.PackageOperationalDetail operationalDetail) {
|
|
|
214 |
this.operationalDetail = operationalDetail;
|
|
|
215 |
}
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
/**
|
|
|
219 |
* Gets the label value for this CompletedPackageDetail.
|
|
|
220 |
*
|
|
|
221 |
* @return label * The label image or printer commands to print the label.
|
|
|
222 |
*/
|
|
|
223 |
public com.fedex.ship.stub.ShippingDocument getLabel() {
|
|
|
224 |
return label;
|
|
|
225 |
}
|
|
|
226 |
|
|
|
227 |
|
|
|
228 |
/**
|
|
|
229 |
* Sets the label value for this CompletedPackageDetail.
|
|
|
230 |
*
|
|
|
231 |
* @param label * The label image or printer commands to print the label.
|
|
|
232 |
*/
|
|
|
233 |
public void setLabel(com.fedex.ship.stub.ShippingDocument label) {
|
|
|
234 |
this.label = label;
|
|
|
235 |
}
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
/**
|
|
|
239 |
* Gets the packageDocuments value for this CompletedPackageDetail.
|
|
|
240 |
*
|
|
|
241 |
* @return packageDocuments * All package-level shipping documents (other than labels and
|
|
|
242 |
* barcodes). For use in loads after January, 2008.
|
|
|
243 |
*/
|
|
|
244 |
public com.fedex.ship.stub.ShippingDocument[] getPackageDocuments() {
|
|
|
245 |
return packageDocuments;
|
|
|
246 |
}
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
/**
|
|
|
250 |
* Sets the packageDocuments value for this CompletedPackageDetail.
|
|
|
251 |
*
|
|
|
252 |
* @param packageDocuments * All package-level shipping documents (other than labels and
|
|
|
253 |
* barcodes). For use in loads after January, 2008.
|
|
|
254 |
*/
|
|
|
255 |
public void setPackageDocuments(com.fedex.ship.stub.ShippingDocument[] packageDocuments) {
|
|
|
256 |
this.packageDocuments = packageDocuments;
|
|
|
257 |
}
|
|
|
258 |
|
|
|
259 |
public com.fedex.ship.stub.ShippingDocument getPackageDocuments(int i) {
|
|
|
260 |
return this.packageDocuments[i];
|
|
|
261 |
}
|
|
|
262 |
|
|
|
263 |
public void setPackageDocuments(int i, com.fedex.ship.stub.ShippingDocument _value) {
|
|
|
264 |
this.packageDocuments[i] = _value;
|
|
|
265 |
}
|
|
|
266 |
|
|
|
267 |
|
|
|
268 |
/**
|
|
|
269 |
* Gets the codReturnDetail value for this CompletedPackageDetail.
|
|
|
270 |
*
|
|
|
271 |
* @return codReturnDetail * Specifies the information associated with this package that
|
|
|
272 |
* has COD special service in a ground shipment.
|
|
|
273 |
*/
|
|
|
274 |
public com.fedex.ship.stub.CodReturnPackageDetail getCodReturnDetail() {
|
|
|
275 |
return codReturnDetail;
|
|
|
276 |
}
|
|
|
277 |
|
|
|
278 |
|
|
|
279 |
/**
|
|
|
280 |
* Sets the codReturnDetail value for this CompletedPackageDetail.
|
|
|
281 |
*
|
|
|
282 |
* @param codReturnDetail * Specifies the information associated with this package that
|
|
|
283 |
* has COD special service in a ground shipment.
|
|
|
284 |
*/
|
|
|
285 |
public void setCodReturnDetail(com.fedex.ship.stub.CodReturnPackageDetail codReturnDetail) {
|
|
|
286 |
this.codReturnDetail = codReturnDetail;
|
|
|
287 |
}
|
|
|
288 |
|
|
|
289 |
|
|
|
290 |
/**
|
|
|
291 |
* Gets the signatureOption value for this CompletedPackageDetail.
|
|
|
292 |
*
|
|
|
293 |
* @return signatureOption * Actual signature option applied, to allow for cases in which
|
|
|
294 |
* the original value conflicted with other service features in the shipment.
|
|
|
295 |
*/
|
|
|
296 |
public com.fedex.ship.stub.SignatureOptionType getSignatureOption() {
|
|
|
297 |
return signatureOption;
|
|
|
298 |
}
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
/**
|
|
|
302 |
* Sets the signatureOption value for this CompletedPackageDetail.
|
|
|
303 |
*
|
|
|
304 |
* @param signatureOption * Actual signature option applied, to allow for cases in which
|
|
|
305 |
* the original value conflicted with other service features in the shipment.
|
|
|
306 |
*/
|
|
|
307 |
public void setSignatureOption(com.fedex.ship.stub.SignatureOptionType signatureOption) {
|
|
|
308 |
this.signatureOption = signatureOption;
|
|
|
309 |
}
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
/**
|
|
|
313 |
* Gets the dryIceWeight value for this CompletedPackageDetail.
|
|
|
314 |
*
|
|
|
315 |
* @return dryIceWeight
|
|
|
316 |
*/
|
|
|
317 |
public com.fedex.ship.stub.Weight getDryIceWeight() {
|
|
|
318 |
return dryIceWeight;
|
|
|
319 |
}
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
/**
|
|
|
323 |
* Sets the dryIceWeight value for this CompletedPackageDetail.
|
|
|
324 |
*
|
|
|
325 |
* @param dryIceWeight
|
|
|
326 |
*/
|
|
|
327 |
public void setDryIceWeight(com.fedex.ship.stub.Weight dryIceWeight) {
|
|
|
328 |
this.dryIceWeight = dryIceWeight;
|
|
|
329 |
}
|
|
|
330 |
|
|
|
331 |
|
|
|
332 |
/**
|
|
|
333 |
* Gets the hazardousPackageDetail value for this CompletedPackageDetail.
|
|
|
334 |
*
|
|
|
335 |
* @return hazardousPackageDetail * Documents the kinds and quantities of all hazardous commodities
|
|
|
336 |
* in the current package, using updated hazardous commodity description
|
|
|
337 |
* data.
|
|
|
338 |
*/
|
|
|
339 |
public com.fedex.ship.stub.CompletedHazardousPackageDetail getHazardousPackageDetail() {
|
|
|
340 |
return hazardousPackageDetail;
|
|
|
341 |
}
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
/**
|
|
|
345 |
* Sets the hazardousPackageDetail value for this CompletedPackageDetail.
|
|
|
346 |
*
|
|
|
347 |
* @param hazardousPackageDetail * Documents the kinds and quantities of all hazardous commodities
|
|
|
348 |
* in the current package, using updated hazardous commodity description
|
|
|
349 |
* data.
|
|
|
350 |
*/
|
|
|
351 |
public void setHazardousPackageDetail(com.fedex.ship.stub.CompletedHazardousPackageDetail hazardousPackageDetail) {
|
|
|
352 |
this.hazardousPackageDetail = hazardousPackageDetail;
|
|
|
353 |
}
|
|
|
354 |
|
|
|
355 |
private java.lang.Object __equalsCalc = null;
|
|
|
356 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
357 |
if (!(obj instanceof CompletedPackageDetail)) return false;
|
|
|
358 |
CompletedPackageDetail other = (CompletedPackageDetail) obj;
|
|
|
359 |
if (obj == null) return false;
|
|
|
360 |
if (this == obj) return true;
|
|
|
361 |
if (__equalsCalc != null) {
|
|
|
362 |
return (__equalsCalc == obj);
|
|
|
363 |
}
|
|
|
364 |
__equalsCalc = obj;
|
|
|
365 |
boolean _equals;
|
|
|
366 |
_equals = true &&
|
|
|
367 |
((this.sequenceNumber==null && other.getSequenceNumber()==null) ||
|
|
|
368 |
(this.sequenceNumber!=null &&
|
|
|
369 |
this.sequenceNumber.equals(other.getSequenceNumber()))) &&
|
|
|
370 |
((this.trackingIds==null && other.getTrackingIds()==null) ||
|
|
|
371 |
(this.trackingIds!=null &&
|
|
|
372 |
java.util.Arrays.equals(this.trackingIds, other.getTrackingIds()))) &&
|
|
|
373 |
((this.groupNumber==null && other.getGroupNumber()==null) ||
|
|
|
374 |
(this.groupNumber!=null &&
|
|
|
375 |
this.groupNumber.equals(other.getGroupNumber()))) &&
|
|
|
376 |
((this.oversizeClass==null && other.getOversizeClass()==null) ||
|
|
|
377 |
(this.oversizeClass!=null &&
|
|
|
378 |
this.oversizeClass.equals(other.getOversizeClass()))) &&
|
|
|
379 |
((this.packageRating==null && other.getPackageRating()==null) ||
|
|
|
380 |
(this.packageRating!=null &&
|
|
|
381 |
this.packageRating.equals(other.getPackageRating()))) &&
|
|
|
382 |
((this.operationalDetail==null && other.getOperationalDetail()==null) ||
|
|
|
383 |
(this.operationalDetail!=null &&
|
|
|
384 |
this.operationalDetail.equals(other.getOperationalDetail()))) &&
|
|
|
385 |
((this.label==null && other.getLabel()==null) ||
|
|
|
386 |
(this.label!=null &&
|
|
|
387 |
this.label.equals(other.getLabel()))) &&
|
|
|
388 |
((this.packageDocuments==null && other.getPackageDocuments()==null) ||
|
|
|
389 |
(this.packageDocuments!=null &&
|
|
|
390 |
java.util.Arrays.equals(this.packageDocuments, other.getPackageDocuments()))) &&
|
|
|
391 |
((this.codReturnDetail==null && other.getCodReturnDetail()==null) ||
|
|
|
392 |
(this.codReturnDetail!=null &&
|
|
|
393 |
this.codReturnDetail.equals(other.getCodReturnDetail()))) &&
|
|
|
394 |
((this.signatureOption==null && other.getSignatureOption()==null) ||
|
|
|
395 |
(this.signatureOption!=null &&
|
|
|
396 |
this.signatureOption.equals(other.getSignatureOption()))) &&
|
|
|
397 |
((this.dryIceWeight==null && other.getDryIceWeight()==null) ||
|
|
|
398 |
(this.dryIceWeight!=null &&
|
|
|
399 |
this.dryIceWeight.equals(other.getDryIceWeight()))) &&
|
|
|
400 |
((this.hazardousPackageDetail==null && other.getHazardousPackageDetail()==null) ||
|
|
|
401 |
(this.hazardousPackageDetail!=null &&
|
|
|
402 |
this.hazardousPackageDetail.equals(other.getHazardousPackageDetail())));
|
|
|
403 |
__equalsCalc = null;
|
|
|
404 |
return _equals;
|
|
|
405 |
}
|
|
|
406 |
|
|
|
407 |
private boolean __hashCodeCalc = false;
|
|
|
408 |
public synchronized int hashCode() {
|
|
|
409 |
if (__hashCodeCalc) {
|
|
|
410 |
return 0;
|
|
|
411 |
}
|
|
|
412 |
__hashCodeCalc = true;
|
|
|
413 |
int _hashCode = 1;
|
|
|
414 |
if (getSequenceNumber() != null) {
|
|
|
415 |
_hashCode += getSequenceNumber().hashCode();
|
|
|
416 |
}
|
|
|
417 |
if (getTrackingIds() != null) {
|
|
|
418 |
for (int i=0;
|
|
|
419 |
i<java.lang.reflect.Array.getLength(getTrackingIds());
|
|
|
420 |
i++) {
|
|
|
421 |
java.lang.Object obj = java.lang.reflect.Array.get(getTrackingIds(), i);
|
|
|
422 |
if (obj != null &&
|
|
|
423 |
!obj.getClass().isArray()) {
|
|
|
424 |
_hashCode += obj.hashCode();
|
|
|
425 |
}
|
|
|
426 |
}
|
|
|
427 |
}
|
|
|
428 |
if (getGroupNumber() != null) {
|
|
|
429 |
_hashCode += getGroupNumber().hashCode();
|
|
|
430 |
}
|
|
|
431 |
if (getOversizeClass() != null) {
|
|
|
432 |
_hashCode += getOversizeClass().hashCode();
|
|
|
433 |
}
|
|
|
434 |
if (getPackageRating() != null) {
|
|
|
435 |
_hashCode += getPackageRating().hashCode();
|
|
|
436 |
}
|
|
|
437 |
if (getOperationalDetail() != null) {
|
|
|
438 |
_hashCode += getOperationalDetail().hashCode();
|
|
|
439 |
}
|
|
|
440 |
if (getLabel() != null) {
|
|
|
441 |
_hashCode += getLabel().hashCode();
|
|
|
442 |
}
|
|
|
443 |
if (getPackageDocuments() != null) {
|
|
|
444 |
for (int i=0;
|
|
|
445 |
i<java.lang.reflect.Array.getLength(getPackageDocuments());
|
|
|
446 |
i++) {
|
|
|
447 |
java.lang.Object obj = java.lang.reflect.Array.get(getPackageDocuments(), i);
|
|
|
448 |
if (obj != null &&
|
|
|
449 |
!obj.getClass().isArray()) {
|
|
|
450 |
_hashCode += obj.hashCode();
|
|
|
451 |
}
|
|
|
452 |
}
|
|
|
453 |
}
|
|
|
454 |
if (getCodReturnDetail() != null) {
|
|
|
455 |
_hashCode += getCodReturnDetail().hashCode();
|
|
|
456 |
}
|
|
|
457 |
if (getSignatureOption() != null) {
|
|
|
458 |
_hashCode += getSignatureOption().hashCode();
|
|
|
459 |
}
|
|
|
460 |
if (getDryIceWeight() != null) {
|
|
|
461 |
_hashCode += getDryIceWeight().hashCode();
|
|
|
462 |
}
|
|
|
463 |
if (getHazardousPackageDetail() != null) {
|
|
|
464 |
_hashCode += getHazardousPackageDetail().hashCode();
|
|
|
465 |
}
|
|
|
466 |
__hashCodeCalc = false;
|
|
|
467 |
return _hashCode;
|
|
|
468 |
}
|
|
|
469 |
|
|
|
470 |
// Type metadata
|
|
|
471 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
472 |
new org.apache.axis.description.TypeDesc(CompletedPackageDetail.class, true);
|
|
|
473 |
|
|
|
474 |
static {
|
|
|
475 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedPackageDetail"));
|
|
|
476 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
477 |
elemField.setFieldName("sequenceNumber");
|
|
|
478 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SequenceNumber"));
|
|
|
479 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "positiveInteger"));
|
|
|
480 |
elemField.setMinOccurs(0);
|
|
|
481 |
elemField.setNillable(false);
|
|
|
482 |
typeDesc.addFieldDesc(elemField);
|
|
|
483 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
484 |
elemField.setFieldName("trackingIds");
|
|
|
485 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TrackingIds"));
|
|
|
486 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TrackingId"));
|
|
|
487 |
elemField.setMinOccurs(0);
|
|
|
488 |
elemField.setNillable(false);
|
|
|
489 |
elemField.setMaxOccursUnbounded(true);
|
|
|
490 |
typeDesc.addFieldDesc(elemField);
|
|
|
491 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
492 |
elemField.setFieldName("groupNumber");
|
|
|
493 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "GroupNumber"));
|
|
|
494 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
|
|
|
495 |
elemField.setMinOccurs(0);
|
|
|
496 |
elemField.setNillable(false);
|
|
|
497 |
typeDesc.addFieldDesc(elemField);
|
|
|
498 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
499 |
elemField.setFieldName("oversizeClass");
|
|
|
500 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "OversizeClass"));
|
|
|
501 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "OversizeClassType"));
|
|
|
502 |
elemField.setMinOccurs(0);
|
|
|
503 |
elemField.setNillable(false);
|
|
|
504 |
typeDesc.addFieldDesc(elemField);
|
|
|
505 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
506 |
elemField.setFieldName("packageRating");
|
|
|
507 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackageRating"));
|
|
|
508 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackageRating"));
|
|
|
509 |
elemField.setMinOccurs(0);
|
|
|
510 |
elemField.setNillable(false);
|
|
|
511 |
typeDesc.addFieldDesc(elemField);
|
|
|
512 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
513 |
elemField.setFieldName("operationalDetail");
|
|
|
514 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "OperationalDetail"));
|
|
|
515 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackageOperationalDetail"));
|
|
|
516 |
elemField.setMinOccurs(0);
|
|
|
517 |
elemField.setNillable(false);
|
|
|
518 |
typeDesc.addFieldDesc(elemField);
|
|
|
519 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
520 |
elemField.setFieldName("label");
|
|
|
521 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Label"));
|
|
|
522 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocument"));
|
|
|
523 |
elemField.setMinOccurs(0);
|
|
|
524 |
elemField.setNillable(false);
|
|
|
525 |
typeDesc.addFieldDesc(elemField);
|
|
|
526 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
527 |
elemField.setFieldName("packageDocuments");
|
|
|
528 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackageDocuments"));
|
|
|
529 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocument"));
|
|
|
530 |
elemField.setMinOccurs(0);
|
|
|
531 |
elemField.setNillable(false);
|
|
|
532 |
elemField.setMaxOccursUnbounded(true);
|
|
|
533 |
typeDesc.addFieldDesc(elemField);
|
|
|
534 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
535 |
elemField.setFieldName("codReturnDetail");
|
|
|
536 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CodReturnDetail"));
|
|
|
537 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CodReturnPackageDetail"));
|
|
|
538 |
elemField.setMinOccurs(0);
|
|
|
539 |
elemField.setNillable(false);
|
|
|
540 |
typeDesc.addFieldDesc(elemField);
|
|
|
541 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
542 |
elemField.setFieldName("signatureOption");
|
|
|
543 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SignatureOption"));
|
|
|
544 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SignatureOptionType"));
|
|
|
545 |
elemField.setMinOccurs(0);
|
|
|
546 |
elemField.setNillable(false);
|
|
|
547 |
typeDesc.addFieldDesc(elemField);
|
|
|
548 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
549 |
elemField.setFieldName("dryIceWeight");
|
|
|
550 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DryIceWeight"));
|
|
|
551 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
|
|
|
552 |
elemField.setMinOccurs(0);
|
|
|
553 |
elemField.setNillable(false);
|
|
|
554 |
typeDesc.addFieldDesc(elemField);
|
|
|
555 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
556 |
elemField.setFieldName("hazardousPackageDetail");
|
|
|
557 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousPackageDetail"));
|
|
|
558 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedHazardousPackageDetail"));
|
|
|
559 |
elemField.setMinOccurs(0);
|
|
|
560 |
elemField.setNillable(false);
|
|
|
561 |
typeDesc.addFieldDesc(elemField);
|
|
|
562 |
}
|
|
|
563 |
|
|
|
564 |
/**
|
|
|
565 |
* Return type metadata object
|
|
|
566 |
*/
|
|
|
567 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
568 |
return typeDesc;
|
|
|
569 |
}
|
|
|
570 |
|
|
|
571 |
/**
|
|
|
572 |
* Get Custom Serializer
|
|
|
573 |
*/
|
|
|
574 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
575 |
java.lang.String mechType,
|
|
|
576 |
java.lang.Class _javaType,
|
|
|
577 |
javax.xml.namespace.QName _xmlType) {
|
|
|
578 |
return
|
|
|
579 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
580 |
_javaType, _xmlType, typeDesc);
|
|
|
581 |
}
|
|
|
582 |
|
|
|
583 |
/**
|
|
|
584 |
* Get Custom Deserializer
|
|
|
585 |
*/
|
|
|
586 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
587 |
java.lang.String mechType,
|
|
|
588 |
java.lang.Class _javaType,
|
|
|
589 |
javax.xml.namespace.QName _xmlType) {
|
|
|
590 |
return
|
|
|
591 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
592 |
_javaType, _xmlType, typeDesc);
|
|
|
593 |
}
|
|
|
594 |
|
|
|
595 |
}
|