| Line 8... |
Line 8... |
| 8 |
package com.aramex.stub;
|
8 |
package com.aramex.stub;
|
| 9 |
|
9 |
|
| 10 |
public class PickupCancelationResponse implements java.io.Serializable {
|
10 |
public class PickupCancelationResponse implements java.io.Serializable {
|
| 11 |
private com.aramex.stub.Transaction transaction;
|
11 |
private com.aramex.stub.Transaction transaction;
|
| 12 |
|
12 |
|
| 13 |
private com.aramex.stub.ArrayOfNotification notifications;
|
13 |
private com.aramex.stub.Notification[] notifications;
|
| 14 |
|
14 |
|
| 15 |
private java.lang.Boolean hasErrors;
|
15 |
private java.lang.Boolean hasErrors;
|
| 16 |
|
16 |
|
| 17 |
private java.lang.String message;
|
17 |
private java.lang.String message;
|
| 18 |
|
18 |
|
| 19 |
public PickupCancelationResponse() {
|
19 |
public PickupCancelationResponse() {
|
| 20 |
}
|
20 |
}
|
| 21 |
|
21 |
|
| 22 |
public PickupCancelationResponse(
|
22 |
public PickupCancelationResponse(
|
| 23 |
com.aramex.stub.Transaction transaction,
|
23 |
com.aramex.stub.Transaction transaction,
|
| 24 |
com.aramex.stub.ArrayOfNotification notifications,
|
24 |
com.aramex.stub.Notification[] notifications,
|
| 25 |
java.lang.Boolean hasErrors,
|
25 |
java.lang.Boolean hasErrors,
|
| 26 |
java.lang.String message) {
|
26 |
java.lang.String message) {
|
| 27 |
this.transaction = transaction;
|
27 |
this.transaction = transaction;
|
| 28 |
this.notifications = notifications;
|
28 |
this.notifications = notifications;
|
| 29 |
this.hasErrors = hasErrors;
|
29 |
this.hasErrors = hasErrors;
|
| Line 54... |
Line 54... |
| 54 |
/**
|
54 |
/**
|
| 55 |
* Gets the notifications value for this PickupCancelationResponse.
|
55 |
* Gets the notifications value for this PickupCancelationResponse.
|
| 56 |
*
|
56 |
*
|
| 57 |
* @return notifications
|
57 |
* @return notifications
|
| 58 |
*/
|
58 |
*/
|
| 59 |
public com.aramex.stub.ArrayOfNotification getNotifications() {
|
59 |
public com.aramex.stub.Notification[] getNotifications() {
|
| 60 |
return notifications;
|
60 |
return notifications;
|
| 61 |
}
|
61 |
}
|
| 62 |
|
62 |
|
| 63 |
|
63 |
|
| 64 |
/**
|
64 |
/**
|
| 65 |
* Sets the notifications value for this PickupCancelationResponse.
|
65 |
* Sets the notifications value for this PickupCancelationResponse.
|
| 66 |
*
|
66 |
*
|
| 67 |
* @param notifications
|
67 |
* @param notifications
|
| 68 |
*/
|
68 |
*/
|
| 69 |
public void setNotifications(com.aramex.stub.ArrayOfNotification notifications) {
|
69 |
public void setNotifications(com.aramex.stub.Notification[] notifications) {
|
| 70 |
this.notifications = notifications;
|
70 |
this.notifications = notifications;
|
| 71 |
}
|
71 |
}
|
| 72 |
|
72 |
|
| 73 |
|
73 |
|
| 74 |
/**
|
74 |
/**
|
| Line 125... |
Line 125... |
| 125 |
((this.transaction==null && other.getTransaction()==null) ||
|
125 |
((this.transaction==null && other.getTransaction()==null) ||
|
| 126 |
(this.transaction!=null &&
|
126 |
(this.transaction!=null &&
|
| 127 |
this.transaction.equals(other.getTransaction()))) &&
|
127 |
this.transaction.equals(other.getTransaction()))) &&
|
| 128 |
((this.notifications==null && other.getNotifications()==null) ||
|
128 |
((this.notifications==null && other.getNotifications()==null) ||
|
| 129 |
(this.notifications!=null &&
|
129 |
(this.notifications!=null &&
|
| 130 |
this.notifications.equals(other.getNotifications()))) &&
|
130 |
java.util.Arrays.equals(this.notifications, other.getNotifications()))) &&
|
| 131 |
((this.hasErrors==null && other.getHasErrors()==null) ||
|
131 |
((this.hasErrors==null && other.getHasErrors()==null) ||
|
| 132 |
(this.hasErrors!=null &&
|
132 |
(this.hasErrors!=null &&
|
| 133 |
this.hasErrors.equals(other.getHasErrors()))) &&
|
133 |
this.hasErrors.equals(other.getHasErrors()))) &&
|
| 134 |
((this.message==null && other.getMessage()==null) ||
|
134 |
((this.message==null && other.getMessage()==null) ||
|
| 135 |
(this.message!=null &&
|
135 |
(this.message!=null &&
|
| Line 147... |
Line 147... |
| 147 |
int _hashCode = 1;
|
147 |
int _hashCode = 1;
|
| 148 |
if (getTransaction() != null) {
|
148 |
if (getTransaction() != null) {
|
| 149 |
_hashCode += getTransaction().hashCode();
|
149 |
_hashCode += getTransaction().hashCode();
|
| 150 |
}
|
150 |
}
|
| 151 |
if (getNotifications() != null) {
|
151 |
if (getNotifications() != null) {
|
| - |
|
152 |
for (int i=0;
|
| - |
|
153 |
i<java.lang.reflect.Array.getLength(getNotifications());
|
| - |
|
154 |
i++) {
|
| - |
|
155 |
java.lang.Object obj = java.lang.reflect.Array.get(getNotifications(), i);
|
| - |
|
156 |
if (obj != null &&
|
| - |
|
157 |
!obj.getClass().isArray()) {
|
| 152 |
_hashCode += getNotifications().hashCode();
|
158 |
_hashCode += obj.hashCode();
|
| - |
|
159 |
}
|
| - |
|
160 |
}
|
| 153 |
}
|
161 |
}
|
| 154 |
if (getHasErrors() != null) {
|
162 |
if (getHasErrors() != null) {
|
| 155 |
_hashCode += getHasErrors().hashCode();
|
163 |
_hashCode += getHasErrors().hashCode();
|
| 156 |
}
|
164 |
}
|
| 157 |
if (getMessage() != null) {
|
165 |
if (getMessage() != null) {
|
| Line 175... |
Line 183... |
| 175 |
elemField.setNillable(true);
|
183 |
elemField.setNillable(true);
|
| 176 |
typeDesc.addFieldDesc(elemField);
|
184 |
typeDesc.addFieldDesc(elemField);
|
| 177 |
elemField = new org.apache.axis.description.ElementDesc();
|
185 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 178 |
elemField.setFieldName("notifications");
|
186 |
elemField.setFieldName("notifications");
|
| 179 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notifications"));
|
187 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notifications"));
|
| 180 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfNotification"));
|
188 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification"));
|
| 181 |
elemField.setMinOccurs(0);
|
189 |
elemField.setMinOccurs(0);
|
| 182 |
elemField.setNillable(true);
|
190 |
elemField.setNillable(true);
|
| - |
|
191 |
elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification"));
|
| 183 |
typeDesc.addFieldDesc(elemField);
|
192 |
typeDesc.addFieldDesc(elemField);
|
| 184 |
elemField = new org.apache.axis.description.ElementDesc();
|
193 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 185 |
elemField.setFieldName("hasErrors");
|
194 |
elemField.setFieldName("hasErrors");
|
| 186 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "HasErrors"));
|
195 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "HasErrors"));
|
| 187 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
196 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|