| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* RequestedPackageLineItem.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 |
* This class rationalizes RequestedPackage and RequestedPackageSummary
|
|
|
13 |
* from previous interfaces.
|
|
|
14 |
*/
|
|
|
15 |
public class RequestedPackageLineItem implements java.io.Serializable {
|
|
|
16 |
/* Used only with INDIVIDUAL_PACKAGE, as a unique identifier of
|
|
|
17 |
* each requested package. */
|
|
|
18 |
private org.apache.axis.types.PositiveInteger sequenceNumber;
|
|
|
19 |
|
|
|
20 |
/* Used only with PACKAGE_GROUPS, as a unique identifier of each
|
|
|
21 |
* group of identical packages. */
|
|
|
22 |
private org.apache.axis.types.NonNegativeInteger groupNumber;
|
|
|
23 |
|
|
|
24 |
/* Used only with PACKAGE_GROUPS, as a count of packages within
|
|
|
25 |
* a group of identical packages. */
|
|
|
26 |
private org.apache.axis.types.NonNegativeInteger groupPackageCount;
|
|
|
27 |
|
|
|
28 |
private com.fedex.ship.stub.VariableHandlingChargeDetail variableHandlingChargeDetail;
|
|
|
29 |
|
|
|
30 |
/* Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
|
|
|
31 |
* for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount
|
|
|
32 |
* on the shipment will be used to determine this value. */
|
|
|
33 |
private com.fedex.ship.stub.Money insuredValue;
|
|
|
34 |
|
|
|
35 |
/* Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
|
|
|
36 |
* for PACKAGE_SUMMARY, in which case total weight and packageCount on
|
|
|
37 |
* the shipment will be used to determine this value. */
|
|
|
38 |
private com.fedex.ship.stub.Weight weight;
|
|
|
39 |
|
|
|
40 |
private com.fedex.ship.stub.Dimensions dimensions;
|
|
|
41 |
|
|
|
42 |
/* Provides additional detail on how the customer has physically
|
|
|
43 |
* packaged this item. As of June 2009, required for packages moving
|
|
|
44 |
* under international and SmartPost services. */
|
|
|
45 |
private com.fedex.ship.stub.PhysicalPackagingType physicalPackaging;
|
|
|
46 |
|
|
|
47 |
/* Human-readable text describing the package. */
|
|
|
48 |
private java.lang.String itemDescription;
|
|
|
49 |
|
|
|
50 |
private com.fedex.ship.stub.CustomerReference[] customerReferences;
|
|
|
51 |
|
|
|
52 |
private com.fedex.ship.stub.PackageSpecialServicesRequested specialServicesRequested;
|
|
|
53 |
|
|
|
54 |
/* Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. */
|
|
|
55 |
private com.fedex.ship.stub.ContentRecord[] contentRecords;
|
|
|
56 |
|
|
|
57 |
public RequestedPackageLineItem() {
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
public RequestedPackageLineItem(
|
|
|
61 |
org.apache.axis.types.PositiveInteger sequenceNumber,
|
|
|
62 |
org.apache.axis.types.NonNegativeInteger groupNumber,
|
|
|
63 |
org.apache.axis.types.NonNegativeInteger groupPackageCount,
|
|
|
64 |
com.fedex.ship.stub.VariableHandlingChargeDetail variableHandlingChargeDetail,
|
|
|
65 |
com.fedex.ship.stub.Money insuredValue,
|
|
|
66 |
com.fedex.ship.stub.Weight weight,
|
|
|
67 |
com.fedex.ship.stub.Dimensions dimensions,
|
|
|
68 |
com.fedex.ship.stub.PhysicalPackagingType physicalPackaging,
|
|
|
69 |
java.lang.String itemDescription,
|
|
|
70 |
com.fedex.ship.stub.CustomerReference[] customerReferences,
|
|
|
71 |
com.fedex.ship.stub.PackageSpecialServicesRequested specialServicesRequested,
|
|
|
72 |
com.fedex.ship.stub.ContentRecord[] contentRecords) {
|
|
|
73 |
this.sequenceNumber = sequenceNumber;
|
|
|
74 |
this.groupNumber = groupNumber;
|
|
|
75 |
this.groupPackageCount = groupPackageCount;
|
|
|
76 |
this.variableHandlingChargeDetail = variableHandlingChargeDetail;
|
|
|
77 |
this.insuredValue = insuredValue;
|
|
|
78 |
this.weight = weight;
|
|
|
79 |
this.dimensions = dimensions;
|
|
|
80 |
this.physicalPackaging = physicalPackaging;
|
|
|
81 |
this.itemDescription = itemDescription;
|
|
|
82 |
this.customerReferences = customerReferences;
|
|
|
83 |
this.specialServicesRequested = specialServicesRequested;
|
|
|
84 |
this.contentRecords = contentRecords;
|
|
|
85 |
}
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
/**
|
|
|
89 |
* Gets the sequenceNumber value for this RequestedPackageLineItem.
|
|
|
90 |
*
|
|
|
91 |
* @return sequenceNumber * Used only with INDIVIDUAL_PACKAGE, as a unique identifier of
|
|
|
92 |
* each requested package.
|
|
|
93 |
*/
|
|
|
94 |
public org.apache.axis.types.PositiveInteger getSequenceNumber() {
|
|
|
95 |
return sequenceNumber;
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
/**
|
|
|
100 |
* Sets the sequenceNumber value for this RequestedPackageLineItem.
|
|
|
101 |
*
|
|
|
102 |
* @param sequenceNumber * Used only with INDIVIDUAL_PACKAGE, as a unique identifier of
|
|
|
103 |
* each requested package.
|
|
|
104 |
*/
|
|
|
105 |
public void setSequenceNumber(org.apache.axis.types.PositiveInteger sequenceNumber) {
|
|
|
106 |
this.sequenceNumber = sequenceNumber;
|
|
|
107 |
}
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
/**
|
|
|
111 |
* Gets the groupNumber value for this RequestedPackageLineItem.
|
|
|
112 |
*
|
|
|
113 |
* @return groupNumber * Used only with PACKAGE_GROUPS, as a unique identifier of each
|
|
|
114 |
* group of identical packages.
|
|
|
115 |
*/
|
|
|
116 |
public org.apache.axis.types.NonNegativeInteger getGroupNumber() {
|
|
|
117 |
return groupNumber;
|
|
|
118 |
}
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
/**
|
|
|
122 |
* Sets the groupNumber value for this RequestedPackageLineItem.
|
|
|
123 |
*
|
|
|
124 |
* @param groupNumber * Used only with PACKAGE_GROUPS, as a unique identifier of each
|
|
|
125 |
* group of identical packages.
|
|
|
126 |
*/
|
|
|
127 |
public void setGroupNumber(org.apache.axis.types.NonNegativeInteger groupNumber) {
|
|
|
128 |
this.groupNumber = groupNumber;
|
|
|
129 |
}
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
/**
|
|
|
133 |
* Gets the groupPackageCount value for this RequestedPackageLineItem.
|
|
|
134 |
*
|
|
|
135 |
* @return groupPackageCount * Used only with PACKAGE_GROUPS, as a count of packages within
|
|
|
136 |
* a group of identical packages.
|
|
|
137 |
*/
|
|
|
138 |
public org.apache.axis.types.NonNegativeInteger getGroupPackageCount() {
|
|
|
139 |
return groupPackageCount;
|
|
|
140 |
}
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
/**
|
|
|
144 |
* Sets the groupPackageCount value for this RequestedPackageLineItem.
|
|
|
145 |
*
|
|
|
146 |
* @param groupPackageCount * Used only with PACKAGE_GROUPS, as a count of packages within
|
|
|
147 |
* a group of identical packages.
|
|
|
148 |
*/
|
|
|
149 |
public void setGroupPackageCount(org.apache.axis.types.NonNegativeInteger groupPackageCount) {
|
|
|
150 |
this.groupPackageCount = groupPackageCount;
|
|
|
151 |
}
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
/**
|
|
|
155 |
* Gets the variableHandlingChargeDetail value for this RequestedPackageLineItem.
|
|
|
156 |
*
|
|
|
157 |
* @return variableHandlingChargeDetail
|
|
|
158 |
*/
|
|
|
159 |
public com.fedex.ship.stub.VariableHandlingChargeDetail getVariableHandlingChargeDetail() {
|
|
|
160 |
return variableHandlingChargeDetail;
|
|
|
161 |
}
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
/**
|
|
|
165 |
* Sets the variableHandlingChargeDetail value for this RequestedPackageLineItem.
|
|
|
166 |
*
|
|
|
167 |
* @param variableHandlingChargeDetail
|
|
|
168 |
*/
|
|
|
169 |
public void setVariableHandlingChargeDetail(com.fedex.ship.stub.VariableHandlingChargeDetail variableHandlingChargeDetail) {
|
|
|
170 |
this.variableHandlingChargeDetail = variableHandlingChargeDetail;
|
|
|
171 |
}
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
/**
|
|
|
175 |
* Gets the insuredValue value for this RequestedPackageLineItem.
|
|
|
176 |
*
|
|
|
177 |
* @return insuredValue * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
|
|
|
178 |
* for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount
|
|
|
179 |
* on the shipment will be used to determine this value.
|
|
|
180 |
*/
|
|
|
181 |
public com.fedex.ship.stub.Money getInsuredValue() {
|
|
|
182 |
return insuredValue;
|
|
|
183 |
}
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
/**
|
|
|
187 |
* Sets the insuredValue value for this RequestedPackageLineItem.
|
|
|
188 |
*
|
|
|
189 |
* @param insuredValue * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
|
|
|
190 |
* for PACKAGE_SUMMARY, in which case totalInsuredValue and packageCount
|
|
|
191 |
* on the shipment will be used to determine this value.
|
|
|
192 |
*/
|
|
|
193 |
public void setInsuredValue(com.fedex.ship.stub.Money insuredValue) {
|
|
|
194 |
this.insuredValue = insuredValue;
|
|
|
195 |
}
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
/**
|
|
|
199 |
* Gets the weight value for this RequestedPackageLineItem.
|
|
|
200 |
*
|
|
|
201 |
* @return weight * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
|
|
|
202 |
* for PACKAGE_SUMMARY, in which case total weight and packageCount on
|
|
|
203 |
* the shipment will be used to determine this value.
|
|
|
204 |
*/
|
|
|
205 |
public com.fedex.ship.stub.Weight getWeight() {
|
|
|
206 |
return weight;
|
|
|
207 |
}
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
/**
|
|
|
211 |
* Sets the weight value for this RequestedPackageLineItem.
|
|
|
212 |
*
|
|
|
213 |
* @param weight * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS. Ignored
|
|
|
214 |
* for PACKAGE_SUMMARY, in which case total weight and packageCount on
|
|
|
215 |
* the shipment will be used to determine this value.
|
|
|
216 |
*/
|
|
|
217 |
public void setWeight(com.fedex.ship.stub.Weight weight) {
|
|
|
218 |
this.weight = weight;
|
|
|
219 |
}
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
/**
|
|
|
223 |
* Gets the dimensions value for this RequestedPackageLineItem.
|
|
|
224 |
*
|
|
|
225 |
* @return dimensions
|
|
|
226 |
*/
|
|
|
227 |
public com.fedex.ship.stub.Dimensions getDimensions() {
|
|
|
228 |
return dimensions;
|
|
|
229 |
}
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
/**
|
|
|
233 |
* Sets the dimensions value for this RequestedPackageLineItem.
|
|
|
234 |
*
|
|
|
235 |
* @param dimensions
|
|
|
236 |
*/
|
|
|
237 |
public void setDimensions(com.fedex.ship.stub.Dimensions dimensions) {
|
|
|
238 |
this.dimensions = dimensions;
|
|
|
239 |
}
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
/**
|
|
|
243 |
* Gets the physicalPackaging value for this RequestedPackageLineItem.
|
|
|
244 |
*
|
|
|
245 |
* @return physicalPackaging * Provides additional detail on how the customer has physically
|
|
|
246 |
* packaged this item. As of June 2009, required for packages moving
|
|
|
247 |
* under international and SmartPost services.
|
|
|
248 |
*/
|
|
|
249 |
public com.fedex.ship.stub.PhysicalPackagingType getPhysicalPackaging() {
|
|
|
250 |
return physicalPackaging;
|
|
|
251 |
}
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
/**
|
|
|
255 |
* Sets the physicalPackaging value for this RequestedPackageLineItem.
|
|
|
256 |
*
|
|
|
257 |
* @param physicalPackaging * Provides additional detail on how the customer has physically
|
|
|
258 |
* packaged this item. As of June 2009, required for packages moving
|
|
|
259 |
* under international and SmartPost services.
|
|
|
260 |
*/
|
|
|
261 |
public void setPhysicalPackaging(com.fedex.ship.stub.PhysicalPackagingType physicalPackaging) {
|
|
|
262 |
this.physicalPackaging = physicalPackaging;
|
|
|
263 |
}
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
/**
|
|
|
267 |
* Gets the itemDescription value for this RequestedPackageLineItem.
|
|
|
268 |
*
|
|
|
269 |
* @return itemDescription * Human-readable text describing the package.
|
|
|
270 |
*/
|
|
|
271 |
public java.lang.String getItemDescription() {
|
|
|
272 |
return itemDescription;
|
|
|
273 |
}
|
|
|
274 |
|
|
|
275 |
|
|
|
276 |
/**
|
|
|
277 |
* Sets the itemDescription value for this RequestedPackageLineItem.
|
|
|
278 |
*
|
|
|
279 |
* @param itemDescription * Human-readable text describing the package.
|
|
|
280 |
*/
|
|
|
281 |
public void setItemDescription(java.lang.String itemDescription) {
|
|
|
282 |
this.itemDescription = itemDescription;
|
|
|
283 |
}
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
/**
|
|
|
287 |
* Gets the customerReferences value for this RequestedPackageLineItem.
|
|
|
288 |
*
|
|
|
289 |
* @return customerReferences
|
|
|
290 |
*/
|
|
|
291 |
public com.fedex.ship.stub.CustomerReference[] getCustomerReferences() {
|
|
|
292 |
return customerReferences;
|
|
|
293 |
}
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
/**
|
|
|
297 |
* Sets the customerReferences value for this RequestedPackageLineItem.
|
|
|
298 |
*
|
|
|
299 |
* @param customerReferences
|
|
|
300 |
*/
|
|
|
301 |
public void setCustomerReferences(com.fedex.ship.stub.CustomerReference[] customerReferences) {
|
|
|
302 |
this.customerReferences = customerReferences;
|
|
|
303 |
}
|
|
|
304 |
|
|
|
305 |
public com.fedex.ship.stub.CustomerReference getCustomerReferences(int i) {
|
|
|
306 |
return this.customerReferences[i];
|
|
|
307 |
}
|
|
|
308 |
|
|
|
309 |
public void setCustomerReferences(int i, com.fedex.ship.stub.CustomerReference _value) {
|
|
|
310 |
this.customerReferences[i] = _value;
|
|
|
311 |
}
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
/**
|
|
|
315 |
* Gets the specialServicesRequested value for this RequestedPackageLineItem.
|
|
|
316 |
*
|
|
|
317 |
* @return specialServicesRequested
|
|
|
318 |
*/
|
|
|
319 |
public com.fedex.ship.stub.PackageSpecialServicesRequested getSpecialServicesRequested() {
|
|
|
320 |
return specialServicesRequested;
|
|
|
321 |
}
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
/**
|
|
|
325 |
* Sets the specialServicesRequested value for this RequestedPackageLineItem.
|
|
|
326 |
*
|
|
|
327 |
* @param specialServicesRequested
|
|
|
328 |
*/
|
|
|
329 |
public void setSpecialServicesRequested(com.fedex.ship.stub.PackageSpecialServicesRequested specialServicesRequested) {
|
|
|
330 |
this.specialServicesRequested = specialServicesRequested;
|
|
|
331 |
}
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
/**
|
|
|
335 |
* Gets the contentRecords value for this RequestedPackageLineItem.
|
|
|
336 |
*
|
|
|
337 |
* @return contentRecords * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS.
|
|
|
338 |
*/
|
|
|
339 |
public com.fedex.ship.stub.ContentRecord[] getContentRecords() {
|
|
|
340 |
return contentRecords;
|
|
|
341 |
}
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
/**
|
|
|
345 |
* Sets the contentRecords value for this RequestedPackageLineItem.
|
|
|
346 |
*
|
|
|
347 |
* @param contentRecords * Only used for INDIVIDUAL_PACKAGES and PACKAGE_GROUPS.
|
|
|
348 |
*/
|
|
|
349 |
public void setContentRecords(com.fedex.ship.stub.ContentRecord[] contentRecords) {
|
|
|
350 |
this.contentRecords = contentRecords;
|
|
|
351 |
}
|
|
|
352 |
|
|
|
353 |
public com.fedex.ship.stub.ContentRecord getContentRecords(int i) {
|
|
|
354 |
return this.contentRecords[i];
|
|
|
355 |
}
|
|
|
356 |
|
|
|
357 |
public void setContentRecords(int i, com.fedex.ship.stub.ContentRecord _value) {
|
|
|
358 |
this.contentRecords[i] = _value;
|
|
|
359 |
}
|
|
|
360 |
|
|
|
361 |
private java.lang.Object __equalsCalc = null;
|
|
|
362 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
363 |
if (!(obj instanceof RequestedPackageLineItem)) return false;
|
|
|
364 |
RequestedPackageLineItem other = (RequestedPackageLineItem) obj;
|
|
|
365 |
if (obj == null) return false;
|
|
|
366 |
if (this == obj) return true;
|
|
|
367 |
if (__equalsCalc != null) {
|
|
|
368 |
return (__equalsCalc == obj);
|
|
|
369 |
}
|
|
|
370 |
__equalsCalc = obj;
|
|
|
371 |
boolean _equals;
|
|
|
372 |
_equals = true &&
|
|
|
373 |
((this.sequenceNumber==null && other.getSequenceNumber()==null) ||
|
|
|
374 |
(this.sequenceNumber!=null &&
|
|
|
375 |
this.sequenceNumber.equals(other.getSequenceNumber()))) &&
|
|
|
376 |
((this.groupNumber==null && other.getGroupNumber()==null) ||
|
|
|
377 |
(this.groupNumber!=null &&
|
|
|
378 |
this.groupNumber.equals(other.getGroupNumber()))) &&
|
|
|
379 |
((this.groupPackageCount==null && other.getGroupPackageCount()==null) ||
|
|
|
380 |
(this.groupPackageCount!=null &&
|
|
|
381 |
this.groupPackageCount.equals(other.getGroupPackageCount()))) &&
|
|
|
382 |
((this.variableHandlingChargeDetail==null && other.getVariableHandlingChargeDetail()==null) ||
|
|
|
383 |
(this.variableHandlingChargeDetail!=null &&
|
|
|
384 |
this.variableHandlingChargeDetail.equals(other.getVariableHandlingChargeDetail()))) &&
|
|
|
385 |
((this.insuredValue==null && other.getInsuredValue()==null) ||
|
|
|
386 |
(this.insuredValue!=null &&
|
|
|
387 |
this.insuredValue.equals(other.getInsuredValue()))) &&
|
|
|
388 |
((this.weight==null && other.getWeight()==null) ||
|
|
|
389 |
(this.weight!=null &&
|
|
|
390 |
this.weight.equals(other.getWeight()))) &&
|
|
|
391 |
((this.dimensions==null && other.getDimensions()==null) ||
|
|
|
392 |
(this.dimensions!=null &&
|
|
|
393 |
this.dimensions.equals(other.getDimensions()))) &&
|
|
|
394 |
((this.physicalPackaging==null && other.getPhysicalPackaging()==null) ||
|
|
|
395 |
(this.physicalPackaging!=null &&
|
|
|
396 |
this.physicalPackaging.equals(other.getPhysicalPackaging()))) &&
|
|
|
397 |
((this.itemDescription==null && other.getItemDescription()==null) ||
|
|
|
398 |
(this.itemDescription!=null &&
|
|
|
399 |
this.itemDescription.equals(other.getItemDescription()))) &&
|
|
|
400 |
((this.customerReferences==null && other.getCustomerReferences()==null) ||
|
|
|
401 |
(this.customerReferences!=null &&
|
|
|
402 |
java.util.Arrays.equals(this.customerReferences, other.getCustomerReferences()))) &&
|
|
|
403 |
((this.specialServicesRequested==null && other.getSpecialServicesRequested()==null) ||
|
|
|
404 |
(this.specialServicesRequested!=null &&
|
|
|
405 |
this.specialServicesRequested.equals(other.getSpecialServicesRequested()))) &&
|
|
|
406 |
((this.contentRecords==null && other.getContentRecords()==null) ||
|
|
|
407 |
(this.contentRecords!=null &&
|
|
|
408 |
java.util.Arrays.equals(this.contentRecords, other.getContentRecords())));
|
|
|
409 |
__equalsCalc = null;
|
|
|
410 |
return _equals;
|
|
|
411 |
}
|
|
|
412 |
|
|
|
413 |
private boolean __hashCodeCalc = false;
|
|
|
414 |
public synchronized int hashCode() {
|
|
|
415 |
if (__hashCodeCalc) {
|
|
|
416 |
return 0;
|
|
|
417 |
}
|
|
|
418 |
__hashCodeCalc = true;
|
|
|
419 |
int _hashCode = 1;
|
|
|
420 |
if (getSequenceNumber() != null) {
|
|
|
421 |
_hashCode += getSequenceNumber().hashCode();
|
|
|
422 |
}
|
|
|
423 |
if (getGroupNumber() != null) {
|
|
|
424 |
_hashCode += getGroupNumber().hashCode();
|
|
|
425 |
}
|
|
|
426 |
if (getGroupPackageCount() != null) {
|
|
|
427 |
_hashCode += getGroupPackageCount().hashCode();
|
|
|
428 |
}
|
|
|
429 |
if (getVariableHandlingChargeDetail() != null) {
|
|
|
430 |
_hashCode += getVariableHandlingChargeDetail().hashCode();
|
|
|
431 |
}
|
|
|
432 |
if (getInsuredValue() != null) {
|
|
|
433 |
_hashCode += getInsuredValue().hashCode();
|
|
|
434 |
}
|
|
|
435 |
if (getWeight() != null) {
|
|
|
436 |
_hashCode += getWeight().hashCode();
|
|
|
437 |
}
|
|
|
438 |
if (getDimensions() != null) {
|
|
|
439 |
_hashCode += getDimensions().hashCode();
|
|
|
440 |
}
|
|
|
441 |
if (getPhysicalPackaging() != null) {
|
|
|
442 |
_hashCode += getPhysicalPackaging().hashCode();
|
|
|
443 |
}
|
|
|
444 |
if (getItemDescription() != null) {
|
|
|
445 |
_hashCode += getItemDescription().hashCode();
|
|
|
446 |
}
|
|
|
447 |
if (getCustomerReferences() != null) {
|
|
|
448 |
for (int i=0;
|
|
|
449 |
i<java.lang.reflect.Array.getLength(getCustomerReferences());
|
|
|
450 |
i++) {
|
|
|
451 |
java.lang.Object obj = java.lang.reflect.Array.get(getCustomerReferences(), i);
|
|
|
452 |
if (obj != null &&
|
|
|
453 |
!obj.getClass().isArray()) {
|
|
|
454 |
_hashCode += obj.hashCode();
|
|
|
455 |
}
|
|
|
456 |
}
|
|
|
457 |
}
|
|
|
458 |
if (getSpecialServicesRequested() != null) {
|
|
|
459 |
_hashCode += getSpecialServicesRequested().hashCode();
|
|
|
460 |
}
|
|
|
461 |
if (getContentRecords() != null) {
|
|
|
462 |
for (int i=0;
|
|
|
463 |
i<java.lang.reflect.Array.getLength(getContentRecords());
|
|
|
464 |
i++) {
|
|
|
465 |
java.lang.Object obj = java.lang.reflect.Array.get(getContentRecords(), i);
|
|
|
466 |
if (obj != null &&
|
|
|
467 |
!obj.getClass().isArray()) {
|
|
|
468 |
_hashCode += obj.hashCode();
|
|
|
469 |
}
|
|
|
470 |
}
|
|
|
471 |
}
|
|
|
472 |
__hashCodeCalc = false;
|
|
|
473 |
return _hashCode;
|
|
|
474 |
}
|
|
|
475 |
|
|
|
476 |
// Type metadata
|
|
|
477 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
478 |
new org.apache.axis.description.TypeDesc(RequestedPackageLineItem.class, true);
|
|
|
479 |
|
|
|
480 |
static {
|
|
|
481 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RequestedPackageLineItem"));
|
|
|
482 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
483 |
elemField.setFieldName("sequenceNumber");
|
|
|
484 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SequenceNumber"));
|
|
|
485 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "positiveInteger"));
|
|
|
486 |
elemField.setMinOccurs(0);
|
|
|
487 |
elemField.setNillable(false);
|
|
|
488 |
typeDesc.addFieldDesc(elemField);
|
|
|
489 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
490 |
elemField.setFieldName("groupNumber");
|
|
|
491 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "GroupNumber"));
|
|
|
492 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
|
|
|
493 |
elemField.setMinOccurs(0);
|
|
|
494 |
elemField.setNillable(false);
|
|
|
495 |
typeDesc.addFieldDesc(elemField);
|
|
|
496 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
497 |
elemField.setFieldName("groupPackageCount");
|
|
|
498 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "GroupPackageCount"));
|
|
|
499 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
|
|
|
500 |
elemField.setMinOccurs(0);
|
|
|
501 |
elemField.setNillable(false);
|
|
|
502 |
typeDesc.addFieldDesc(elemField);
|
|
|
503 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
504 |
elemField.setFieldName("variableHandlingChargeDetail");
|
|
|
505 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingChargeDetail"));
|
|
|
506 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VariableHandlingChargeDetail"));
|
|
|
507 |
elemField.setMinOccurs(0);
|
|
|
508 |
elemField.setNillable(false);
|
|
|
509 |
typeDesc.addFieldDesc(elemField);
|
|
|
510 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
511 |
elemField.setFieldName("insuredValue");
|
|
|
512 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "InsuredValue"));
|
|
|
513 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Money"));
|
|
|
514 |
elemField.setMinOccurs(0);
|
|
|
515 |
elemField.setNillable(false);
|
|
|
516 |
typeDesc.addFieldDesc(elemField);
|
|
|
517 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
518 |
elemField.setFieldName("weight");
|
|
|
519 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
|
|
|
520 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
|
|
|
521 |
elemField.setMinOccurs(0);
|
|
|
522 |
elemField.setNillable(false);
|
|
|
523 |
typeDesc.addFieldDesc(elemField);
|
|
|
524 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
525 |
elemField.setFieldName("dimensions");
|
|
|
526 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Dimensions"));
|
|
|
527 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Dimensions"));
|
|
|
528 |
elemField.setMinOccurs(0);
|
|
|
529 |
elemField.setNillable(false);
|
|
|
530 |
typeDesc.addFieldDesc(elemField);
|
|
|
531 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
532 |
elemField.setFieldName("physicalPackaging");
|
|
|
533 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PhysicalPackaging"));
|
|
|
534 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PhysicalPackagingType"));
|
|
|
535 |
elemField.setMinOccurs(0);
|
|
|
536 |
elemField.setNillable(false);
|
|
|
537 |
typeDesc.addFieldDesc(elemField);
|
|
|
538 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
539 |
elemField.setFieldName("itemDescription");
|
|
|
540 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ItemDescription"));
|
|
|
541 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
542 |
elemField.setMinOccurs(0);
|
|
|
543 |
elemField.setNillable(false);
|
|
|
544 |
typeDesc.addFieldDesc(elemField);
|
|
|
545 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
546 |
elemField.setFieldName("customerReferences");
|
|
|
547 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomerReferences"));
|
|
|
548 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomerReference"));
|
|
|
549 |
elemField.setMinOccurs(0);
|
|
|
550 |
elemField.setNillable(false);
|
|
|
551 |
typeDesc.addFieldDesc(elemField);
|
|
|
552 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
553 |
elemField.setFieldName("specialServicesRequested");
|
|
|
554 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SpecialServicesRequested"));
|
|
|
555 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackageSpecialServicesRequested"));
|
|
|
556 |
elemField.setMinOccurs(0);
|
|
|
557 |
elemField.setNillable(false);
|
|
|
558 |
typeDesc.addFieldDesc(elemField);
|
|
|
559 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
560 |
elemField.setFieldName("contentRecords");
|
|
|
561 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ContentRecords"));
|
|
|
562 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ContentRecord"));
|
|
|
563 |
elemField.setMinOccurs(0);
|
|
|
564 |
elemField.setNillable(false);
|
|
|
565 |
elemField.setMaxOccursUnbounded(true);
|
|
|
566 |
typeDesc.addFieldDesc(elemField);
|
|
|
567 |
}
|
|
|
568 |
|
|
|
569 |
/**
|
|
|
570 |
* Return type metadata object
|
|
|
571 |
*/
|
|
|
572 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
573 |
return typeDesc;
|
|
|
574 |
}
|
|
|
575 |
|
|
|
576 |
/**
|
|
|
577 |
* Get Custom Serializer
|
|
|
578 |
*/
|
|
|
579 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
580 |
java.lang.String mechType,
|
|
|
581 |
java.lang.Class _javaType,
|
|
|
582 |
javax.xml.namespace.QName _xmlType) {
|
|
|
583 |
return
|
|
|
584 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
585 |
_javaType, _xmlType, typeDesc);
|
|
|
586 |
}
|
|
|
587 |
|
|
|
588 |
/**
|
|
|
589 |
* Get Custom Deserializer
|
|
|
590 |
*/
|
|
|
591 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
592 |
java.lang.String mechType,
|
|
|
593 |
java.lang.Class _javaType,
|
|
|
594 |
javax.xml.namespace.QName _xmlType) {
|
|
|
595 |
return
|
|
|
596 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
597 |
_javaType, _xmlType, typeDesc);
|
|
|
598 |
}
|
|
|
599 |
|
|
|
600 |
}
|