| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* HazardousCommodityDescription.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 |
* Identifies and describes an individual hazardous commodity.
|
|
|
13 |
*/
|
|
|
14 |
public class HazardousCommodityDescription implements java.io.Serializable {
|
|
|
15 |
/* Regulatory identifier for a commodity (e.g. "UN ID" value). */
|
|
|
16 |
private java.lang.String id;
|
|
|
17 |
|
|
|
18 |
/* In conjunction with the regulatory identifier, this field uniquely
|
|
|
19 |
* identifies a specific hazardous materials commodity. */
|
|
|
20 |
private org.apache.axis.types.NonNegativeInteger sequenceNumber;
|
|
|
21 |
|
|
|
22 |
private com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup;
|
|
|
23 |
|
|
|
24 |
private com.fedex.ship.stub.HazardousCommodityPackingDetail packingDetails;
|
|
|
25 |
|
|
|
26 |
private java.lang.Boolean reportableQuantity;
|
|
|
27 |
|
|
|
28 |
private java.lang.String properShippingName;
|
|
|
29 |
|
|
|
30 |
private java.lang.String technicalName;
|
|
|
31 |
|
|
|
32 |
private java.math.BigDecimal percentage;
|
|
|
33 |
|
|
|
34 |
private java.lang.String hazardClass;
|
|
|
35 |
|
|
|
36 |
private java.lang.String[] subsidiaryClasses;
|
|
|
37 |
|
|
|
38 |
private java.lang.String labelText;
|
|
|
39 |
|
|
|
40 |
/* Indicates any special processing options to be applied to the
|
|
|
41 |
* description of the dangerous goods commodity. */
|
|
|
42 |
private com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] processingOptions;
|
|
|
43 |
|
|
|
44 |
/* Information related to quantity limitations and operator or
|
|
|
45 |
* state variations as may be applicable to the dangerous goods commodity. */
|
|
|
46 |
private java.lang.String authorization;
|
|
|
47 |
|
|
|
48 |
public HazardousCommodityDescription() {
|
|
|
49 |
}
|
|
|
50 |
|
|
|
51 |
public HazardousCommodityDescription(
|
|
|
52 |
java.lang.String id,
|
|
|
53 |
org.apache.axis.types.NonNegativeInteger sequenceNumber,
|
|
|
54 |
com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup,
|
|
|
55 |
com.fedex.ship.stub.HazardousCommodityPackingDetail packingDetails,
|
|
|
56 |
java.lang.Boolean reportableQuantity,
|
|
|
57 |
java.lang.String properShippingName,
|
|
|
58 |
java.lang.String technicalName,
|
|
|
59 |
java.math.BigDecimal percentage,
|
|
|
60 |
java.lang.String hazardClass,
|
|
|
61 |
java.lang.String[] subsidiaryClasses,
|
|
|
62 |
java.lang.String labelText,
|
|
|
63 |
com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] processingOptions,
|
|
|
64 |
java.lang.String authorization) {
|
|
|
65 |
this.id = id;
|
|
|
66 |
this.sequenceNumber = sequenceNumber;
|
|
|
67 |
this.packingGroup = packingGroup;
|
|
|
68 |
this.packingDetails = packingDetails;
|
|
|
69 |
this.reportableQuantity = reportableQuantity;
|
|
|
70 |
this.properShippingName = properShippingName;
|
|
|
71 |
this.technicalName = technicalName;
|
|
|
72 |
this.percentage = percentage;
|
|
|
73 |
this.hazardClass = hazardClass;
|
|
|
74 |
this.subsidiaryClasses = subsidiaryClasses;
|
|
|
75 |
this.labelText = labelText;
|
|
|
76 |
this.processingOptions = processingOptions;
|
|
|
77 |
this.authorization = authorization;
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
/**
|
|
|
82 |
* Gets the id value for this HazardousCommodityDescription.
|
|
|
83 |
*
|
|
|
84 |
* @return id * Regulatory identifier for a commodity (e.g. "UN ID" value).
|
|
|
85 |
*/
|
|
|
86 |
public java.lang.String getId() {
|
|
|
87 |
return id;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
/**
|
|
|
92 |
* Sets the id value for this HazardousCommodityDescription.
|
|
|
93 |
*
|
|
|
94 |
* @param id * Regulatory identifier for a commodity (e.g. "UN ID" value).
|
|
|
95 |
*/
|
|
|
96 |
public void setId(java.lang.String id) {
|
|
|
97 |
this.id = id;
|
|
|
98 |
}
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
/**
|
|
|
102 |
* Gets the sequenceNumber value for this HazardousCommodityDescription.
|
|
|
103 |
*
|
|
|
104 |
* @return sequenceNumber * In conjunction with the regulatory identifier, this field uniquely
|
|
|
105 |
* identifies a specific hazardous materials commodity.
|
|
|
106 |
*/
|
|
|
107 |
public org.apache.axis.types.NonNegativeInteger getSequenceNumber() {
|
|
|
108 |
return sequenceNumber;
|
|
|
109 |
}
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
/**
|
|
|
113 |
* Sets the sequenceNumber value for this HazardousCommodityDescription.
|
|
|
114 |
*
|
|
|
115 |
* @param sequenceNumber * In conjunction with the regulatory identifier, this field uniquely
|
|
|
116 |
* identifies a specific hazardous materials commodity.
|
|
|
117 |
*/
|
|
|
118 |
public void setSequenceNumber(org.apache.axis.types.NonNegativeInteger sequenceNumber) {
|
|
|
119 |
this.sequenceNumber = sequenceNumber;
|
|
|
120 |
}
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
/**
|
|
|
124 |
* Gets the packingGroup value for this HazardousCommodityDescription.
|
|
|
125 |
*
|
|
|
126 |
* @return packingGroup
|
|
|
127 |
*/
|
|
|
128 |
public com.fedex.ship.stub.HazardousCommodityPackingGroupType getPackingGroup() {
|
|
|
129 |
return packingGroup;
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
/**
|
|
|
134 |
* Sets the packingGroup value for this HazardousCommodityDescription.
|
|
|
135 |
*
|
|
|
136 |
* @param packingGroup
|
|
|
137 |
*/
|
|
|
138 |
public void setPackingGroup(com.fedex.ship.stub.HazardousCommodityPackingGroupType packingGroup) {
|
|
|
139 |
this.packingGroup = packingGroup;
|
|
|
140 |
}
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
/**
|
|
|
144 |
* Gets the packingDetails value for this HazardousCommodityDescription.
|
|
|
145 |
*
|
|
|
146 |
* @return packingDetails
|
|
|
147 |
*/
|
|
|
148 |
public com.fedex.ship.stub.HazardousCommodityPackingDetail getPackingDetails() {
|
|
|
149 |
return packingDetails;
|
|
|
150 |
}
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
/**
|
|
|
154 |
* Sets the packingDetails value for this HazardousCommodityDescription.
|
|
|
155 |
*
|
|
|
156 |
* @param packingDetails
|
|
|
157 |
*/
|
|
|
158 |
public void setPackingDetails(com.fedex.ship.stub.HazardousCommodityPackingDetail packingDetails) {
|
|
|
159 |
this.packingDetails = packingDetails;
|
|
|
160 |
}
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
/**
|
|
|
164 |
* Gets the reportableQuantity value for this HazardousCommodityDescription.
|
|
|
165 |
*
|
|
|
166 |
* @return reportableQuantity
|
|
|
167 |
*/
|
|
|
168 |
public java.lang.Boolean getReportableQuantity() {
|
|
|
169 |
return reportableQuantity;
|
|
|
170 |
}
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
/**
|
|
|
174 |
* Sets the reportableQuantity value for this HazardousCommodityDescription.
|
|
|
175 |
*
|
|
|
176 |
* @param reportableQuantity
|
|
|
177 |
*/
|
|
|
178 |
public void setReportableQuantity(java.lang.Boolean reportableQuantity) {
|
|
|
179 |
this.reportableQuantity = reportableQuantity;
|
|
|
180 |
}
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
/**
|
|
|
184 |
* Gets the properShippingName value for this HazardousCommodityDescription.
|
|
|
185 |
*
|
|
|
186 |
* @return properShippingName
|
|
|
187 |
*/
|
|
|
188 |
public java.lang.String getProperShippingName() {
|
|
|
189 |
return properShippingName;
|
|
|
190 |
}
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
/**
|
|
|
194 |
* Sets the properShippingName value for this HazardousCommodityDescription.
|
|
|
195 |
*
|
|
|
196 |
* @param properShippingName
|
|
|
197 |
*/
|
|
|
198 |
public void setProperShippingName(java.lang.String properShippingName) {
|
|
|
199 |
this.properShippingName = properShippingName;
|
|
|
200 |
}
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
/**
|
|
|
204 |
* Gets the technicalName value for this HazardousCommodityDescription.
|
|
|
205 |
*
|
|
|
206 |
* @return technicalName
|
|
|
207 |
*/
|
|
|
208 |
public java.lang.String getTechnicalName() {
|
|
|
209 |
return technicalName;
|
|
|
210 |
}
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
/**
|
|
|
214 |
* Sets the technicalName value for this HazardousCommodityDescription.
|
|
|
215 |
*
|
|
|
216 |
* @param technicalName
|
|
|
217 |
*/
|
|
|
218 |
public void setTechnicalName(java.lang.String technicalName) {
|
|
|
219 |
this.technicalName = technicalName;
|
|
|
220 |
}
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
/**
|
|
|
224 |
* Gets the percentage value for this HazardousCommodityDescription.
|
|
|
225 |
*
|
|
|
226 |
* @return percentage
|
|
|
227 |
*/
|
|
|
228 |
public java.math.BigDecimal getPercentage() {
|
|
|
229 |
return percentage;
|
|
|
230 |
}
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
/**
|
|
|
234 |
* Sets the percentage value for this HazardousCommodityDescription.
|
|
|
235 |
*
|
|
|
236 |
* @param percentage
|
|
|
237 |
*/
|
|
|
238 |
public void setPercentage(java.math.BigDecimal percentage) {
|
|
|
239 |
this.percentage = percentage;
|
|
|
240 |
}
|
|
|
241 |
|
|
|
242 |
|
|
|
243 |
/**
|
|
|
244 |
* Gets the hazardClass value for this HazardousCommodityDescription.
|
|
|
245 |
*
|
|
|
246 |
* @return hazardClass
|
|
|
247 |
*/
|
|
|
248 |
public java.lang.String getHazardClass() {
|
|
|
249 |
return hazardClass;
|
|
|
250 |
}
|
|
|
251 |
|
|
|
252 |
|
|
|
253 |
/**
|
|
|
254 |
* Sets the hazardClass value for this HazardousCommodityDescription.
|
|
|
255 |
*
|
|
|
256 |
* @param hazardClass
|
|
|
257 |
*/
|
|
|
258 |
public void setHazardClass(java.lang.String hazardClass) {
|
|
|
259 |
this.hazardClass = hazardClass;
|
|
|
260 |
}
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
/**
|
|
|
264 |
* Gets the subsidiaryClasses value for this HazardousCommodityDescription.
|
|
|
265 |
*
|
|
|
266 |
* @return subsidiaryClasses
|
|
|
267 |
*/
|
|
|
268 |
public java.lang.String[] getSubsidiaryClasses() {
|
|
|
269 |
return subsidiaryClasses;
|
|
|
270 |
}
|
|
|
271 |
|
|
|
272 |
|
|
|
273 |
/**
|
|
|
274 |
* Sets the subsidiaryClasses value for this HazardousCommodityDescription.
|
|
|
275 |
*
|
|
|
276 |
* @param subsidiaryClasses
|
|
|
277 |
*/
|
|
|
278 |
public void setSubsidiaryClasses(java.lang.String[] subsidiaryClasses) {
|
|
|
279 |
this.subsidiaryClasses = subsidiaryClasses;
|
|
|
280 |
}
|
|
|
281 |
|
|
|
282 |
public java.lang.String getSubsidiaryClasses(int i) {
|
|
|
283 |
return this.subsidiaryClasses[i];
|
|
|
284 |
}
|
|
|
285 |
|
|
|
286 |
public void setSubsidiaryClasses(int i, java.lang.String _value) {
|
|
|
287 |
this.subsidiaryClasses[i] = _value;
|
|
|
288 |
}
|
|
|
289 |
|
|
|
290 |
|
|
|
291 |
/**
|
|
|
292 |
* Gets the labelText value for this HazardousCommodityDescription.
|
|
|
293 |
*
|
|
|
294 |
* @return labelText
|
|
|
295 |
*/
|
|
|
296 |
public java.lang.String getLabelText() {
|
|
|
297 |
return labelText;
|
|
|
298 |
}
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
/**
|
|
|
302 |
* Sets the labelText value for this HazardousCommodityDescription.
|
|
|
303 |
*
|
|
|
304 |
* @param labelText
|
|
|
305 |
*/
|
|
|
306 |
public void setLabelText(java.lang.String labelText) {
|
|
|
307 |
this.labelText = labelText;
|
|
|
308 |
}
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
/**
|
|
|
312 |
* Gets the processingOptions value for this HazardousCommodityDescription.
|
|
|
313 |
*
|
|
|
314 |
* @return processingOptions * Indicates any special processing options to be applied to the
|
|
|
315 |
* description of the dangerous goods commodity.
|
|
|
316 |
*/
|
|
|
317 |
public com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] getProcessingOptions() {
|
|
|
318 |
return processingOptions;
|
|
|
319 |
}
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
/**
|
|
|
323 |
* Sets the processingOptions value for this HazardousCommodityDescription.
|
|
|
324 |
*
|
|
|
325 |
* @param processingOptions * Indicates any special processing options to be applied to the
|
|
|
326 |
* description of the dangerous goods commodity.
|
|
|
327 |
*/
|
|
|
328 |
public void setProcessingOptions(com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType[] processingOptions) {
|
|
|
329 |
this.processingOptions = processingOptions;
|
|
|
330 |
}
|
|
|
331 |
|
|
|
332 |
public com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType getProcessingOptions(int i) {
|
|
|
333 |
return this.processingOptions[i];
|
|
|
334 |
}
|
|
|
335 |
|
|
|
336 |
public void setProcessingOptions(int i, com.fedex.ship.stub.HazardousCommodityDescriptionProcessingOptionType _value) {
|
|
|
337 |
this.processingOptions[i] = _value;
|
|
|
338 |
}
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
/**
|
|
|
342 |
* Gets the authorization value for this HazardousCommodityDescription.
|
|
|
343 |
*
|
|
|
344 |
* @return authorization * Information related to quantity limitations and operator or
|
|
|
345 |
* state variations as may be applicable to the dangerous goods commodity.
|
|
|
346 |
*/
|
|
|
347 |
public java.lang.String getAuthorization() {
|
|
|
348 |
return authorization;
|
|
|
349 |
}
|
|
|
350 |
|
|
|
351 |
|
|
|
352 |
/**
|
|
|
353 |
* Sets the authorization value for this HazardousCommodityDescription.
|
|
|
354 |
*
|
|
|
355 |
* @param authorization * Information related to quantity limitations and operator or
|
|
|
356 |
* state variations as may be applicable to the dangerous goods commodity.
|
|
|
357 |
*/
|
|
|
358 |
public void setAuthorization(java.lang.String authorization) {
|
|
|
359 |
this.authorization = authorization;
|
|
|
360 |
}
|
|
|
361 |
|
|
|
362 |
private java.lang.Object __equalsCalc = null;
|
|
|
363 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
364 |
if (!(obj instanceof HazardousCommodityDescription)) return false;
|
|
|
365 |
HazardousCommodityDescription other = (HazardousCommodityDescription) obj;
|
|
|
366 |
if (obj == null) return false;
|
|
|
367 |
if (this == obj) return true;
|
|
|
368 |
if (__equalsCalc != null) {
|
|
|
369 |
return (__equalsCalc == obj);
|
|
|
370 |
}
|
|
|
371 |
__equalsCalc = obj;
|
|
|
372 |
boolean _equals;
|
|
|
373 |
_equals = true &&
|
|
|
374 |
((this.id==null && other.getId()==null) ||
|
|
|
375 |
(this.id!=null &&
|
|
|
376 |
this.id.equals(other.getId()))) &&
|
|
|
377 |
((this.sequenceNumber==null && other.getSequenceNumber()==null) ||
|
|
|
378 |
(this.sequenceNumber!=null &&
|
|
|
379 |
this.sequenceNumber.equals(other.getSequenceNumber()))) &&
|
|
|
380 |
((this.packingGroup==null && other.getPackingGroup()==null) ||
|
|
|
381 |
(this.packingGroup!=null &&
|
|
|
382 |
this.packingGroup.equals(other.getPackingGroup()))) &&
|
|
|
383 |
((this.packingDetails==null && other.getPackingDetails()==null) ||
|
|
|
384 |
(this.packingDetails!=null &&
|
|
|
385 |
this.packingDetails.equals(other.getPackingDetails()))) &&
|
|
|
386 |
((this.reportableQuantity==null && other.getReportableQuantity()==null) ||
|
|
|
387 |
(this.reportableQuantity!=null &&
|
|
|
388 |
this.reportableQuantity.equals(other.getReportableQuantity()))) &&
|
|
|
389 |
((this.properShippingName==null && other.getProperShippingName()==null) ||
|
|
|
390 |
(this.properShippingName!=null &&
|
|
|
391 |
this.properShippingName.equals(other.getProperShippingName()))) &&
|
|
|
392 |
((this.technicalName==null && other.getTechnicalName()==null) ||
|
|
|
393 |
(this.technicalName!=null &&
|
|
|
394 |
this.technicalName.equals(other.getTechnicalName()))) &&
|
|
|
395 |
((this.percentage==null && other.getPercentage()==null) ||
|
|
|
396 |
(this.percentage!=null &&
|
|
|
397 |
this.percentage.equals(other.getPercentage()))) &&
|
|
|
398 |
((this.hazardClass==null && other.getHazardClass()==null) ||
|
|
|
399 |
(this.hazardClass!=null &&
|
|
|
400 |
this.hazardClass.equals(other.getHazardClass()))) &&
|
|
|
401 |
((this.subsidiaryClasses==null && other.getSubsidiaryClasses()==null) ||
|
|
|
402 |
(this.subsidiaryClasses!=null &&
|
|
|
403 |
java.util.Arrays.equals(this.subsidiaryClasses, other.getSubsidiaryClasses()))) &&
|
|
|
404 |
((this.labelText==null && other.getLabelText()==null) ||
|
|
|
405 |
(this.labelText!=null &&
|
|
|
406 |
this.labelText.equals(other.getLabelText()))) &&
|
|
|
407 |
((this.processingOptions==null && other.getProcessingOptions()==null) ||
|
|
|
408 |
(this.processingOptions!=null &&
|
|
|
409 |
java.util.Arrays.equals(this.processingOptions, other.getProcessingOptions()))) &&
|
|
|
410 |
((this.authorization==null && other.getAuthorization()==null) ||
|
|
|
411 |
(this.authorization!=null &&
|
|
|
412 |
this.authorization.equals(other.getAuthorization())));
|
|
|
413 |
__equalsCalc = null;
|
|
|
414 |
return _equals;
|
|
|
415 |
}
|
|
|
416 |
|
|
|
417 |
private boolean __hashCodeCalc = false;
|
|
|
418 |
public synchronized int hashCode() {
|
|
|
419 |
if (__hashCodeCalc) {
|
|
|
420 |
return 0;
|
|
|
421 |
}
|
|
|
422 |
__hashCodeCalc = true;
|
|
|
423 |
int _hashCode = 1;
|
|
|
424 |
if (getId() != null) {
|
|
|
425 |
_hashCode += getId().hashCode();
|
|
|
426 |
}
|
|
|
427 |
if (getSequenceNumber() != null) {
|
|
|
428 |
_hashCode += getSequenceNumber().hashCode();
|
|
|
429 |
}
|
|
|
430 |
if (getPackingGroup() != null) {
|
|
|
431 |
_hashCode += getPackingGroup().hashCode();
|
|
|
432 |
}
|
|
|
433 |
if (getPackingDetails() != null) {
|
|
|
434 |
_hashCode += getPackingDetails().hashCode();
|
|
|
435 |
}
|
|
|
436 |
if (getReportableQuantity() != null) {
|
|
|
437 |
_hashCode += getReportableQuantity().hashCode();
|
|
|
438 |
}
|
|
|
439 |
if (getProperShippingName() != null) {
|
|
|
440 |
_hashCode += getProperShippingName().hashCode();
|
|
|
441 |
}
|
|
|
442 |
if (getTechnicalName() != null) {
|
|
|
443 |
_hashCode += getTechnicalName().hashCode();
|
|
|
444 |
}
|
|
|
445 |
if (getPercentage() != null) {
|
|
|
446 |
_hashCode += getPercentage().hashCode();
|
|
|
447 |
}
|
|
|
448 |
if (getHazardClass() != null) {
|
|
|
449 |
_hashCode += getHazardClass().hashCode();
|
|
|
450 |
}
|
|
|
451 |
if (getSubsidiaryClasses() != null) {
|
|
|
452 |
for (int i=0;
|
|
|
453 |
i<java.lang.reflect.Array.getLength(getSubsidiaryClasses());
|
|
|
454 |
i++) {
|
|
|
455 |
java.lang.Object obj = java.lang.reflect.Array.get(getSubsidiaryClasses(), i);
|
|
|
456 |
if (obj != null &&
|
|
|
457 |
!obj.getClass().isArray()) {
|
|
|
458 |
_hashCode += obj.hashCode();
|
|
|
459 |
}
|
|
|
460 |
}
|
|
|
461 |
}
|
|
|
462 |
if (getLabelText() != null) {
|
|
|
463 |
_hashCode += getLabelText().hashCode();
|
|
|
464 |
}
|
|
|
465 |
if (getProcessingOptions() != null) {
|
|
|
466 |
for (int i=0;
|
|
|
467 |
i<java.lang.reflect.Array.getLength(getProcessingOptions());
|
|
|
468 |
i++) {
|
|
|
469 |
java.lang.Object obj = java.lang.reflect.Array.get(getProcessingOptions(), i);
|
|
|
470 |
if (obj != null &&
|
|
|
471 |
!obj.getClass().isArray()) {
|
|
|
472 |
_hashCode += obj.hashCode();
|
|
|
473 |
}
|
|
|
474 |
}
|
|
|
475 |
}
|
|
|
476 |
if (getAuthorization() != null) {
|
|
|
477 |
_hashCode += getAuthorization().hashCode();
|
|
|
478 |
}
|
|
|
479 |
__hashCodeCalc = false;
|
|
|
480 |
return _hashCode;
|
|
|
481 |
}
|
|
|
482 |
|
|
|
483 |
// Type metadata
|
|
|
484 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
485 |
new org.apache.axis.description.TypeDesc(HazardousCommodityDescription.class, true);
|
|
|
486 |
|
|
|
487 |
static {
|
|
|
488 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousCommodityDescription"));
|
|
|
489 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
490 |
elemField.setFieldName("id");
|
|
|
491 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Id"));
|
|
|
492 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
493 |
elemField.setMinOccurs(0);
|
|
|
494 |
elemField.setNillable(false);
|
|
|
495 |
typeDesc.addFieldDesc(elemField);
|
|
|
496 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
497 |
elemField.setFieldName("sequenceNumber");
|
|
|
498 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SequenceNumber"));
|
|
|
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("packingGroup");
|
|
|
505 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackingGroup"));
|
|
|
506 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousCommodityPackingGroupType"));
|
|
|
507 |
elemField.setMinOccurs(0);
|
|
|
508 |
elemField.setNillable(false);
|
|
|
509 |
typeDesc.addFieldDesc(elemField);
|
|
|
510 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
511 |
elemField.setFieldName("packingDetails");
|
|
|
512 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackingDetails"));
|
|
|
513 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousCommodityPackingDetail"));
|
|
|
514 |
elemField.setMinOccurs(0);
|
|
|
515 |
elemField.setNillable(false);
|
|
|
516 |
typeDesc.addFieldDesc(elemField);
|
|
|
517 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
518 |
elemField.setFieldName("reportableQuantity");
|
|
|
519 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ReportableQuantity"));
|
|
|
520 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
|
|
521 |
elemField.setMinOccurs(0);
|
|
|
522 |
elemField.setNillable(false);
|
|
|
523 |
typeDesc.addFieldDesc(elemField);
|
|
|
524 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
525 |
elemField.setFieldName("properShippingName");
|
|
|
526 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ProperShippingName"));
|
|
|
527 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
528 |
elemField.setMinOccurs(0);
|
|
|
529 |
elemField.setNillable(false);
|
|
|
530 |
typeDesc.addFieldDesc(elemField);
|
|
|
531 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
532 |
elemField.setFieldName("technicalName");
|
|
|
533 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TechnicalName"));
|
|
|
534 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
535 |
elemField.setMinOccurs(0);
|
|
|
536 |
elemField.setNillable(false);
|
|
|
537 |
typeDesc.addFieldDesc(elemField);
|
|
|
538 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
539 |
elemField.setFieldName("percentage");
|
|
|
540 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Percentage"));
|
|
|
541 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
|
|
|
542 |
elemField.setMinOccurs(0);
|
|
|
543 |
elemField.setNillable(false);
|
|
|
544 |
typeDesc.addFieldDesc(elemField);
|
|
|
545 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
546 |
elemField.setFieldName("hazardClass");
|
|
|
547 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardClass"));
|
|
|
548 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
549 |
elemField.setMinOccurs(0);
|
|
|
550 |
elemField.setNillable(false);
|
|
|
551 |
typeDesc.addFieldDesc(elemField);
|
|
|
552 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
553 |
elemField.setFieldName("subsidiaryClasses");
|
|
|
554 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SubsidiaryClasses"));
|
|
|
555 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
556 |
elemField.setMinOccurs(0);
|
|
|
557 |
elemField.setNillable(false);
|
|
|
558 |
elemField.setMaxOccursUnbounded(true);
|
|
|
559 |
typeDesc.addFieldDesc(elemField);
|
|
|
560 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
561 |
elemField.setFieldName("labelText");
|
|
|
562 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LabelText"));
|
|
|
563 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
564 |
elemField.setMinOccurs(0);
|
|
|
565 |
elemField.setNillable(false);
|
|
|
566 |
typeDesc.addFieldDesc(elemField);
|
|
|
567 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
568 |
elemField.setFieldName("processingOptions");
|
|
|
569 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ProcessingOptions"));
|
|
|
570 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousCommodityDescriptionProcessingOptionType"));
|
|
|
571 |
elemField.setMinOccurs(0);
|
|
|
572 |
elemField.setNillable(false);
|
|
|
573 |
elemField.setMaxOccursUnbounded(true);
|
|
|
574 |
typeDesc.addFieldDesc(elemField);
|
|
|
575 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
576 |
elemField.setFieldName("authorization");
|
|
|
577 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Authorization"));
|
|
|
578 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
579 |
elemField.setMinOccurs(0);
|
|
|
580 |
elemField.setNillable(false);
|
|
|
581 |
typeDesc.addFieldDesc(elemField);
|
|
|
582 |
}
|
|
|
583 |
|
|
|
584 |
/**
|
|
|
585 |
* Return type metadata object
|
|
|
586 |
*/
|
|
|
587 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
588 |
return typeDesc;
|
|
|
589 |
}
|
|
|
590 |
|
|
|
591 |
/**
|
|
|
592 |
* Get Custom Serializer
|
|
|
593 |
*/
|
|
|
594 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
595 |
java.lang.String mechType,
|
|
|
596 |
java.lang.Class _javaType,
|
|
|
597 |
javax.xml.namespace.QName _xmlType) {
|
|
|
598 |
return
|
|
|
599 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
600 |
_javaType, _xmlType, typeDesc);
|
|
|
601 |
}
|
|
|
602 |
|
|
|
603 |
/**
|
|
|
604 |
* Get Custom Deserializer
|
|
|
605 |
*/
|
|
|
606 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
607 |
java.lang.String mechType,
|
|
|
608 |
java.lang.Class _javaType,
|
|
|
609 |
javax.xml.namespace.QName _xmlType) {
|
|
|
610 |
return
|
|
|
611 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
612 |
_javaType, _xmlType, typeDesc);
|
|
|
613 |
}
|
|
|
614 |
|
|
|
615 |
}
|