| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* DangerousGoodsDetail.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 |
* The descriptive data required for a FedEx shipment containing dangerous
|
|
|
13 |
* goods (hazardous materials).
|
|
|
14 |
*/
|
|
|
15 |
public class DangerousGoodsDetail implements java.io.Serializable {
|
|
|
16 |
/* Identifies whether or not the products being shipped are required
|
|
|
17 |
* to be accessible during delivery. */
|
|
|
18 |
private com.fedex.ship.stub.DangerousGoodsAccessibilityType accessibility;
|
|
|
19 |
|
|
|
20 |
/* Shipment is packaged/documented for movement ONLY on cargo
|
|
|
21 |
* aircraft. */
|
|
|
22 |
private java.lang.Boolean cargoAircraftOnly;
|
|
|
23 |
|
|
|
24 |
/* Indicates which kinds of hazardous content are in the current
|
|
|
25 |
* package. */
|
|
|
26 |
private com.fedex.ship.stub.HazardousCommodityOptionType[] options;
|
|
|
27 |
|
|
|
28 |
/* Indicates whether there is additional customer provided packaging
|
|
|
29 |
* enclosing the approved dangerous goods containers. */
|
|
|
30 |
private com.fedex.ship.stub.DangerousGoodsPackingOptionType packingOption;
|
|
|
31 |
|
|
|
32 |
/* Identifies the configuration of this dangerous goods package.
|
|
|
33 |
* The common configuration is represented at the shipment level. */
|
|
|
34 |
private java.lang.String referenceId;
|
|
|
35 |
|
|
|
36 |
/* Indicates one or more containers used to pack dangerous goods
|
|
|
37 |
* commodities. */
|
|
|
38 |
private com.fedex.ship.stub.DangerousGoodsContainer[] containers;
|
|
|
39 |
|
|
|
40 |
/* Description of the packaging of this commodity, suitable for
|
|
|
41 |
* use on OP-900 and OP-950 forms. */
|
|
|
42 |
private com.fedex.ship.stub.HazardousCommodityPackagingDetail packaging;
|
|
|
43 |
|
|
|
44 |
/* Name, title and place of the signatory for this shipment. */
|
|
|
45 |
private com.fedex.ship.stub.DangerousGoodsSignatory signatory;
|
|
|
46 |
|
|
|
47 |
/* Telephone number to use for contact in the event of an emergency. */
|
|
|
48 |
private java.lang.String emergencyContactNumber;
|
|
|
49 |
|
|
|
50 |
/* Offeror's name or contract number, per DOT regulation. */
|
|
|
51 |
private java.lang.String offeror;
|
|
|
52 |
|
|
|
53 |
/* Specifies the contact of the party responsible for handling
|
|
|
54 |
* the infectious substances, if any, in the dangerous goods shipment. */
|
|
|
55 |
private com.fedex.ship.stub.Contact infectiousSubstanceResponsibleContact;
|
|
|
56 |
|
|
|
57 |
/* Specifies additional handling information for the current package. */
|
|
|
58 |
private java.lang.String additionalHandling;
|
|
|
59 |
|
|
|
60 |
/* Specifies the radioactivity detail for the current package,
|
|
|
61 |
* if the package contains radioactive materials. */
|
|
|
62 |
private com.fedex.ship.stub.RadioactivityDetail radioactivityDetail;
|
|
|
63 |
|
|
|
64 |
public DangerousGoodsDetail() {
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
public DangerousGoodsDetail(
|
|
|
68 |
com.fedex.ship.stub.DangerousGoodsAccessibilityType accessibility,
|
|
|
69 |
java.lang.Boolean cargoAircraftOnly,
|
|
|
70 |
com.fedex.ship.stub.HazardousCommodityOptionType[] options,
|
|
|
71 |
com.fedex.ship.stub.DangerousGoodsPackingOptionType packingOption,
|
|
|
72 |
java.lang.String referenceId,
|
|
|
73 |
com.fedex.ship.stub.DangerousGoodsContainer[] containers,
|
|
|
74 |
com.fedex.ship.stub.HazardousCommodityPackagingDetail packaging,
|
|
|
75 |
com.fedex.ship.stub.DangerousGoodsSignatory signatory,
|
|
|
76 |
java.lang.String emergencyContactNumber,
|
|
|
77 |
java.lang.String offeror,
|
|
|
78 |
com.fedex.ship.stub.Contact infectiousSubstanceResponsibleContact,
|
|
|
79 |
java.lang.String additionalHandling,
|
|
|
80 |
com.fedex.ship.stub.RadioactivityDetail radioactivityDetail) {
|
|
|
81 |
this.accessibility = accessibility;
|
|
|
82 |
this.cargoAircraftOnly = cargoAircraftOnly;
|
|
|
83 |
this.options = options;
|
|
|
84 |
this.packingOption = packingOption;
|
|
|
85 |
this.referenceId = referenceId;
|
|
|
86 |
this.containers = containers;
|
|
|
87 |
this.packaging = packaging;
|
|
|
88 |
this.signatory = signatory;
|
|
|
89 |
this.emergencyContactNumber = emergencyContactNumber;
|
|
|
90 |
this.offeror = offeror;
|
|
|
91 |
this.infectiousSubstanceResponsibleContact = infectiousSubstanceResponsibleContact;
|
|
|
92 |
this.additionalHandling = additionalHandling;
|
|
|
93 |
this.radioactivityDetail = radioactivityDetail;
|
|
|
94 |
}
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
/**
|
|
|
98 |
* Gets the accessibility value for this DangerousGoodsDetail.
|
|
|
99 |
*
|
|
|
100 |
* @return accessibility * Identifies whether or not the products being shipped are required
|
|
|
101 |
* to be accessible during delivery.
|
|
|
102 |
*/
|
|
|
103 |
public com.fedex.ship.stub.DangerousGoodsAccessibilityType getAccessibility() {
|
|
|
104 |
return accessibility;
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
/**
|
|
|
109 |
* Sets the accessibility value for this DangerousGoodsDetail.
|
|
|
110 |
*
|
|
|
111 |
* @param accessibility * Identifies whether or not the products being shipped are required
|
|
|
112 |
* to be accessible during delivery.
|
|
|
113 |
*/
|
|
|
114 |
public void setAccessibility(com.fedex.ship.stub.DangerousGoodsAccessibilityType accessibility) {
|
|
|
115 |
this.accessibility = accessibility;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
/**
|
|
|
120 |
* Gets the cargoAircraftOnly value for this DangerousGoodsDetail.
|
|
|
121 |
*
|
|
|
122 |
* @return cargoAircraftOnly * Shipment is packaged/documented for movement ONLY on cargo
|
|
|
123 |
* aircraft.
|
|
|
124 |
*/
|
|
|
125 |
public java.lang.Boolean getCargoAircraftOnly() {
|
|
|
126 |
return cargoAircraftOnly;
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
/**
|
|
|
131 |
* Sets the cargoAircraftOnly value for this DangerousGoodsDetail.
|
|
|
132 |
*
|
|
|
133 |
* @param cargoAircraftOnly * Shipment is packaged/documented for movement ONLY on cargo
|
|
|
134 |
* aircraft.
|
|
|
135 |
*/
|
|
|
136 |
public void setCargoAircraftOnly(java.lang.Boolean cargoAircraftOnly) {
|
|
|
137 |
this.cargoAircraftOnly = cargoAircraftOnly;
|
|
|
138 |
}
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
/**
|
|
|
142 |
* Gets the options value for this DangerousGoodsDetail.
|
|
|
143 |
*
|
|
|
144 |
* @return options * Indicates which kinds of hazardous content are in the current
|
|
|
145 |
* package.
|
|
|
146 |
*/
|
|
|
147 |
public com.fedex.ship.stub.HazardousCommodityOptionType[] getOptions() {
|
|
|
148 |
return options;
|
|
|
149 |
}
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
/**
|
|
|
153 |
* Sets the options value for this DangerousGoodsDetail.
|
|
|
154 |
*
|
|
|
155 |
* @param options * Indicates which kinds of hazardous content are in the current
|
|
|
156 |
* package.
|
|
|
157 |
*/
|
|
|
158 |
public void setOptions(com.fedex.ship.stub.HazardousCommodityOptionType[] options) {
|
|
|
159 |
this.options = options;
|
|
|
160 |
}
|
|
|
161 |
|
|
|
162 |
public com.fedex.ship.stub.HazardousCommodityOptionType getOptions(int i) {
|
|
|
163 |
return this.options[i];
|
|
|
164 |
}
|
|
|
165 |
|
|
|
166 |
public void setOptions(int i, com.fedex.ship.stub.HazardousCommodityOptionType _value) {
|
|
|
167 |
this.options[i] = _value;
|
|
|
168 |
}
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
/**
|
|
|
172 |
* Gets the packingOption value for this DangerousGoodsDetail.
|
|
|
173 |
*
|
|
|
174 |
* @return packingOption * Indicates whether there is additional customer provided packaging
|
|
|
175 |
* enclosing the approved dangerous goods containers.
|
|
|
176 |
*/
|
|
|
177 |
public com.fedex.ship.stub.DangerousGoodsPackingOptionType getPackingOption() {
|
|
|
178 |
return packingOption;
|
|
|
179 |
}
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
/**
|
|
|
183 |
* Sets the packingOption value for this DangerousGoodsDetail.
|
|
|
184 |
*
|
|
|
185 |
* @param packingOption * Indicates whether there is additional customer provided packaging
|
|
|
186 |
* enclosing the approved dangerous goods containers.
|
|
|
187 |
*/
|
|
|
188 |
public void setPackingOption(com.fedex.ship.stub.DangerousGoodsPackingOptionType packingOption) {
|
|
|
189 |
this.packingOption = packingOption;
|
|
|
190 |
}
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
/**
|
|
|
194 |
* Gets the referenceId value for this DangerousGoodsDetail.
|
|
|
195 |
*
|
|
|
196 |
* @return referenceId * Identifies the configuration of this dangerous goods package.
|
|
|
197 |
* The common configuration is represented at the shipment level.
|
|
|
198 |
*/
|
|
|
199 |
public java.lang.String getReferenceId() {
|
|
|
200 |
return referenceId;
|
|
|
201 |
}
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
/**
|
|
|
205 |
* Sets the referenceId value for this DangerousGoodsDetail.
|
|
|
206 |
*
|
|
|
207 |
* @param referenceId * Identifies the configuration of this dangerous goods package.
|
|
|
208 |
* The common configuration is represented at the shipment level.
|
|
|
209 |
*/
|
|
|
210 |
public void setReferenceId(java.lang.String referenceId) {
|
|
|
211 |
this.referenceId = referenceId;
|
|
|
212 |
}
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
/**
|
|
|
216 |
* Gets the containers value for this DangerousGoodsDetail.
|
|
|
217 |
*
|
|
|
218 |
* @return containers * Indicates one or more containers used to pack dangerous goods
|
|
|
219 |
* commodities.
|
|
|
220 |
*/
|
|
|
221 |
public com.fedex.ship.stub.DangerousGoodsContainer[] getContainers() {
|
|
|
222 |
return containers;
|
|
|
223 |
}
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
/**
|
|
|
227 |
* Sets the containers value for this DangerousGoodsDetail.
|
|
|
228 |
*
|
|
|
229 |
* @param containers * Indicates one or more containers used to pack dangerous goods
|
|
|
230 |
* commodities.
|
|
|
231 |
*/
|
|
|
232 |
public void setContainers(com.fedex.ship.stub.DangerousGoodsContainer[] containers) {
|
|
|
233 |
this.containers = containers;
|
|
|
234 |
}
|
|
|
235 |
|
|
|
236 |
public com.fedex.ship.stub.DangerousGoodsContainer getContainers(int i) {
|
|
|
237 |
return this.containers[i];
|
|
|
238 |
}
|
|
|
239 |
|
|
|
240 |
public void setContainers(int i, com.fedex.ship.stub.DangerousGoodsContainer _value) {
|
|
|
241 |
this.containers[i] = _value;
|
|
|
242 |
}
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
/**
|
|
|
246 |
* Gets the packaging value for this DangerousGoodsDetail.
|
|
|
247 |
*
|
|
|
248 |
* @return packaging * Description of the packaging of this commodity, suitable for
|
|
|
249 |
* use on OP-900 and OP-950 forms.
|
|
|
250 |
*/
|
|
|
251 |
public com.fedex.ship.stub.HazardousCommodityPackagingDetail getPackaging() {
|
|
|
252 |
return packaging;
|
|
|
253 |
}
|
|
|
254 |
|
|
|
255 |
|
|
|
256 |
/**
|
|
|
257 |
* Sets the packaging value for this DangerousGoodsDetail.
|
|
|
258 |
*
|
|
|
259 |
* @param packaging * Description of the packaging of this commodity, suitable for
|
|
|
260 |
* use on OP-900 and OP-950 forms.
|
|
|
261 |
*/
|
|
|
262 |
public void setPackaging(com.fedex.ship.stub.HazardousCommodityPackagingDetail packaging) {
|
|
|
263 |
this.packaging = packaging;
|
|
|
264 |
}
|
|
|
265 |
|
|
|
266 |
|
|
|
267 |
/**
|
|
|
268 |
* Gets the signatory value for this DangerousGoodsDetail.
|
|
|
269 |
*
|
|
|
270 |
* @return signatory * Name, title and place of the signatory for this shipment.
|
|
|
271 |
*/
|
|
|
272 |
public com.fedex.ship.stub.DangerousGoodsSignatory getSignatory() {
|
|
|
273 |
return signatory;
|
|
|
274 |
}
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
/**
|
|
|
278 |
* Sets the signatory value for this DangerousGoodsDetail.
|
|
|
279 |
*
|
|
|
280 |
* @param signatory * Name, title and place of the signatory for this shipment.
|
|
|
281 |
*/
|
|
|
282 |
public void setSignatory(com.fedex.ship.stub.DangerousGoodsSignatory signatory) {
|
|
|
283 |
this.signatory = signatory;
|
|
|
284 |
}
|
|
|
285 |
|
|
|
286 |
|
|
|
287 |
/**
|
|
|
288 |
* Gets the emergencyContactNumber value for this DangerousGoodsDetail.
|
|
|
289 |
*
|
|
|
290 |
* @return emergencyContactNumber * Telephone number to use for contact in the event of an emergency.
|
|
|
291 |
*/
|
|
|
292 |
public java.lang.String getEmergencyContactNumber() {
|
|
|
293 |
return emergencyContactNumber;
|
|
|
294 |
}
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
/**
|
|
|
298 |
* Sets the emergencyContactNumber value for this DangerousGoodsDetail.
|
|
|
299 |
*
|
|
|
300 |
* @param emergencyContactNumber * Telephone number to use for contact in the event of an emergency.
|
|
|
301 |
*/
|
|
|
302 |
public void setEmergencyContactNumber(java.lang.String emergencyContactNumber) {
|
|
|
303 |
this.emergencyContactNumber = emergencyContactNumber;
|
|
|
304 |
}
|
|
|
305 |
|
|
|
306 |
|
|
|
307 |
/**
|
|
|
308 |
* Gets the offeror value for this DangerousGoodsDetail.
|
|
|
309 |
*
|
|
|
310 |
* @return offeror * Offeror's name or contract number, per DOT regulation.
|
|
|
311 |
*/
|
|
|
312 |
public java.lang.String getOfferor() {
|
|
|
313 |
return offeror;
|
|
|
314 |
}
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
/**
|
|
|
318 |
* Sets the offeror value for this DangerousGoodsDetail.
|
|
|
319 |
*
|
|
|
320 |
* @param offeror * Offeror's name or contract number, per DOT regulation.
|
|
|
321 |
*/
|
|
|
322 |
public void setOfferor(java.lang.String offeror) {
|
|
|
323 |
this.offeror = offeror;
|
|
|
324 |
}
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
/**
|
|
|
328 |
* Gets the infectiousSubstanceResponsibleContact value for this DangerousGoodsDetail.
|
|
|
329 |
*
|
|
|
330 |
* @return infectiousSubstanceResponsibleContact * Specifies the contact of the party responsible for handling
|
|
|
331 |
* the infectious substances, if any, in the dangerous goods shipment.
|
|
|
332 |
*/
|
|
|
333 |
public com.fedex.ship.stub.Contact getInfectiousSubstanceResponsibleContact() {
|
|
|
334 |
return infectiousSubstanceResponsibleContact;
|
|
|
335 |
}
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
/**
|
|
|
339 |
* Sets the infectiousSubstanceResponsibleContact value for this DangerousGoodsDetail.
|
|
|
340 |
*
|
|
|
341 |
* @param infectiousSubstanceResponsibleContact * Specifies the contact of the party responsible for handling
|
|
|
342 |
* the infectious substances, if any, in the dangerous goods shipment.
|
|
|
343 |
*/
|
|
|
344 |
public void setInfectiousSubstanceResponsibleContact(com.fedex.ship.stub.Contact infectiousSubstanceResponsibleContact) {
|
|
|
345 |
this.infectiousSubstanceResponsibleContact = infectiousSubstanceResponsibleContact;
|
|
|
346 |
}
|
|
|
347 |
|
|
|
348 |
|
|
|
349 |
/**
|
|
|
350 |
* Gets the additionalHandling value for this DangerousGoodsDetail.
|
|
|
351 |
*
|
|
|
352 |
* @return additionalHandling * Specifies additional handling information for the current package.
|
|
|
353 |
*/
|
|
|
354 |
public java.lang.String getAdditionalHandling() {
|
|
|
355 |
return additionalHandling;
|
|
|
356 |
}
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
/**
|
|
|
360 |
* Sets the additionalHandling value for this DangerousGoodsDetail.
|
|
|
361 |
*
|
|
|
362 |
* @param additionalHandling * Specifies additional handling information for the current package.
|
|
|
363 |
*/
|
|
|
364 |
public void setAdditionalHandling(java.lang.String additionalHandling) {
|
|
|
365 |
this.additionalHandling = additionalHandling;
|
|
|
366 |
}
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
/**
|
|
|
370 |
* Gets the radioactivityDetail value for this DangerousGoodsDetail.
|
|
|
371 |
*
|
|
|
372 |
* @return radioactivityDetail * Specifies the radioactivity detail for the current package,
|
|
|
373 |
* if the package contains radioactive materials.
|
|
|
374 |
*/
|
|
|
375 |
public com.fedex.ship.stub.RadioactivityDetail getRadioactivityDetail() {
|
|
|
376 |
return radioactivityDetail;
|
|
|
377 |
}
|
|
|
378 |
|
|
|
379 |
|
|
|
380 |
/**
|
|
|
381 |
* Sets the radioactivityDetail value for this DangerousGoodsDetail.
|
|
|
382 |
*
|
|
|
383 |
* @param radioactivityDetail * Specifies the radioactivity detail for the current package,
|
|
|
384 |
* if the package contains radioactive materials.
|
|
|
385 |
*/
|
|
|
386 |
public void setRadioactivityDetail(com.fedex.ship.stub.RadioactivityDetail radioactivityDetail) {
|
|
|
387 |
this.radioactivityDetail = radioactivityDetail;
|
|
|
388 |
}
|
|
|
389 |
|
|
|
390 |
private java.lang.Object __equalsCalc = null;
|
|
|
391 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
392 |
if (!(obj instanceof DangerousGoodsDetail)) return false;
|
|
|
393 |
DangerousGoodsDetail other = (DangerousGoodsDetail) obj;
|
|
|
394 |
if (obj == null) return false;
|
|
|
395 |
if (this == obj) return true;
|
|
|
396 |
if (__equalsCalc != null) {
|
|
|
397 |
return (__equalsCalc == obj);
|
|
|
398 |
}
|
|
|
399 |
__equalsCalc = obj;
|
|
|
400 |
boolean _equals;
|
|
|
401 |
_equals = true &&
|
|
|
402 |
((this.accessibility==null && other.getAccessibility()==null) ||
|
|
|
403 |
(this.accessibility!=null &&
|
|
|
404 |
this.accessibility.equals(other.getAccessibility()))) &&
|
|
|
405 |
((this.cargoAircraftOnly==null && other.getCargoAircraftOnly()==null) ||
|
|
|
406 |
(this.cargoAircraftOnly!=null &&
|
|
|
407 |
this.cargoAircraftOnly.equals(other.getCargoAircraftOnly()))) &&
|
|
|
408 |
((this.options==null && other.getOptions()==null) ||
|
|
|
409 |
(this.options!=null &&
|
|
|
410 |
java.util.Arrays.equals(this.options, other.getOptions()))) &&
|
|
|
411 |
((this.packingOption==null && other.getPackingOption()==null) ||
|
|
|
412 |
(this.packingOption!=null &&
|
|
|
413 |
this.packingOption.equals(other.getPackingOption()))) &&
|
|
|
414 |
((this.referenceId==null && other.getReferenceId()==null) ||
|
|
|
415 |
(this.referenceId!=null &&
|
|
|
416 |
this.referenceId.equals(other.getReferenceId()))) &&
|
|
|
417 |
((this.containers==null && other.getContainers()==null) ||
|
|
|
418 |
(this.containers!=null &&
|
|
|
419 |
java.util.Arrays.equals(this.containers, other.getContainers()))) &&
|
|
|
420 |
((this.packaging==null && other.getPackaging()==null) ||
|
|
|
421 |
(this.packaging!=null &&
|
|
|
422 |
this.packaging.equals(other.getPackaging()))) &&
|
|
|
423 |
((this.signatory==null && other.getSignatory()==null) ||
|
|
|
424 |
(this.signatory!=null &&
|
|
|
425 |
this.signatory.equals(other.getSignatory()))) &&
|
|
|
426 |
((this.emergencyContactNumber==null && other.getEmergencyContactNumber()==null) ||
|
|
|
427 |
(this.emergencyContactNumber!=null &&
|
|
|
428 |
this.emergencyContactNumber.equals(other.getEmergencyContactNumber()))) &&
|
|
|
429 |
((this.offeror==null && other.getOfferor()==null) ||
|
|
|
430 |
(this.offeror!=null &&
|
|
|
431 |
this.offeror.equals(other.getOfferor()))) &&
|
|
|
432 |
((this.infectiousSubstanceResponsibleContact==null && other.getInfectiousSubstanceResponsibleContact()==null) ||
|
|
|
433 |
(this.infectiousSubstanceResponsibleContact!=null &&
|
|
|
434 |
this.infectiousSubstanceResponsibleContact.equals(other.getInfectiousSubstanceResponsibleContact()))) &&
|
|
|
435 |
((this.additionalHandling==null && other.getAdditionalHandling()==null) ||
|
|
|
436 |
(this.additionalHandling!=null &&
|
|
|
437 |
this.additionalHandling.equals(other.getAdditionalHandling()))) &&
|
|
|
438 |
((this.radioactivityDetail==null && other.getRadioactivityDetail()==null) ||
|
|
|
439 |
(this.radioactivityDetail!=null &&
|
|
|
440 |
this.radioactivityDetail.equals(other.getRadioactivityDetail())));
|
|
|
441 |
__equalsCalc = null;
|
|
|
442 |
return _equals;
|
|
|
443 |
}
|
|
|
444 |
|
|
|
445 |
private boolean __hashCodeCalc = false;
|
|
|
446 |
public synchronized int hashCode() {
|
|
|
447 |
if (__hashCodeCalc) {
|
|
|
448 |
return 0;
|
|
|
449 |
}
|
|
|
450 |
__hashCodeCalc = true;
|
|
|
451 |
int _hashCode = 1;
|
|
|
452 |
if (getAccessibility() != null) {
|
|
|
453 |
_hashCode += getAccessibility().hashCode();
|
|
|
454 |
}
|
|
|
455 |
if (getCargoAircraftOnly() != null) {
|
|
|
456 |
_hashCode += getCargoAircraftOnly().hashCode();
|
|
|
457 |
}
|
|
|
458 |
if (getOptions() != null) {
|
|
|
459 |
for (int i=0;
|
|
|
460 |
i<java.lang.reflect.Array.getLength(getOptions());
|
|
|
461 |
i++) {
|
|
|
462 |
java.lang.Object obj = java.lang.reflect.Array.get(getOptions(), i);
|
|
|
463 |
if (obj != null &&
|
|
|
464 |
!obj.getClass().isArray()) {
|
|
|
465 |
_hashCode += obj.hashCode();
|
|
|
466 |
}
|
|
|
467 |
}
|
|
|
468 |
}
|
|
|
469 |
if (getPackingOption() != null) {
|
|
|
470 |
_hashCode += getPackingOption().hashCode();
|
|
|
471 |
}
|
|
|
472 |
if (getReferenceId() != null) {
|
|
|
473 |
_hashCode += getReferenceId().hashCode();
|
|
|
474 |
}
|
|
|
475 |
if (getContainers() != null) {
|
|
|
476 |
for (int i=0;
|
|
|
477 |
i<java.lang.reflect.Array.getLength(getContainers());
|
|
|
478 |
i++) {
|
|
|
479 |
java.lang.Object obj = java.lang.reflect.Array.get(getContainers(), i);
|
|
|
480 |
if (obj != null &&
|
|
|
481 |
!obj.getClass().isArray()) {
|
|
|
482 |
_hashCode += obj.hashCode();
|
|
|
483 |
}
|
|
|
484 |
}
|
|
|
485 |
}
|
|
|
486 |
if (getPackaging() != null) {
|
|
|
487 |
_hashCode += getPackaging().hashCode();
|
|
|
488 |
}
|
|
|
489 |
if (getSignatory() != null) {
|
|
|
490 |
_hashCode += getSignatory().hashCode();
|
|
|
491 |
}
|
|
|
492 |
if (getEmergencyContactNumber() != null) {
|
|
|
493 |
_hashCode += getEmergencyContactNumber().hashCode();
|
|
|
494 |
}
|
|
|
495 |
if (getOfferor() != null) {
|
|
|
496 |
_hashCode += getOfferor().hashCode();
|
|
|
497 |
}
|
|
|
498 |
if (getInfectiousSubstanceResponsibleContact() != null) {
|
|
|
499 |
_hashCode += getInfectiousSubstanceResponsibleContact().hashCode();
|
|
|
500 |
}
|
|
|
501 |
if (getAdditionalHandling() != null) {
|
|
|
502 |
_hashCode += getAdditionalHandling().hashCode();
|
|
|
503 |
}
|
|
|
504 |
if (getRadioactivityDetail() != null) {
|
|
|
505 |
_hashCode += getRadioactivityDetail().hashCode();
|
|
|
506 |
}
|
|
|
507 |
__hashCodeCalc = false;
|
|
|
508 |
return _hashCode;
|
|
|
509 |
}
|
|
|
510 |
|
|
|
511 |
// Type metadata
|
|
|
512 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
513 |
new org.apache.axis.description.TypeDesc(DangerousGoodsDetail.class, true);
|
|
|
514 |
|
|
|
515 |
static {
|
|
|
516 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DangerousGoodsDetail"));
|
|
|
517 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
518 |
elemField.setFieldName("accessibility");
|
|
|
519 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Accessibility"));
|
|
|
520 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DangerousGoodsAccessibilityType"));
|
|
|
521 |
elemField.setMinOccurs(0);
|
|
|
522 |
elemField.setNillable(false);
|
|
|
523 |
typeDesc.addFieldDesc(elemField);
|
|
|
524 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
525 |
elemField.setFieldName("cargoAircraftOnly");
|
|
|
526 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CargoAircraftOnly"));
|
|
|
527 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
|
|
528 |
elemField.setMinOccurs(0);
|
|
|
529 |
elemField.setNillable(false);
|
|
|
530 |
typeDesc.addFieldDesc(elemField);
|
|
|
531 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
532 |
elemField.setFieldName("options");
|
|
|
533 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Options"));
|
|
|
534 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousCommodityOptionType"));
|
|
|
535 |
elemField.setMinOccurs(0);
|
|
|
536 |
elemField.setNillable(false);
|
|
|
537 |
elemField.setMaxOccursUnbounded(true);
|
|
|
538 |
typeDesc.addFieldDesc(elemField);
|
|
|
539 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
540 |
elemField.setFieldName("packingOption");
|
|
|
541 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "PackingOption"));
|
|
|
542 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DangerousGoodsPackingOptionType"));
|
|
|
543 |
elemField.setMinOccurs(0);
|
|
|
544 |
elemField.setNillable(false);
|
|
|
545 |
typeDesc.addFieldDesc(elemField);
|
|
|
546 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
547 |
elemField.setFieldName("referenceId");
|
|
|
548 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ReferenceId"));
|
|
|
549 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
550 |
elemField.setMinOccurs(0);
|
|
|
551 |
elemField.setNillable(false);
|
|
|
552 |
typeDesc.addFieldDesc(elemField);
|
|
|
553 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
554 |
elemField.setFieldName("containers");
|
|
|
555 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Containers"));
|
|
|
556 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DangerousGoodsContainer"));
|
|
|
557 |
elemField.setMinOccurs(0);
|
|
|
558 |
elemField.setNillable(false);
|
|
|
559 |
elemField.setMaxOccursUnbounded(true);
|
|
|
560 |
typeDesc.addFieldDesc(elemField);
|
|
|
561 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
562 |
elemField.setFieldName("packaging");
|
|
|
563 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Packaging"));
|
|
|
564 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HazardousCommodityPackagingDetail"));
|
|
|
565 |
elemField.setMinOccurs(0);
|
|
|
566 |
elemField.setNillable(false);
|
|
|
567 |
typeDesc.addFieldDesc(elemField);
|
|
|
568 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
569 |
elemField.setFieldName("signatory");
|
|
|
570 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Signatory"));
|
|
|
571 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DangerousGoodsSignatory"));
|
|
|
572 |
elemField.setMinOccurs(0);
|
|
|
573 |
elemField.setNillable(false);
|
|
|
574 |
typeDesc.addFieldDesc(elemField);
|
|
|
575 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
576 |
elemField.setFieldName("emergencyContactNumber");
|
|
|
577 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "EmergencyContactNumber"));
|
|
|
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 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
583 |
elemField.setFieldName("offeror");
|
|
|
584 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Offeror"));
|
|
|
585 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
586 |
elemField.setMinOccurs(0);
|
|
|
587 |
elemField.setNillable(false);
|
|
|
588 |
typeDesc.addFieldDesc(elemField);
|
|
|
589 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
590 |
elemField.setFieldName("infectiousSubstanceResponsibleContact");
|
|
|
591 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "InfectiousSubstanceResponsibleContact"));
|
|
|
592 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Contact"));
|
|
|
593 |
elemField.setMinOccurs(0);
|
|
|
594 |
elemField.setNillable(false);
|
|
|
595 |
typeDesc.addFieldDesc(elemField);
|
|
|
596 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
597 |
elemField.setFieldName("additionalHandling");
|
|
|
598 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "AdditionalHandling"));
|
|
|
599 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
600 |
elemField.setMinOccurs(0);
|
|
|
601 |
elemField.setNillable(false);
|
|
|
602 |
typeDesc.addFieldDesc(elemField);
|
|
|
603 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
604 |
elemField.setFieldName("radioactivityDetail");
|
|
|
605 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RadioactivityDetail"));
|
|
|
606 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RadioactivityDetail"));
|
|
|
607 |
elemField.setMinOccurs(0);
|
|
|
608 |
elemField.setNillable(false);
|
|
|
609 |
typeDesc.addFieldDesc(elemField);
|
|
|
610 |
}
|
|
|
611 |
|
|
|
612 |
/**
|
|
|
613 |
* Return type metadata object
|
|
|
614 |
*/
|
|
|
615 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
616 |
return typeDesc;
|
|
|
617 |
}
|
|
|
618 |
|
|
|
619 |
/**
|
|
|
620 |
* Get Custom Serializer
|
|
|
621 |
*/
|
|
|
622 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
623 |
java.lang.String mechType,
|
|
|
624 |
java.lang.Class _javaType,
|
|
|
625 |
javax.xml.namespace.QName _xmlType) {
|
|
|
626 |
return
|
|
|
627 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
628 |
_javaType, _xmlType, typeDesc);
|
|
|
629 |
}
|
|
|
630 |
|
|
|
631 |
/**
|
|
|
632 |
* Get Custom Deserializer
|
|
|
633 |
*/
|
|
|
634 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
635 |
java.lang.String mechType,
|
|
|
636 |
java.lang.Class _javaType,
|
|
|
637 |
javax.xml.namespace.QName _xmlType) {
|
|
|
638 |
return
|
|
|
639 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
640 |
_javaType, _xmlType, typeDesc);
|
|
|
641 |
}
|
|
|
642 |
|
|
|
643 |
}
|