| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* FreightShipmentLineItem.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 |
* Description of an individual commodity or class of content in a
|
|
|
13 |
* shipment.
|
|
|
14 |
*/
|
|
|
15 |
public class FreightShipmentLineItem implements java.io.Serializable {
|
|
|
16 |
/* Freight class for this line item. */
|
|
|
17 |
private com.fedex.ship.stub.FreightClassType freightClass;
|
|
|
18 |
|
|
|
19 |
/* FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight
|
|
|
20 |
* class from customer-provided dimensions and weight. */
|
|
|
21 |
private java.lang.Boolean classProvidedByCustomer;
|
|
|
22 |
|
|
|
23 |
/* Number of individual handling units to which this line applies.
|
|
|
24 |
* (NOTE: Total of line-item-level handling units may not balance to
|
|
|
25 |
* shipment-level total handling units.) */
|
|
|
26 |
private org.apache.axis.types.NonNegativeInteger handlingUnits;
|
|
|
27 |
|
|
|
28 |
/* Specification of handling-unit packaging for this commodity
|
|
|
29 |
* or class line. */
|
|
|
30 |
private com.fedex.ship.stub.PhysicalPackagingType packaging;
|
|
|
31 |
|
|
|
32 |
/* Number of pieces for this commodity or class line. */
|
|
|
33 |
private org.apache.axis.types.NonNegativeInteger pieces;
|
|
|
34 |
|
|
|
35 |
/* NMFC Code for commodity. */
|
|
|
36 |
private java.lang.String nmfcCode;
|
|
|
37 |
|
|
|
38 |
/* Indicates the kind of hazardous material content in this line
|
|
|
39 |
* item. */
|
|
|
40 |
private com.fedex.ship.stub.HazardousCommodityOptionType hazardousMaterials;
|
|
|
41 |
|
|
|
42 |
/* For printed reference per line item. */
|
|
|
43 |
private java.lang.String purchaseOrderNumber;
|
|
|
44 |
|
|
|
45 |
/* Customer-provided description for this commodity or class line. */
|
|
|
46 |
private java.lang.String description;
|
|
|
47 |
|
|
|
48 |
/* Weight for this commodity or class line. */
|
|
|
49 |
private com.fedex.ship.stub.Weight weight;
|
|
|
50 |
|
|
|
51 |
/* FED EX INTERNAL USE ONLY - Individual line item dimensions. */
|
|
|
52 |
private com.fedex.ship.stub.Dimensions dimensions;
|
|
|
53 |
|
|
|
54 |
/* Volume (cubic measure) for this commodity or class line. */
|
|
|
55 |
private com.fedex.ship.stub.Volume volume;
|
|
|
56 |
|
|
|
57 |
public FreightShipmentLineItem() {
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
public FreightShipmentLineItem(
|
|
|
61 |
com.fedex.ship.stub.FreightClassType freightClass,
|
|
|
62 |
java.lang.Boolean classProvidedByCustomer,
|
|
|
63 |
org.apache.axis.types.NonNegativeInteger handlingUnits,
|
|
|
64 |
com.fedex.ship.stub.PhysicalPackagingType packaging,
|
|
|
65 |
org.apache.axis.types.NonNegativeInteger pieces,
|
|
|
66 |
java.lang.String nmfcCode,
|
|
|
67 |
com.fedex.ship.stub.HazardousCommodityOptionType hazardousMaterials,
|
|
|
68 |
java.lang.String purchaseOrderNumber,
|
|
|
69 |
java.lang.String description,
|
|
|
70 |
com.fedex.ship.stub.Weight weight,
|
|
|
71 |
com.fedex.ship.stub.Dimensions dimensions,
|
|
|
72 |
com.fedex.ship.stub.Volume volume) {
|
|
|
73 |
this.freightClass = freightClass;
|
|
|
74 |
this.classProvidedByCustomer = classProvidedByCustomer;
|
|
|
75 |
this.handlingUnits = handlingUnits;
|
|
|
76 |
this.packaging = packaging;
|
|
|
77 |
this.pieces = pieces;
|
|
|
78 |
this.nmfcCode = nmfcCode;
|
|
|
79 |
this.hazardousMaterials = hazardousMaterials;
|
|
|
80 |
this.purchaseOrderNumber = purchaseOrderNumber;
|
|
|
81 |
this.description = description;
|
|
|
82 |
this.weight = weight;
|
|
|
83 |
this.dimensions = dimensions;
|
|
|
84 |
this.volume = volume;
|
|
|
85 |
}
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
/**
|
|
|
89 |
* Gets the freightClass value for this FreightShipmentLineItem.
|
|
|
90 |
*
|
|
|
91 |
* @return freightClass * Freight class for this line item.
|
|
|
92 |
*/
|
|
|
93 |
public com.fedex.ship.stub.FreightClassType getFreightClass() {
|
|
|
94 |
return freightClass;
|
|
|
95 |
}
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
/**
|
|
|
99 |
* Sets the freightClass value for this FreightShipmentLineItem.
|
|
|
100 |
*
|
|
|
101 |
* @param freightClass * Freight class for this line item.
|
|
|
102 |
*/
|
|
|
103 |
public void setFreightClass(com.fedex.ship.stub.FreightClassType freightClass) {
|
|
|
104 |
this.freightClass = freightClass;
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
/**
|
|
|
109 |
* Gets the classProvidedByCustomer value for this FreightShipmentLineItem.
|
|
|
110 |
*
|
|
|
111 |
* @return classProvidedByCustomer * FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight
|
|
|
112 |
* class from customer-provided dimensions and weight.
|
|
|
113 |
*/
|
|
|
114 |
public java.lang.Boolean getClassProvidedByCustomer() {
|
|
|
115 |
return classProvidedByCustomer;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
/**
|
|
|
120 |
* Sets the classProvidedByCustomer value for this FreightShipmentLineItem.
|
|
|
121 |
*
|
|
|
122 |
* @param classProvidedByCustomer * FEDEX INTERNAL USE ONLY: for FedEx system that estimate freight
|
|
|
123 |
* class from customer-provided dimensions and weight.
|
|
|
124 |
*/
|
|
|
125 |
public void setClassProvidedByCustomer(java.lang.Boolean classProvidedByCustomer) {
|
|
|
126 |
this.classProvidedByCustomer = classProvidedByCustomer;
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
/**
|
|
|
131 |
* Gets the handlingUnits value for this FreightShipmentLineItem.
|
|
|
132 |
*
|
|
|
133 |
* @return handlingUnits * Number of individual handling units to which this line applies.
|
|
|
134 |
* (NOTE: Total of line-item-level handling units may not balance to
|
|
|
135 |
* shipment-level total handling units.)
|
|
|
136 |
*/
|
|
|
137 |
public org.apache.axis.types.NonNegativeInteger getHandlingUnits() {
|
|
|
138 |
return handlingUnits;
|
|
|
139 |
}
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
/**
|
|
|
143 |
* Sets the handlingUnits value for this FreightShipmentLineItem.
|
|
|
144 |
*
|
|
|
145 |
* @param handlingUnits * Number of individual handling units to which this line applies.
|
|
|
146 |
* (NOTE: Total of line-item-level handling units may not balance to
|
|
|
147 |
* shipment-level total handling units.)
|
|
|
148 |
*/
|
|
|
149 |
public void setHandlingUnits(org.apache.axis.types.NonNegativeInteger handlingUnits) {
|
|
|
150 |
this.handlingUnits = handlingUnits;
|
|
|
151 |
}
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
/**
|
|
|
155 |
* Gets the packaging value for this FreightShipmentLineItem.
|
|
|
156 |
*
|
|
|
157 |
* @return packaging * Specification of handling-unit packaging for this commodity
|
|
|
158 |
* or class line.
|
|
|
159 |
*/
|
|
|
160 |
public com.fedex.ship.stub.PhysicalPackagingType getPackaging() {
|
|
|
161 |
return packaging;
|
|
|
162 |
}
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
/**
|
|
|
166 |
* Sets the packaging value for this FreightShipmentLineItem.
|
|
|
167 |
*
|
|
|
168 |
* @param packaging * Specification of handling-unit packaging for this commodity
|
|
|
169 |
* or class line.
|
|
|
170 |
*/
|
|
|
171 |
public void setPackaging(com.fedex.ship.stub.PhysicalPackagingType packaging) {
|
|
|
172 |
this.packaging = packaging;
|
|
|
173 |
}
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
/**
|
|
|
177 |
* Gets the pieces value for this FreightShipmentLineItem.
|
|
|
178 |
*
|
|
|
179 |
* @return pieces * Number of pieces for this commodity or class line.
|
|
|
180 |
*/
|
|
|
181 |
public org.apache.axis.types.NonNegativeInteger getPieces() {
|
|
|
182 |
return pieces;
|
|
|
183 |
}
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
/**
|
|
|
187 |
* Sets the pieces value for this FreightShipmentLineItem.
|
|
|
188 |
*
|
|
|
189 |
* @param pieces * Number of pieces for this commodity or class line.
|
|
|
190 |
*/
|
|
|
191 |
public void setPieces(org.apache.axis.types.NonNegativeInteger pieces) {
|
|
|
192 |
this.pieces = pieces;
|
|
|
193 |
}
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
/**
|
|
|
197 |
* Gets the nmfcCode value for this FreightShipmentLineItem.
|
|
|
198 |
*
|
|
|
199 |
* @return nmfcCode * NMFC Code for commodity.
|
|
|
200 |
*/
|
|
|
201 |
public java.lang.String getNmfcCode() {
|
|
|
202 |
return nmfcCode;
|
|
|
203 |
}
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
/**
|
|
|
207 |
* Sets the nmfcCode value for this FreightShipmentLineItem.
|
|
|
208 |
*
|
|
|
209 |
* @param nmfcCode * NMFC Code for commodity.
|
|
|
210 |
*/
|
|
|
211 |
public void setNmfcCode(java.lang.String nmfcCode) {
|
|
|
212 |
this.nmfcCode = nmfcCode;
|
|
|
213 |
}
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
/**
|
|
|
217 |
* Gets the hazardousMaterials value for this FreightShipmentLineItem.
|
|
|
218 |
*
|
|
|
219 |
* @return hazardousMaterials * Indicates the kind of hazardous material content in this line
|
|
|
220 |
* item.
|
|
|
221 |
*/
|
|
|
222 |
public com.fedex.ship.stub.HazardousCommodityOptionType getHazardousMaterials() {
|
|
|
223 |
return hazardousMaterials;
|
|
|
224 |
}
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
/**
|
|
|
228 |
* Sets the hazardousMaterials value for this FreightShipmentLineItem.
|
|
|
229 |
*
|
|
|
230 |
* @param hazardousMaterials * Indicates the kind of hazardous material content in this line
|
|
|
231 |
* item.
|
|
|
232 |
*/
|
|
|
233 |
public void setHazardousMaterials(com.fedex.ship.stub.HazardousCommodityOptionType hazardousMaterials) {
|
|
|
234 |
this.hazardousMaterials = hazardousMaterials;
|
|
|
235 |
}
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
/**
|
|
|
239 |
* Gets the purchaseOrderNumber value for this FreightShipmentLineItem.
|
|
|
240 |
*
|
|
|
241 |
* @return purchaseOrderNumber * For printed reference per line item.
|
|
|
242 |
*/
|
|
|
243 |
public java.lang.String getPurchaseOrderNumber() {
|
|
|
244 |
return purchaseOrderNumber;
|
|
|
245 |
}
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
/**
|
|
|
249 |
* Sets the purchaseOrderNumber value for this FreightShipmentLineItem.
|
|
|
250 |
*
|
|
|
251 |
* @param purchaseOrderNumber * For printed reference per line item.
|
|
|
252 |
*/
|
|
|
253 |
public void setPurchaseOrderNumber(java.lang.String purchaseOrderNumber) {
|
|
|
254 |
this.purchaseOrderNumber = purchaseOrderNumber;
|
|
|
255 |
}
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
/**
|
|
|
259 |
* Gets the description value for this FreightShipmentLineItem.
|
|
|
260 |
*
|
|
|
261 |
* @return description * Customer-provided description for this commodity or class line.
|
|
|
262 |
*/
|
|
|
263 |
public java.lang.String getDescription() {
|
|
|
264 |
return description;
|
|
|
265 |
}
|
|
|
266 |
|
|
|
267 |
|
|
|
268 |
/**
|
|
|
269 |
* Sets the description value for this FreightShipmentLineItem.
|
|
|
270 |
*
|
|
|
271 |
* @param description * Customer-provided description for this commodity or class line.
|
|
|
272 |
*/
|
|
|
273 |
public void setDescription(java.lang.String description) {
|
|
|
274 |
this.description = description;
|
|
|
275 |
}
|
|
|
276 |
|
|
|
277 |
|
|
|
278 |
/**
|
|
|
279 |
* Gets the weight value for this FreightShipmentLineItem.
|
|
|
280 |
*
|
|
|
281 |
* @return weight * Weight for this commodity or class line.
|
|
|
282 |
*/
|
|
|
283 |
public com.fedex.ship.stub.Weight getWeight() {
|
|
|
284 |
return weight;
|
|
|
285 |
}
|
|
|
286 |
|
|
|
287 |
|
|
|
288 |
/**
|
|
|
289 |
* Sets the weight value for this FreightShipmentLineItem.
|
|
|
290 |
*
|
|
|
291 |
* @param weight * Weight for this commodity or class line.
|
|
|
292 |
*/
|
|
|
293 |
public void setWeight(com.fedex.ship.stub.Weight weight) {
|
|
|
294 |
this.weight = weight;
|
|
|
295 |
}
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
/**
|
|
|
299 |
* Gets the dimensions value for this FreightShipmentLineItem.
|
|
|
300 |
*
|
|
|
301 |
* @return dimensions * FED EX INTERNAL USE ONLY - Individual line item dimensions.
|
|
|
302 |
*/
|
|
|
303 |
public com.fedex.ship.stub.Dimensions getDimensions() {
|
|
|
304 |
return dimensions;
|
|
|
305 |
}
|
|
|
306 |
|
|
|
307 |
|
|
|
308 |
/**
|
|
|
309 |
* Sets the dimensions value for this FreightShipmentLineItem.
|
|
|
310 |
*
|
|
|
311 |
* @param dimensions * FED EX INTERNAL USE ONLY - Individual line item dimensions.
|
|
|
312 |
*/
|
|
|
313 |
public void setDimensions(com.fedex.ship.stub.Dimensions dimensions) {
|
|
|
314 |
this.dimensions = dimensions;
|
|
|
315 |
}
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
/**
|
|
|
319 |
* Gets the volume value for this FreightShipmentLineItem.
|
|
|
320 |
*
|
|
|
321 |
* @return volume * Volume (cubic measure) for this commodity or class line.
|
|
|
322 |
*/
|
|
|
323 |
public com.fedex.ship.stub.Volume getVolume() {
|
|
|
324 |
return volume;
|
|
|
325 |
}
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
/**
|
|
|
329 |
* Sets the volume value for this FreightShipmentLineItem.
|
|
|
330 |
*
|
|
|
331 |
* @param volume * Volume (cubic measure) for this commodity or class line.
|
|
|
332 |
*/
|
|
|
333 |
public void setVolume(com.fedex.ship.stub.Volume volume) {
|
|
|
334 |
this.volume = volume;
|
|
|
335 |
}
|
|
|
336 |
|
|
|
337 |
private java.lang.Object __equalsCalc = null;
|
|
|
338 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
339 |
if (!(obj instanceof FreightShipmentLineItem)) return false;
|
|
|
340 |
FreightShipmentLineItem other = (FreightShipmentLineItem) obj;
|
|
|
341 |
if (obj == null) return false;
|
|
|
342 |
if (this == obj) return true;
|
|
|
343 |
if (__equalsCalc != null) {
|
|
|
344 |
return (__equalsCalc == obj);
|
|
|
345 |
}
|
|
|
346 |
__equalsCalc = obj;
|
|
|
347 |
boolean _equals;
|
|
|
348 |
_equals = true &&
|
|
|
349 |
((this.freightClass==null && other.getFreightClass()==null) ||
|
|
|
350 |
(this.freightClass!=null &&
|
|
|
351 |
this.freightClass.equals(other.getFreightClass()))) &&
|
|
|
352 |
((this.classProvidedByCustomer==null && other.getClassProvidedByCustomer()==null) ||
|
|
|
353 |
(this.classProvidedByCustomer!=null &&
|
|
|
354 |
this.classProvidedByCustomer.equals(other.getClassProvidedByCustomer()))) &&
|
|
|
355 |
((this.handlingUnits==null && other.getHandlingUnits()==null) ||
|
|
|
356 |
(this.handlingUnits!=null &&
|
|
|
357 |
this.handlingUnits.equals(other.getHandlingUnits()))) &&
|
|
|
358 |
((this.packaging==null && other.getPackaging()==null) ||
|
|
|
359 |
(this.packaging!=null &&
|
|
|
360 |
this.packaging.equals(other.getPackaging()))) &&
|
|
|
361 |
((this.pieces==null && other.getPieces()==null) ||
|
|
|
362 |
(this.pieces!=null &&
|
|
|
363 |
this.pieces.equals(other.getPieces()))) &&
|
|
|
364 |
((this.nmfcCode==null && other.getNmfcCode()==null) ||
|
|
|
365 |
(this.nmfcCode!=null &&
|
|
|
366 |
this.nmfcCode.equals(other.getNmfcCode()))) &&
|
|
|
367 |
((this.hazardousMaterials==null && other.getHazardousMaterials()==null) ||
|
|
|
368 |
(this.hazardousMaterials!=null &&
|
|
|
369 |
this.hazardousMaterials.equals(other.getHazardousMaterials()))) &&
|
|
|
370 |
((this.purchaseOrderNumber==null && other.getPurchaseOrderNumber()==null) ||
|
|
|
371 |
(this.purchaseOrderNumber!=null &&
|
|
|
372 |
this.purchaseOrderNumber.equals(other.getPurchaseOrderNumber()))) &&
|
|
|
373 |
((this.description==null && other.getDescription()==null) ||
|
|
|
374 |
(this.description!=null &&
|
|
|
375 |
this.description.equals(other.getDescription()))) &&
|
|
|
376 |
((this.weight==null && other.getWeight()==null) ||
|
|
|
377 |
(this.weight!=null &&
|
|
|
378 |
this.weight.equals(other.getWeight()))) &&
|
|
|
379 |
((this.dimensions==null && other.getDimensions()==null) ||
|
|
|
380 |
(this.dimensions!=null &&
|
|
|
381 |
this.dimensions.equals(other.getDimensions()))) &&
|
|
|
382 |
((this.volume==null && other.getVolume()==null) ||
|
|
|
383 |
(this.volume!=null &&
|
|
|
384 |
this.volume.equals(other.getVolume())));
|
|
|
385 |
__equalsCalc = null;
|
|
|
386 |
return _equals;
|
|
|
387 |
}
|
|
|
388 |
|
|
|
389 |
private boolean __hashCodeCalc = false;
|
|
|
390 |
public synchronized int hashCode() {
|
|
|
391 |
if (__hashCodeCalc) {
|
|
|
392 |
return 0;
|
|
|
393 |
}
|
|
|
394 |
__hashCodeCalc = true;
|
|
|
395 |
int _hashCode = 1;
|
|
|
396 |
if (getFreightClass() != null) {
|
|
|
397 |
_hashCode += getFreightClass().hashCode();
|
|
|
398 |
}
|
|
|
399 |
if (getClassProvidedByCustomer() != null) {
|
|
|
400 |
_hashCode += getClassProvidedByCustomer().hashCode();
|
|
|
401 |
}
|
|
|
402 |
if (getHandlingUnits() != null) {
|
|
|
403 |
_hashCode += getHandlingUnits().hashCode();
|
|
|
404 |
}
|
|
|
405 |
if (getPackaging() != null) {
|
|
|
406 |
_hashCode += getPackaging().hashCode();
|
|
|
407 |
}
|
|
|
408 |
if (getPieces() != null) {
|
|
|
409 |
_hashCode += getPieces().hashCode();
|
|
|
410 |
}
|
|
|
411 |
if (getNmfcCode() != null) {
|
|
|
412 |
_hashCode += getNmfcCode().hashCode();
|
|
|
413 |
}
|
|
|
414 |
if (getHazardousMaterials() != null) {
|
|
|
415 |
_hashCode += getHazardousMaterials().hashCode();
|
|
|
416 |
}
|
|
|
417 |
if (getPurchaseOrderNumber() != null) {
|
|
|
418 |
_hashCode += getPurchaseOrderNumber().hashCode();
|
|
|
419 |
}
|
|
|
420 |
if (getDescription() != null) {
|
|
|
421 |
_hashCode += getDescription().hashCode();
|
|
|
422 |
}
|
|
|
423 |
if (getWeight() != null) {
|
|
|
424 |
_hashCode += getWeight().hashCode();
|
|
|
425 |
}
|
|
|
426 |
if (getDimensions() != null) {
|
|
|
427 |
_hashCode += getDimensions().hashCode();
|
|
|
428 |
}
|
|
|
429 |
if (getVolume() != null) {
|
|
|
430 |
_hashCode += getVolume().hashCode();
|
|
|
431 |
}
|
|
|
432 |
__hashCodeCalc = false;
|
|
|
433 |
return _hashCode;
|
|
|
434 |
}
|
|
|
435 |
|
|
|
436 |
// Type metadata
|
|
|
437 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
438 |
new org.apache.axis.description.TypeDesc(FreightShipmentLineItem.class, true);
|
|
|
439 |
|
|
|
440 |
static {
|
|
|
441 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightShipmentLineItem"));
|
|
|
442 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
443 |
elemField.setFieldName("freightClass");
|
|
|
444 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightClass"));
|
|
|
445 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "FreightClassType"));
|
|
|
446 |
elemField.setMinOccurs(0);
|
|
|
447 |
elemField.setNillable(false);
|
|
|
448 |
typeDesc.addFieldDesc(elemField);
|
|
|
449 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
450 |
elemField.setFieldName("classProvidedByCustomer");
|
|
|
451 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ClassProvidedByCustomer"));
|
|
|
452 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
|
|
453 |
elemField.setMinOccurs(0);
|
|
|
454 |
elemField.setNillable(false);
|
|
|
455 |
typeDesc.addFieldDesc(elemField);
|
|
|
456 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
457 |
elemField.setFieldName("handlingUnits");
|
|
|
458 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HandlingUnits"));
|
|
|
459 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
|
|
|
460 |
elemField.setMinOccurs(0);
|
|
|
461 |
elemField.setNillable(false);
|
|
|
462 |
typeDesc.addFieldDesc(elemField);
|
|
|
463 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
464 |
elemField.setFieldName("packaging");
|
|
|
465 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Packaging"));
|
|
|
466 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PhysicalPackagingType"));
|
|
|
467 |
elemField.setMinOccurs(0);
|
|
|
468 |
elemField.setNillable(false);
|
|
|
469 |
typeDesc.addFieldDesc(elemField);
|
|
|
470 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
471 |
elemField.setFieldName("pieces");
|
|
|
472 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Pieces"));
|
|
|
473 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
|
|
|
474 |
elemField.setMinOccurs(0);
|
|
|
475 |
elemField.setNillable(false);
|
|
|
476 |
typeDesc.addFieldDesc(elemField);
|
|
|
477 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
478 |
elemField.setFieldName("nmfcCode");
|
|
|
479 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "NmfcCode"));
|
|
|
480 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
481 |
elemField.setMinOccurs(0);
|
|
|
482 |
elemField.setNillable(false);
|
|
|
483 |
typeDesc.addFieldDesc(elemField);
|
|
|
484 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
485 |
elemField.setFieldName("hazardousMaterials");
|
|
|
486 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousMaterials"));
|
|
|
487 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousCommodityOptionType"));
|
|
|
488 |
elemField.setMinOccurs(0);
|
|
|
489 |
elemField.setNillable(false);
|
|
|
490 |
typeDesc.addFieldDesc(elemField);
|
|
|
491 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
492 |
elemField.setFieldName("purchaseOrderNumber");
|
|
|
493 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PurchaseOrderNumber"));
|
|
|
494 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
495 |
elemField.setMinOccurs(0);
|
|
|
496 |
elemField.setNillable(false);
|
|
|
497 |
typeDesc.addFieldDesc(elemField);
|
|
|
498 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
499 |
elemField.setFieldName("description");
|
|
|
500 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Description"));
|
|
|
501 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
502 |
elemField.setMinOccurs(0);
|
|
|
503 |
elemField.setNillable(false);
|
|
|
504 |
typeDesc.addFieldDesc(elemField);
|
|
|
505 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
506 |
elemField.setFieldName("weight");
|
|
|
507 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
|
|
|
508 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Weight"));
|
|
|
509 |
elemField.setMinOccurs(0);
|
|
|
510 |
elemField.setNillable(false);
|
|
|
511 |
typeDesc.addFieldDesc(elemField);
|
|
|
512 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
513 |
elemField.setFieldName("dimensions");
|
|
|
514 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Dimensions"));
|
|
|
515 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Dimensions"));
|
|
|
516 |
elemField.setMinOccurs(0);
|
|
|
517 |
elemField.setNillable(false);
|
|
|
518 |
typeDesc.addFieldDesc(elemField);
|
|
|
519 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
520 |
elemField.setFieldName("volume");
|
|
|
521 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Volume"));
|
|
|
522 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Volume"));
|
|
|
523 |
elemField.setMinOccurs(0);
|
|
|
524 |
elemField.setNillable(false);
|
|
|
525 |
typeDesc.addFieldDesc(elemField);
|
|
|
526 |
}
|
|
|
527 |
|
|
|
528 |
/**
|
|
|
529 |
* Return type metadata object
|
|
|
530 |
*/
|
|
|
531 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
532 |
return typeDesc;
|
|
|
533 |
}
|
|
|
534 |
|
|
|
535 |
/**
|
|
|
536 |
* Get Custom Serializer
|
|
|
537 |
*/
|
|
|
538 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
539 |
java.lang.String mechType,
|
|
|
540 |
java.lang.Class _javaType,
|
|
|
541 |
javax.xml.namespace.QName _xmlType) {
|
|
|
542 |
return
|
|
|
543 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
544 |
_javaType, _xmlType, typeDesc);
|
|
|
545 |
}
|
|
|
546 |
|
|
|
547 |
/**
|
|
|
548 |
* Get Custom Deserializer
|
|
|
549 |
*/
|
|
|
550 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
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.BeanDeserializer(
|
|
|
556 |
_javaType, _xmlType, typeDesc);
|
|
|
557 |
}
|
|
|
558 |
|
|
|
559 |
}
|