| Line 8... |
Line 8... |
| 8 |
package com.aramex.stub;
|
8 |
package com.aramex.stub;
|
| 9 |
|
9 |
|
| 10 |
public class HoldCreationResponse implements java.io.Serializable {
|
10 |
public class HoldCreationResponse 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 com.aramex.stub.ArrayOfProcessedShipmentHold processedShipmentHolds;
|
17 |
private com.aramex.stub.ProcessedShipmentHold[] processedShipmentHolds;
|
| 18 |
|
18 |
|
| 19 |
public HoldCreationResponse() {
|
19 |
public HoldCreationResponse() {
|
| 20 |
}
|
20 |
}
|
| 21 |
|
21 |
|
| 22 |
public HoldCreationResponse(
|
22 |
public HoldCreationResponse(
|
| 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 |
com.aramex.stub.ArrayOfProcessedShipmentHold processedShipmentHolds) {
|
26 |
com.aramex.stub.ProcessedShipmentHold[] processedShipmentHolds) {
|
| 27 |
this.transaction = transaction;
|
27 |
this.transaction = transaction;
|
| 28 |
this.notifications = notifications;
|
28 |
this.notifications = notifications;
|
| 29 |
this.hasErrors = hasErrors;
|
29 |
this.hasErrors = hasErrors;
|
| 30 |
this.processedShipmentHolds = processedShipmentHolds;
|
30 |
this.processedShipmentHolds = processedShipmentHolds;
|
| 31 |
}
|
31 |
}
|
| Line 54... |
Line 54... |
| 54 |
/**
|
54 |
/**
|
| 55 |
* Gets the notifications value for this HoldCreationResponse.
|
55 |
* Gets the notifications value for this HoldCreationResponse.
|
| 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 HoldCreationResponse.
|
65 |
* Sets the notifications value for this HoldCreationResponse.
|
| 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 94... |
Line 94... |
| 94 |
/**
|
94 |
/**
|
| 95 |
* Gets the processedShipmentHolds value for this HoldCreationResponse.
|
95 |
* Gets the processedShipmentHolds value for this HoldCreationResponse.
|
| 96 |
*
|
96 |
*
|
| 97 |
* @return processedShipmentHolds
|
97 |
* @return processedShipmentHolds
|
| 98 |
*/
|
98 |
*/
|
| 99 |
public com.aramex.stub.ArrayOfProcessedShipmentHold getProcessedShipmentHolds() {
|
99 |
public com.aramex.stub.ProcessedShipmentHold[] getProcessedShipmentHolds() {
|
| 100 |
return processedShipmentHolds;
|
100 |
return processedShipmentHolds;
|
| 101 |
}
|
101 |
}
|
| 102 |
|
102 |
|
| 103 |
|
103 |
|
| 104 |
/**
|
104 |
/**
|
| 105 |
* Sets the processedShipmentHolds value for this HoldCreationResponse.
|
105 |
* Sets the processedShipmentHolds value for this HoldCreationResponse.
|
| 106 |
*
|
106 |
*
|
| 107 |
* @param processedShipmentHolds
|
107 |
* @param processedShipmentHolds
|
| 108 |
*/
|
108 |
*/
|
| 109 |
public void setProcessedShipmentHolds(com.aramex.stub.ArrayOfProcessedShipmentHold processedShipmentHolds) {
|
109 |
public void setProcessedShipmentHolds(com.aramex.stub.ProcessedShipmentHold[] processedShipmentHolds) {
|
| 110 |
this.processedShipmentHolds = processedShipmentHolds;
|
110 |
this.processedShipmentHolds = processedShipmentHolds;
|
| 111 |
}
|
111 |
}
|
| 112 |
|
112 |
|
| 113 |
private java.lang.Object __equalsCalc = null;
|
113 |
private java.lang.Object __equalsCalc = null;
|
| 114 |
public synchronized boolean equals(java.lang.Object obj) {
|
114 |
public synchronized boolean equals(java.lang.Object obj) {
|
| 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.processedShipmentHolds==null && other.getProcessedShipmentHolds()==null) ||
|
134 |
((this.processedShipmentHolds==null && other.getProcessedShipmentHolds()==null) ||
|
| 135 |
(this.processedShipmentHolds!=null &&
|
135 |
(this.processedShipmentHolds!=null &&
|
| 136 |
this.processedShipmentHolds.equals(other.getProcessedShipmentHolds())));
|
136 |
java.util.Arrays.equals(this.processedShipmentHolds, other.getProcessedShipmentHolds())));
|
| 137 |
__equalsCalc = null;
|
137 |
__equalsCalc = null;
|
| 138 |
return _equals;
|
138 |
return _equals;
|
| 139 |
}
|
139 |
}
|
| 140 |
|
140 |
|
| 141 |
private boolean __hashCodeCalc = false;
|
141 |
private boolean __hashCodeCalc = false;
|
| 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 (getProcessedShipmentHolds() != null) {
|
165 |
if (getProcessedShipmentHolds() != null) {
|
| - |
|
166 |
for (int i=0;
|
| - |
|
167 |
i<java.lang.reflect.Array.getLength(getProcessedShipmentHolds());
|
| - |
|
168 |
i++) {
|
| - |
|
169 |
java.lang.Object obj = java.lang.reflect.Array.get(getProcessedShipmentHolds(), i);
|
| - |
|
170 |
if (obj != null &&
|
| - |
|
171 |
!obj.getClass().isArray()) {
|
| 158 |
_hashCode += getProcessedShipmentHolds().hashCode();
|
172 |
_hashCode += obj.hashCode();
|
| - |
|
173 |
}
|
| - |
|
174 |
}
|
| 159 |
}
|
175 |
}
|
| 160 |
__hashCodeCalc = false;
|
176 |
__hashCodeCalc = false;
|
| 161 |
return _hashCode;
|
177 |
return _hashCode;
|
| 162 |
}
|
178 |
}
|
| 163 |
|
179 |
|
| Line 175... |
Line 191... |
| 175 |
elemField.setNillable(true);
|
191 |
elemField.setNillable(true);
|
| 176 |
typeDesc.addFieldDesc(elemField);
|
192 |
typeDesc.addFieldDesc(elemField);
|
| 177 |
elemField = new org.apache.axis.description.ElementDesc();
|
193 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 178 |
elemField.setFieldName("notifications");
|
194 |
elemField.setFieldName("notifications");
|
| 179 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notifications"));
|
195 |
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"));
|
196 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification"));
|
| 181 |
elemField.setMinOccurs(0);
|
197 |
elemField.setMinOccurs(0);
|
| 182 |
elemField.setNillable(true);
|
198 |
elemField.setNillable(true);
|
| - |
|
199 |
elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Notification"));
|
| 183 |
typeDesc.addFieldDesc(elemField);
|
200 |
typeDesc.addFieldDesc(elemField);
|
| 184 |
elemField = new org.apache.axis.description.ElementDesc();
|
201 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 185 |
elemField.setFieldName("hasErrors");
|
202 |
elemField.setFieldName("hasErrors");
|
| 186 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "HasErrors"));
|
203 |
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"));
|
204 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
| Line 189... |
Line 206... |
| 189 |
elemField.setNillable(false);
|
206 |
elemField.setNillable(false);
|
| 190 |
typeDesc.addFieldDesc(elemField);
|
207 |
typeDesc.addFieldDesc(elemField);
|
| 191 |
elemField = new org.apache.axis.description.ElementDesc();
|
208 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 192 |
elemField.setFieldName("processedShipmentHolds");
|
209 |
elemField.setFieldName("processedShipmentHolds");
|
| 193 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHolds"));
|
210 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHolds"));
|
| 194 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfProcessedShipmentHold"));
|
211 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHold"));
|
| 195 |
elemField.setMinOccurs(0);
|
212 |
elemField.setMinOccurs(0);
|
| 196 |
elemField.setNillable(true);
|
213 |
elemField.setNillable(true);
|
| - |
|
214 |
elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipmentHold"));
|
| 197 |
typeDesc.addFieldDesc(elemField);
|
215 |
typeDesc.addFieldDesc(elemField);
|
| 198 |
}
|
216 |
}
|
| 199 |
|
217 |
|
| 200 |
/**
|
218 |
/**
|
| 201 |
* Return type metadata object
|
219 |
* Return type metadata object
|