| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* CreatePendingShipmentReply.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 |
* Reply to the Close Request transaction. The Close Reply bring back
|
|
|
13 |
* the ASCII data buffer which will be used to print the Close Manifest.
|
|
|
14 |
* The Manifest is essential at the time of pickup.
|
|
|
15 |
*/
|
|
|
16 |
public class CreatePendingShipmentReply implements java.io.Serializable {
|
|
|
17 |
/* Identifies the highest severity encountered when executing
|
|
|
18 |
* the request; in order from high to low: FAILURE, ERROR, WARNING, NOTE,
|
|
|
19 |
* SUCCESS. */
|
|
|
20 |
private com.fedex.ship.stub.NotificationSeverityType highestSeverity;
|
|
|
21 |
|
|
|
22 |
/* The descriptive data detailing the status of a sumbitted transaction. */
|
|
|
23 |
private com.fedex.ship.stub.Notification[] notifications;
|
|
|
24 |
|
|
|
25 |
/* Descriptive data that governs data payload language/translations.
|
|
|
26 |
* The TransactionDetail from the request is echoed back to the caller
|
|
|
27 |
* in the corresponding reply. */
|
|
|
28 |
private com.fedex.ship.stub.TransactionDetail transactionDetail;
|
|
|
29 |
|
|
|
30 |
/* Identifies the version/level of a service operation expected
|
|
|
31 |
* by a caller (in each request) and performed by the callee (in each
|
|
|
32 |
* reply). */
|
|
|
33 |
private com.fedex.ship.stub.VersionId version;
|
|
|
34 |
|
|
|
35 |
/* The reply payload. All of the returned information about this
|
|
|
36 |
* shipment/package. */
|
|
|
37 |
private com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail;
|
|
|
38 |
|
|
|
39 |
public CreatePendingShipmentReply() {
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public CreatePendingShipmentReply(
|
|
|
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 |
com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail) {
|
|
|
48 |
this.highestSeverity = highestSeverity;
|
|
|
49 |
this.notifications = notifications;
|
|
|
50 |
this.transactionDetail = transactionDetail;
|
|
|
51 |
this.version = version;
|
|
|
52 |
this.completedShipmentDetail = completedShipmentDetail;
|
|
|
53 |
}
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
/**
|
|
|
57 |
* Gets the highestSeverity value for this CreatePendingShipmentReply.
|
|
|
58 |
*
|
|
|
59 |
* @return highestSeverity * Identifies the highest severity encountered when executing
|
|
|
60 |
* the request; in order from high to low: FAILURE, ERROR, WARNING, NOTE,
|
|
|
61 |
* SUCCESS.
|
|
|
62 |
*/
|
|
|
63 |
public com.fedex.ship.stub.NotificationSeverityType getHighestSeverity() {
|
|
|
64 |
return highestSeverity;
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
/**
|
|
|
69 |
* Sets the highestSeverity value for this CreatePendingShipmentReply.
|
|
|
70 |
*
|
|
|
71 |
* @param highestSeverity * Identifies the highest severity encountered when executing
|
|
|
72 |
* the request; in order from high to low: FAILURE, ERROR, WARNING, NOTE,
|
|
|
73 |
* SUCCESS.
|
|
|
74 |
*/
|
|
|
75 |
public void setHighestSeverity(com.fedex.ship.stub.NotificationSeverityType highestSeverity) {
|
|
|
76 |
this.highestSeverity = highestSeverity;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
/**
|
|
|
81 |
* Gets the notifications value for this CreatePendingShipmentReply.
|
|
|
82 |
*
|
|
|
83 |
* @return notifications * The descriptive data detailing the status of a sumbitted transaction.
|
|
|
84 |
*/
|
|
|
85 |
public com.fedex.ship.stub.Notification[] getNotifications() {
|
|
|
86 |
return notifications;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
/**
|
|
|
91 |
* Sets the notifications value for this CreatePendingShipmentReply.
|
|
|
92 |
*
|
|
|
93 |
* @param notifications * The descriptive data detailing the status of a sumbitted transaction.
|
|
|
94 |
*/
|
|
|
95 |
public void setNotifications(com.fedex.ship.stub.Notification[] notifications) {
|
|
|
96 |
this.notifications = notifications;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
public com.fedex.ship.stub.Notification getNotifications(int i) {
|
|
|
100 |
return this.notifications[i];
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
public void setNotifications(int i, com.fedex.ship.stub.Notification _value) {
|
|
|
104 |
this.notifications[i] = _value;
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
/**
|
|
|
109 |
* Gets the transactionDetail value for this CreatePendingShipmentReply.
|
|
|
110 |
*
|
|
|
111 |
* @return transactionDetail * Descriptive data that governs data payload language/translations.
|
|
|
112 |
* The TransactionDetail from the request is echoed back to the caller
|
|
|
113 |
* in the corresponding reply.
|
|
|
114 |
*/
|
|
|
115 |
public com.fedex.ship.stub.TransactionDetail getTransactionDetail() {
|
|
|
116 |
return transactionDetail;
|
|
|
117 |
}
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
/**
|
|
|
121 |
* Sets the transactionDetail value for this CreatePendingShipmentReply.
|
|
|
122 |
*
|
|
|
123 |
* @param transactionDetail * Descriptive data that governs data payload language/translations.
|
|
|
124 |
* The TransactionDetail from the request is echoed back to the caller
|
|
|
125 |
* in the corresponding reply.
|
|
|
126 |
*/
|
|
|
127 |
public void setTransactionDetail(com.fedex.ship.stub.TransactionDetail transactionDetail) {
|
|
|
128 |
this.transactionDetail = transactionDetail;
|
|
|
129 |
}
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
/**
|
|
|
133 |
* Gets the version value for this CreatePendingShipmentReply.
|
|
|
134 |
*
|
|
|
135 |
* @return version * Identifies the version/level of a service operation expected
|
|
|
136 |
* by a caller (in each request) and performed by the callee (in each
|
|
|
137 |
* reply).
|
|
|
138 |
*/
|
|
|
139 |
public com.fedex.ship.stub.VersionId getVersion() {
|
|
|
140 |
return version;
|
|
|
141 |
}
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
/**
|
|
|
145 |
* Sets the version value for this CreatePendingShipmentReply.
|
|
|
146 |
*
|
|
|
147 |
* @param version * Identifies the version/level of a service operation expected
|
|
|
148 |
* by a caller (in each request) and performed by the callee (in each
|
|
|
149 |
* reply).
|
|
|
150 |
*/
|
|
|
151 |
public void setVersion(com.fedex.ship.stub.VersionId version) {
|
|
|
152 |
this.version = version;
|
|
|
153 |
}
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
/**
|
|
|
157 |
* Gets the completedShipmentDetail value for this CreatePendingShipmentReply.
|
|
|
158 |
*
|
|
|
159 |
* @return completedShipmentDetail * The reply payload. All of the returned information about this
|
|
|
160 |
* shipment/package.
|
|
|
161 |
*/
|
|
|
162 |
public com.fedex.ship.stub.CompletedShipmentDetail getCompletedShipmentDetail() {
|
|
|
163 |
return completedShipmentDetail;
|
|
|
164 |
}
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
/**
|
|
|
168 |
* Sets the completedShipmentDetail value for this CreatePendingShipmentReply.
|
|
|
169 |
*
|
|
|
170 |
* @param completedShipmentDetail * The reply payload. All of the returned information about this
|
|
|
171 |
* shipment/package.
|
|
|
172 |
*/
|
|
|
173 |
public void setCompletedShipmentDetail(com.fedex.ship.stub.CompletedShipmentDetail completedShipmentDetail) {
|
|
|
174 |
this.completedShipmentDetail = completedShipmentDetail;
|
|
|
175 |
}
|
|
|
176 |
|
|
|
177 |
private java.lang.Object __equalsCalc = null;
|
|
|
178 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
179 |
if (!(obj instanceof CreatePendingShipmentReply)) return false;
|
|
|
180 |
CreatePendingShipmentReply other = (CreatePendingShipmentReply) obj;
|
|
|
181 |
if (obj == null) return false;
|
|
|
182 |
if (this == obj) return true;
|
|
|
183 |
if (__equalsCalc != null) {
|
|
|
184 |
return (__equalsCalc == obj);
|
|
|
185 |
}
|
|
|
186 |
__equalsCalc = obj;
|
|
|
187 |
boolean _equals;
|
|
|
188 |
_equals = true &&
|
|
|
189 |
((this.highestSeverity==null && other.getHighestSeverity()==null) ||
|
|
|
190 |
(this.highestSeverity!=null &&
|
|
|
191 |
this.highestSeverity.equals(other.getHighestSeverity()))) &&
|
|
|
192 |
((this.notifications==null && other.getNotifications()==null) ||
|
|
|
193 |
(this.notifications!=null &&
|
|
|
194 |
java.util.Arrays.equals(this.notifications, other.getNotifications()))) &&
|
|
|
195 |
((this.transactionDetail==null && other.getTransactionDetail()==null) ||
|
|
|
196 |
(this.transactionDetail!=null &&
|
|
|
197 |
this.transactionDetail.equals(other.getTransactionDetail()))) &&
|
|
|
198 |
((this.version==null && other.getVersion()==null) ||
|
|
|
199 |
(this.version!=null &&
|
|
|
200 |
this.version.equals(other.getVersion()))) &&
|
|
|
201 |
((this.completedShipmentDetail==null && other.getCompletedShipmentDetail()==null) ||
|
|
|
202 |
(this.completedShipmentDetail!=null &&
|
|
|
203 |
this.completedShipmentDetail.equals(other.getCompletedShipmentDetail())));
|
|
|
204 |
__equalsCalc = null;
|
|
|
205 |
return _equals;
|
|
|
206 |
}
|
|
|
207 |
|
|
|
208 |
private boolean __hashCodeCalc = false;
|
|
|
209 |
public synchronized int hashCode() {
|
|
|
210 |
if (__hashCodeCalc) {
|
|
|
211 |
return 0;
|
|
|
212 |
}
|
|
|
213 |
__hashCodeCalc = true;
|
|
|
214 |
int _hashCode = 1;
|
|
|
215 |
if (getHighestSeverity() != null) {
|
|
|
216 |
_hashCode += getHighestSeverity().hashCode();
|
|
|
217 |
}
|
|
|
218 |
if (getNotifications() != null) {
|
|
|
219 |
for (int i=0;
|
|
|
220 |
i<java.lang.reflect.Array.getLength(getNotifications());
|
|
|
221 |
i++) {
|
|
|
222 |
java.lang.Object obj = java.lang.reflect.Array.get(getNotifications(), i);
|
|
|
223 |
if (obj != null &&
|
|
|
224 |
!obj.getClass().isArray()) {
|
|
|
225 |
_hashCode += obj.hashCode();
|
|
|
226 |
}
|
|
|
227 |
}
|
|
|
228 |
}
|
|
|
229 |
if (getTransactionDetail() != null) {
|
|
|
230 |
_hashCode += getTransactionDetail().hashCode();
|
|
|
231 |
}
|
|
|
232 |
if (getVersion() != null) {
|
|
|
233 |
_hashCode += getVersion().hashCode();
|
|
|
234 |
}
|
|
|
235 |
if (getCompletedShipmentDetail() != null) {
|
|
|
236 |
_hashCode += getCompletedShipmentDetail().hashCode();
|
|
|
237 |
}
|
|
|
238 |
__hashCodeCalc = false;
|
|
|
239 |
return _hashCode;
|
|
|
240 |
}
|
|
|
241 |
|
|
|
242 |
// Type metadata
|
|
|
243 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
244 |
new org.apache.axis.description.TypeDesc(CreatePendingShipmentReply.class, true);
|
|
|
245 |
|
|
|
246 |
static {
|
|
|
247 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CreatePendingShipmentReply"));
|
|
|
248 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
249 |
elemField.setFieldName("highestSeverity");
|
|
|
250 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "HighestSeverity"));
|
|
|
251 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "NotificationSeverityType"));
|
|
|
252 |
elemField.setNillable(false);
|
|
|
253 |
typeDesc.addFieldDesc(elemField);
|
|
|
254 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
255 |
elemField.setFieldName("notifications");
|
|
|
256 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Notifications"));
|
|
|
257 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Notification"));
|
|
|
258 |
elemField.setNillable(false);
|
|
|
259 |
elemField.setMaxOccursUnbounded(true);
|
|
|
260 |
typeDesc.addFieldDesc(elemField);
|
|
|
261 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
262 |
elemField.setFieldName("transactionDetail");
|
|
|
263 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TransactionDetail"));
|
|
|
264 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TransactionDetail"));
|
|
|
265 |
elemField.setMinOccurs(0);
|
|
|
266 |
elemField.setNillable(false);
|
|
|
267 |
typeDesc.addFieldDesc(elemField);
|
|
|
268 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
269 |
elemField.setFieldName("version");
|
|
|
270 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Version"));
|
|
|
271 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "VersionId"));
|
|
|
272 |
elemField.setNillable(false);
|
|
|
273 |
typeDesc.addFieldDesc(elemField);
|
|
|
274 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
275 |
elemField.setFieldName("completedShipmentDetail");
|
|
|
276 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedShipmentDetail"));
|
|
|
277 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedShipmentDetail"));
|
|
|
278 |
elemField.setMinOccurs(0);
|
|
|
279 |
elemField.setNillable(false);
|
|
|
280 |
typeDesc.addFieldDesc(elemField);
|
|
|
281 |
}
|
|
|
282 |
|
|
|
283 |
/**
|
|
|
284 |
* Return type metadata object
|
|
|
285 |
*/
|
|
|
286 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
287 |
return typeDesc;
|
|
|
288 |
}
|
|
|
289 |
|
|
|
290 |
/**
|
|
|
291 |
* Get Custom Serializer
|
|
|
292 |
*/
|
|
|
293 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
294 |
java.lang.String mechType,
|
|
|
295 |
java.lang.Class _javaType,
|
|
|
296 |
javax.xml.namespace.QName _xmlType) {
|
|
|
297 |
return
|
|
|
298 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
299 |
_javaType, _xmlType, typeDesc);
|
|
|
300 |
}
|
|
|
301 |
|
|
|
302 |
/**
|
|
|
303 |
* Get Custom Deserializer
|
|
|
304 |
*/
|
|
|
305 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
306 |
java.lang.String mechType,
|
|
|
307 |
java.lang.Class _javaType,
|
|
|
308 |
javax.xml.namespace.QName _xmlType) {
|
|
|
309 |
return
|
|
|
310 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
311 |
_javaType, _xmlType, typeDesc);
|
|
|
312 |
}
|
|
|
313 |
|
|
|
314 |
}
|