| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* ProcessShipmentReply.java
|
|
|
3 |
*
|
|
|
4 |
* This file was auto-generated from WSDL
|
|
|
5 |
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
package com.fedex.ship.stub;
|
|
|
9 |
|
|
|
10 |
public class ProcessShipmentReply implements java.io.Serializable {
|
|
|
11 |
/* This indicates the highest level of severity of all the notifications
|
|
|
12 |
* returned in this reply */
|
|
|
13 |
private com.fedex.ship.stub.NotificationSeverityType highestSeverity;
|
|
|
14 |
|
|
|
15 |
/* The descriptive data regarding the results of the submitted
|
|
|
16 |
* transaction. */
|
|
|
17 |
private com.fedex.ship.stub.Notification[] notifications;
|
|
|
18 |
|
|
|
19 |
/* Descriptive data for this customer transaction. The TransactionDetail
|
|
|
20 |
* from the request is echoed back to the caller in the corresponding
|
|
|
21 |
* reply. */
|
|
|
22 |
private com.fedex.ship.stub.TransactionDetail transactionDetail;
|
|
|
23 |
|
|
|
24 |
/* Identifies the version/level of a service operation expected
|
|
|
25 |
* by a caller (in each request) and performed by the callee (in each
|
|
|
26 |
* reply). */
|
|
|
27 |
private com.fedex.ship.stub.VersionId version;
|
|
|
28 |
|
|
|
29 |
private java.lang.String jobId;
|
|
|
30 |
|
|
|
31 |
/* The reply payload. All of the returned information about this
|
|
|
32 |
* shipment/package. */
|
|
|
33 |
private com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail;
|
|
|
34 |
|
|
|
35 |
/* Empty unless error label behavior is PACKAGE_ERROR_LABELS and
|
|
|
36 |
* one or more errors occured during transaction processing. */
|
|
|
37 |
private com.fedex.ship.stub.ShippingDocument[] errorLabels;
|
|
|
38 |
|
|
|
39 |
public ProcessShipmentReply() {
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public ProcessShipmentReply(
|
|
|
43 |
com.fedex.ship.stub.NotificationSeverityType highestSeverity,
|
|
|
44 |
com.fedex.ship.stub.Notification[] notifications,
|
|
|
45 |
com.fedex.ship.stub.TransactionDetail transactionDetail,
|
|
|
46 |
com.fedex.ship.stub.VersionId version,
|
|
|
47 |
java.lang.String jobId,
|
|
|
48 |
com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail,
|
|
|
49 |
com.fedex.ship.stub.ShippingDocument[] errorLabels) {
|
|
|
50 |
this.highestSeverity = highestSeverity;
|
|
|
51 |
this.notifications = notifications;
|
|
|
52 |
this.transactionDetail = transactionDetail;
|
|
|
53 |
this.version = version;
|
|
|
54 |
this.jobId = jobId;
|
|
|
55 |
this.completedShipmentDetail = completedShipmentDetail;
|
|
|
56 |
this.errorLabels = errorLabels;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/**
|
|
|
61 |
* Gets the highestSeverity value for this ProcessShipmentReply.
|
|
|
62 |
*
|
|
|
63 |
* @return highestSeverity * This indicates the highest level of severity of all the notifications
|
|
|
64 |
* returned in this reply
|
|
|
65 |
*/
|
|
|
66 |
public com.fedex.ship.stub.NotificationSeverityType getHighestSeverity() {
|
|
|
67 |
return highestSeverity;
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
/**
|
|
|
72 |
* Sets the highestSeverity value for this ProcessShipmentReply.
|
|
|
73 |
*
|
|
|
74 |
* @param highestSeverity * This indicates the highest level of severity of all the notifications
|
|
|
75 |
* returned in this reply
|
|
|
76 |
*/
|
|
|
77 |
public void setHighestSeverity(com.fedex.ship.stub.NotificationSeverityType highestSeverity) {
|
|
|
78 |
this.highestSeverity = highestSeverity;
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
/**
|
|
|
83 |
* Gets the notifications value for this ProcessShipmentReply.
|
|
|
84 |
*
|
|
|
85 |
* @return notifications * The descriptive data regarding the results of the submitted
|
|
|
86 |
* transaction.
|
|
|
87 |
*/
|
|
|
88 |
public com.fedex.ship.stub.Notification[] getNotifications() {
|
|
|
89 |
return notifications;
|
|
|
90 |
}
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
/**
|
|
|
94 |
* Sets the notifications value for this ProcessShipmentReply.
|
|
|
95 |
*
|
|
|
96 |
* @param notifications * The descriptive data regarding the results of the submitted
|
|
|
97 |
* transaction.
|
|
|
98 |
*/
|
|
|
99 |
public void setNotifications(com.fedex.ship.stub.Notification[] notifications) {
|
|
|
100 |
this.notifications = notifications;
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
public com.fedex.ship.stub.Notification getNotifications(int i) {
|
|
|
104 |
return this.notifications[i];
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
public void setNotifications(int i, com.fedex.ship.stub.Notification _value) {
|
|
|
108 |
this.notifications[i] = _value;
|
|
|
109 |
}
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
/**
|
|
|
113 |
* Gets the transactionDetail value for this ProcessShipmentReply.
|
|
|
114 |
*
|
|
|
115 |
* @return transactionDetail * Descriptive data for this customer transaction. The TransactionDetail
|
|
|
116 |
* from the request is echoed back to the caller in the corresponding
|
|
|
117 |
* reply.
|
|
|
118 |
*/
|
|
|
119 |
public com.fedex.ship.stub.TransactionDetail getTransactionDetail() {
|
|
|
120 |
return transactionDetail;
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
/**
|
|
|
125 |
* Sets the transactionDetail value for this ProcessShipmentReply.
|
|
|
126 |
*
|
|
|
127 |
* @param transactionDetail * Descriptive data for this customer transaction. The TransactionDetail
|
|
|
128 |
* from the request is echoed back to the caller in the corresponding
|
|
|
129 |
* reply.
|
|
|
130 |
*/
|
|
|
131 |
public void setTransactionDetail(com.fedex.ship.stub.TransactionDetail transactionDetail) {
|
|
|
132 |
this.transactionDetail = transactionDetail;
|
|
|
133 |
}
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
/**
|
|
|
137 |
* Gets the version value for this ProcessShipmentReply.
|
|
|
138 |
*
|
|
|
139 |
* @return version * Identifies the version/level of a service operation expected
|
|
|
140 |
* by a caller (in each request) and performed by the callee (in each
|
|
|
141 |
* reply).
|
|
|
142 |
*/
|
|
|
143 |
public com.fedex.ship.stub.VersionId getVersion() {
|
|
|
144 |
return version;
|
|
|
145 |
}
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
/**
|
|
|
149 |
* Sets the version value for this ProcessShipmentReply.
|
|
|
150 |
*
|
|
|
151 |
* @param version * Identifies the version/level of a service operation expected
|
|
|
152 |
* by a caller (in each request) and performed by the callee (in each
|
|
|
153 |
* reply).
|
|
|
154 |
*/
|
|
|
155 |
public void setVersion(com.fedex.ship.stub.VersionId version) {
|
|
|
156 |
this.version = version;
|
|
|
157 |
}
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
/**
|
|
|
161 |
* Gets the jobId value for this ProcessShipmentReply.
|
|
|
162 |
*
|
|
|
163 |
* @return jobId
|
|
|
164 |
*/
|
|
|
165 |
public java.lang.String getJobId() {
|
|
|
166 |
return jobId;
|
|
|
167 |
}
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
/**
|
|
|
171 |
* Sets the jobId value for this ProcessShipmentReply.
|
|
|
172 |
*
|
|
|
173 |
* @param jobId
|
|
|
174 |
*/
|
|
|
175 |
public void setJobId(java.lang.String jobId) {
|
|
|
176 |
this.jobId = jobId;
|
|
|
177 |
}
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
/**
|
|
|
181 |
* Gets the completedShipmentDetail value for this ProcessShipmentReply.
|
|
|
182 |
*
|
|
|
183 |
* @return completedShipmentDetail * The reply payload. All of the returned information about this
|
|
|
184 |
* shipment/package.
|
|
|
185 |
*/
|
|
|
186 |
public com.fedex.ship.stub.CompletedShipmentDetail getCompletedShipmentDetail() {
|
|
|
187 |
return completedShipmentDetail;
|
|
|
188 |
}
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
/**
|
|
|
192 |
* Sets the completedShipmentDetail value for this ProcessShipmentReply.
|
|
|
193 |
*
|
|
|
194 |
* @param completedShipmentDetail * The reply payload. All of the returned information about this
|
|
|
195 |
* shipment/package.
|
|
|
196 |
*/
|
|
|
197 |
public void setCompletedShipmentDetail(com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail) {
|
|
|
198 |
this.completedShipmentDetail = completedShipmentDetail;
|
|
|
199 |
}
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
/**
|
|
|
203 |
* Gets the errorLabels value for this ProcessShipmentReply.
|
|
|
204 |
*
|
|
|
205 |
* @return errorLabels * Empty unless error label behavior is PACKAGE_ERROR_LABELS and
|
|
|
206 |
* one or more errors occured during transaction processing.
|
|
|
207 |
*/
|
|
|
208 |
public com.fedex.ship.stub.ShippingDocument[] getErrorLabels() {
|
|
|
209 |
return errorLabels;
|
|
|
210 |
}
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
/**
|
|
|
214 |
* Sets the errorLabels value for this ProcessShipmentReply.
|
|
|
215 |
*
|
|
|
216 |
* @param errorLabels * Empty unless error label behavior is PACKAGE_ERROR_LABELS and
|
|
|
217 |
* one or more errors occured during transaction processing.
|
|
|
218 |
*/
|
|
|
219 |
public void setErrorLabels(com.fedex.ship.stub.ShippingDocument[] errorLabels) {
|
|
|
220 |
this.errorLabels = errorLabels;
|
|
|
221 |
}
|
|
|
222 |
|
|
|
223 |
public com.fedex.ship.stub.ShippingDocument getErrorLabels(int i) {
|
|
|
224 |
return this.errorLabels[i];
|
|
|
225 |
}
|
|
|
226 |
|
|
|
227 |
public void setErrorLabels(int i, com.fedex.ship.stub.ShippingDocument _value) {
|
|
|
228 |
this.errorLabels[i] = _value;
|
|
|
229 |
}
|
|
|
230 |
|
|
|
231 |
private java.lang.Object __equalsCalc = null;
|
|
|
232 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
233 |
if (!(obj instanceof ProcessShipmentReply)) return false;
|
|
|
234 |
ProcessShipmentReply other = (ProcessShipmentReply) obj;
|
|
|
235 |
if (obj == null) return false;
|
|
|
236 |
if (this == obj) return true;
|
|
|
237 |
if (__equalsCalc != null) {
|
|
|
238 |
return (__equalsCalc == obj);
|
|
|
239 |
}
|
|
|
240 |
__equalsCalc = obj;
|
|
|
241 |
boolean _equals;
|
|
|
242 |
_equals = true &&
|
|
|
243 |
((this.highestSeverity==null && other.getHighestSeverity()==null) ||
|
|
|
244 |
(this.highestSeverity!=null &&
|
|
|
245 |
this.highestSeverity.equals(other.getHighestSeverity()))) &&
|
|
|
246 |
((this.notifications==null && other.getNotifications()==null) ||
|
|
|
247 |
(this.notifications!=null &&
|
|
|
248 |
java.util.Arrays.equals(this.notifications, other.getNotifications()))) &&
|
|
|
249 |
((this.transactionDetail==null && other.getTransactionDetail()==null) ||
|
|
|
250 |
(this.transactionDetail!=null &&
|
|
|
251 |
this.transactionDetail.equals(other.getTransactionDetail()))) &&
|
|
|
252 |
((this.version==null && other.getVersion()==null) ||
|
|
|
253 |
(this.version!=null &&
|
|
|
254 |
this.version.equals(other.getVersion()))) &&
|
|
|
255 |
((this.jobId==null && other.getJobId()==null) ||
|
|
|
256 |
(this.jobId!=null &&
|
|
|
257 |
this.jobId.equals(other.getJobId()))) &&
|
|
|
258 |
((this.completedShipmentDetail==null && other.getCompletedShipmentDetail()==null) ||
|
|
|
259 |
(this.completedShipmentDetail!=null &&
|
|
|
260 |
this.completedShipmentDetail.equals(other.getCompletedShipmentDetail()))) &&
|
|
|
261 |
((this.errorLabels==null && other.getErrorLabels()==null) ||
|
|
|
262 |
(this.errorLabels!=null &&
|
|
|
263 |
java.util.Arrays.equals(this.errorLabels, other.getErrorLabels())));
|
|
|
264 |
__equalsCalc = null;
|
|
|
265 |
return _equals;
|
|
|
266 |
}
|
|
|
267 |
|
|
|
268 |
private boolean __hashCodeCalc = false;
|
|
|
269 |
public synchronized int hashCode() {
|
|
|
270 |
if (__hashCodeCalc) {
|
|
|
271 |
return 0;
|
|
|
272 |
}
|
|
|
273 |
__hashCodeCalc = true;
|
|
|
274 |
int _hashCode = 1;
|
|
|
275 |
if (getHighestSeverity() != null) {
|
|
|
276 |
_hashCode += getHighestSeverity().hashCode();
|
|
|
277 |
}
|
|
|
278 |
if (getNotifications() != null) {
|
|
|
279 |
for (int i=0;
|
|
|
280 |
i<java.lang.reflect.Array.getLength(getNotifications());
|
|
|
281 |
i++) {
|
|
|
282 |
java.lang.Object obj = java.lang.reflect.Array.get(getNotifications(), i);
|
|
|
283 |
if (obj != null &&
|
|
|
284 |
!obj.getClass().isArray()) {
|
|
|
285 |
_hashCode += obj.hashCode();
|
|
|
286 |
}
|
|
|
287 |
}
|
|
|
288 |
}
|
|
|
289 |
if (getTransactionDetail() != null) {
|
|
|
290 |
_hashCode += getTransactionDetail().hashCode();
|
|
|
291 |
}
|
|
|
292 |
if (getVersion() != null) {
|
|
|
293 |
_hashCode += getVersion().hashCode();
|
|
|
294 |
}
|
|
|
295 |
if (getJobId() != null) {
|
|
|
296 |
_hashCode += getJobId().hashCode();
|
|
|
297 |
}
|
|
|
298 |
if (getCompletedShipmentDetail() != null) {
|
|
|
299 |
_hashCode += getCompletedShipmentDetail().hashCode();
|
|
|
300 |
}
|
|
|
301 |
if (getErrorLabels() != null) {
|
|
|
302 |
for (int i=0;
|
|
|
303 |
i<java.lang.reflect.Array.getLength(getErrorLabels());
|
|
|
304 |
i++) {
|
|
|
305 |
java.lang.Object obj = java.lang.reflect.Array.get(getErrorLabels(), i);
|
|
|
306 |
if (obj != null &&
|
|
|
307 |
!obj.getClass().isArray()) {
|
|
|
308 |
_hashCode += obj.hashCode();
|
|
|
309 |
}
|
|
|
310 |
}
|
|
|
311 |
}
|
|
|
312 |
__hashCodeCalc = false;
|
|
|
313 |
return _hashCode;
|
|
|
314 |
}
|
|
|
315 |
|
|
|
316 |
// Type metadata
|
|
|
317 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
318 |
new org.apache.axis.description.TypeDesc(ProcessShipmentReply.class, true);
|
|
|
319 |
|
|
|
320 |
static {
|
|
|
321 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ProcessShipmentReply"));
|
|
|
322 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
323 |
elemField.setFieldName("highestSeverity");
|
|
|
324 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HighestSeverity"));
|
|
|
325 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "NotificationSeverityType"));
|
|
|
326 |
elemField.setNillable(false);
|
|
|
327 |
typeDesc.addFieldDesc(elemField);
|
|
|
328 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
329 |
elemField.setFieldName("notifications");
|
|
|
330 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Notifications"));
|
|
|
331 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Notification"));
|
|
|
332 |
elemField.setNillable(false);
|
|
|
333 |
elemField.setMaxOccursUnbounded(true);
|
|
|
334 |
typeDesc.addFieldDesc(elemField);
|
|
|
335 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
336 |
elemField.setFieldName("transactionDetail");
|
|
|
337 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TransactionDetail"));
|
|
|
338 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TransactionDetail"));
|
|
|
339 |
elemField.setMinOccurs(0);
|
|
|
340 |
elemField.setNillable(false);
|
|
|
341 |
typeDesc.addFieldDesc(elemField);
|
|
|
342 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
343 |
elemField.setFieldName("version");
|
|
|
344 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Version"));
|
|
|
345 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VersionId"));
|
|
|
346 |
elemField.setNillable(false);
|
|
|
347 |
typeDesc.addFieldDesc(elemField);
|
|
|
348 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
349 |
elemField.setFieldName("jobId");
|
|
|
350 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "JobId"));
|
|
|
351 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
352 |
elemField.setMinOccurs(0);
|
|
|
353 |
elemField.setNillable(false);
|
|
|
354 |
typeDesc.addFieldDesc(elemField);
|
|
|
355 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
356 |
elemField.setFieldName("completedShipmentDetail");
|
|
|
357 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedShipmentDetail"));
|
|
|
358 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedShipmentDetail"));
|
|
|
359 |
elemField.setMinOccurs(0);
|
|
|
360 |
elemField.setNillable(false);
|
|
|
361 |
typeDesc.addFieldDesc(elemField);
|
|
|
362 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
363 |
elemField.setFieldName("errorLabels");
|
|
|
364 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ErrorLabels"));
|
|
|
365 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocument"));
|
|
|
366 |
elemField.setMinOccurs(0);
|
|
|
367 |
elemField.setNillable(false);
|
|
|
368 |
elemField.setMaxOccursUnbounded(true);
|
|
|
369 |
typeDesc.addFieldDesc(elemField);
|
|
|
370 |
}
|
|
|
371 |
|
|
|
372 |
/**
|
|
|
373 |
* Return type metadata object
|
|
|
374 |
*/
|
|
|
375 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
376 |
return typeDesc;
|
|
|
377 |
}
|
|
|
378 |
|
|
|
379 |
/**
|
|
|
380 |
* Get Custom Serializer
|
|
|
381 |
*/
|
|
|
382 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
383 |
java.lang.String mechType,
|
|
|
384 |
java.lang.Class _javaType,
|
|
|
385 |
javax.xml.namespace.QName _xmlType) {
|
|
|
386 |
return
|
|
|
387 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
388 |
_javaType, _xmlType, typeDesc);
|
|
|
389 |
}
|
|
|
390 |
|
|
|
391 |
/**
|
|
|
392 |
* Get Custom Deserializer
|
|
|
393 |
*/
|
|
|
394 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
395 |
java.lang.String mechType,
|
|
|
396 |
java.lang.Class _javaType,
|
|
|
397 |
javax.xml.namespace.QName _xmlType) {
|
|
|
398 |
return
|
|
|
399 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
400 |
_javaType, _xmlType, typeDesc);
|
|
|
401 |
}
|
|
|
402 |
|
|
|
403 |
}
|