| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* ProcessedPickup.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.aramex.stub;
|
|
|
9 |
|
|
|
10 |
public class ProcessedPickup implements java.io.Serializable {
|
|
|
11 |
private java.lang.String ID;
|
|
|
12 |
|
|
|
13 |
private java.lang.String GUID;
|
|
|
14 |
|
|
|
15 |
private java.lang.String reference1;
|
|
|
16 |
|
|
|
17 |
private java.lang.String reference2;
|
|
|
18 |
|
| 22598 |
amit.gupta |
19 |
private com.aramex.stub.ProcessedShipment[] processedShipments;
|
| 20640 |
amit.gupta |
20 |
|
|
|
21 |
public ProcessedPickup() {
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
public ProcessedPickup(
|
|
|
25 |
java.lang.String ID,
|
|
|
26 |
java.lang.String GUID,
|
|
|
27 |
java.lang.String reference1,
|
|
|
28 |
java.lang.String reference2,
|
| 22598 |
amit.gupta |
29 |
com.aramex.stub.ProcessedShipment[] processedShipments) {
|
| 20640 |
amit.gupta |
30 |
this.ID = ID;
|
|
|
31 |
this.GUID = GUID;
|
|
|
32 |
this.reference1 = reference1;
|
|
|
33 |
this.reference2 = reference2;
|
|
|
34 |
this.processedShipments = processedShipments;
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
/**
|
|
|
39 |
* Gets the ID value for this ProcessedPickup.
|
|
|
40 |
*
|
|
|
41 |
* @return ID
|
|
|
42 |
*/
|
|
|
43 |
public java.lang.String getID() {
|
|
|
44 |
return ID;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
/**
|
|
|
49 |
* Sets the ID value for this ProcessedPickup.
|
|
|
50 |
*
|
|
|
51 |
* @param ID
|
|
|
52 |
*/
|
|
|
53 |
public void setID(java.lang.String ID) {
|
|
|
54 |
this.ID = ID;
|
|
|
55 |
}
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
/**
|
|
|
59 |
* Gets the GUID value for this ProcessedPickup.
|
|
|
60 |
*
|
|
|
61 |
* @return GUID
|
|
|
62 |
*/
|
|
|
63 |
public java.lang.String getGUID() {
|
|
|
64 |
return GUID;
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
/**
|
|
|
69 |
* Sets the GUID value for this ProcessedPickup.
|
|
|
70 |
*
|
|
|
71 |
* @param GUID
|
|
|
72 |
*/
|
|
|
73 |
public void setGUID(java.lang.String GUID) {
|
|
|
74 |
this.GUID = GUID;
|
|
|
75 |
}
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
/**
|
|
|
79 |
* Gets the reference1 value for this ProcessedPickup.
|
|
|
80 |
*
|
|
|
81 |
* @return reference1
|
|
|
82 |
*/
|
|
|
83 |
public java.lang.String getReference1() {
|
|
|
84 |
return reference1;
|
|
|
85 |
}
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
/**
|
|
|
89 |
* Sets the reference1 value for this ProcessedPickup.
|
|
|
90 |
*
|
|
|
91 |
* @param reference1
|
|
|
92 |
*/
|
|
|
93 |
public void setReference1(java.lang.String reference1) {
|
|
|
94 |
this.reference1 = reference1;
|
|
|
95 |
}
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
/**
|
|
|
99 |
* Gets the reference2 value for this ProcessedPickup.
|
|
|
100 |
*
|
|
|
101 |
* @return reference2
|
|
|
102 |
*/
|
|
|
103 |
public java.lang.String getReference2() {
|
|
|
104 |
return reference2;
|
|
|
105 |
}
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
/**
|
|
|
109 |
* Sets the reference2 value for this ProcessedPickup.
|
|
|
110 |
*
|
|
|
111 |
* @param reference2
|
|
|
112 |
*/
|
|
|
113 |
public void setReference2(java.lang.String reference2) {
|
|
|
114 |
this.reference2 = reference2;
|
|
|
115 |
}
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
/**
|
|
|
119 |
* Gets the processedShipments value for this ProcessedPickup.
|
|
|
120 |
*
|
|
|
121 |
* @return processedShipments
|
|
|
122 |
*/
|
| 22598 |
amit.gupta |
123 |
public com.aramex.stub.ProcessedShipment[] getProcessedShipments() {
|
| 20640 |
amit.gupta |
124 |
return processedShipments;
|
|
|
125 |
}
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
/**
|
|
|
129 |
* Sets the processedShipments value for this ProcessedPickup.
|
|
|
130 |
*
|
|
|
131 |
* @param processedShipments
|
|
|
132 |
*/
|
| 22598 |
amit.gupta |
133 |
public void setProcessedShipments(com.aramex.stub.ProcessedShipment[] processedShipments) {
|
| 20640 |
amit.gupta |
134 |
this.processedShipments = processedShipments;
|
|
|
135 |
}
|
|
|
136 |
|
|
|
137 |
private java.lang.Object __equalsCalc = null;
|
|
|
138 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
139 |
if (!(obj instanceof ProcessedPickup)) return false;
|
|
|
140 |
ProcessedPickup other = (ProcessedPickup) obj;
|
|
|
141 |
if (obj == null) return false;
|
|
|
142 |
if (this == obj) return true;
|
|
|
143 |
if (__equalsCalc != null) {
|
|
|
144 |
return (__equalsCalc == obj);
|
|
|
145 |
}
|
|
|
146 |
__equalsCalc = obj;
|
|
|
147 |
boolean _equals;
|
|
|
148 |
_equals = true &&
|
|
|
149 |
((this.ID==null && other.getID()==null) ||
|
|
|
150 |
(this.ID!=null &&
|
|
|
151 |
this.ID.equals(other.getID()))) &&
|
|
|
152 |
((this.GUID==null && other.getGUID()==null) ||
|
|
|
153 |
(this.GUID!=null &&
|
|
|
154 |
this.GUID.equals(other.getGUID()))) &&
|
|
|
155 |
((this.reference1==null && other.getReference1()==null) ||
|
|
|
156 |
(this.reference1!=null &&
|
|
|
157 |
this.reference1.equals(other.getReference1()))) &&
|
|
|
158 |
((this.reference2==null && other.getReference2()==null) ||
|
|
|
159 |
(this.reference2!=null &&
|
|
|
160 |
this.reference2.equals(other.getReference2()))) &&
|
|
|
161 |
((this.processedShipments==null && other.getProcessedShipments()==null) ||
|
|
|
162 |
(this.processedShipments!=null &&
|
| 22598 |
amit.gupta |
163 |
java.util.Arrays.equals(this.processedShipments, other.getProcessedShipments())));
|
| 20640 |
amit.gupta |
164 |
__equalsCalc = null;
|
|
|
165 |
return _equals;
|
|
|
166 |
}
|
|
|
167 |
|
|
|
168 |
private boolean __hashCodeCalc = false;
|
|
|
169 |
public synchronized int hashCode() {
|
|
|
170 |
if (__hashCodeCalc) {
|
|
|
171 |
return 0;
|
|
|
172 |
}
|
|
|
173 |
__hashCodeCalc = true;
|
|
|
174 |
int _hashCode = 1;
|
|
|
175 |
if (getID() != null) {
|
|
|
176 |
_hashCode += getID().hashCode();
|
|
|
177 |
}
|
|
|
178 |
if (getGUID() != null) {
|
|
|
179 |
_hashCode += getGUID().hashCode();
|
|
|
180 |
}
|
|
|
181 |
if (getReference1() != null) {
|
|
|
182 |
_hashCode += getReference1().hashCode();
|
|
|
183 |
}
|
|
|
184 |
if (getReference2() != null) {
|
|
|
185 |
_hashCode += getReference2().hashCode();
|
|
|
186 |
}
|
|
|
187 |
if (getProcessedShipments() != null) {
|
| 22598 |
amit.gupta |
188 |
for (int i=0;
|
|
|
189 |
i<java.lang.reflect.Array.getLength(getProcessedShipments());
|
|
|
190 |
i++) {
|
|
|
191 |
java.lang.Object obj = java.lang.reflect.Array.get(getProcessedShipments(), i);
|
|
|
192 |
if (obj != null &&
|
|
|
193 |
!obj.getClass().isArray()) {
|
|
|
194 |
_hashCode += obj.hashCode();
|
|
|
195 |
}
|
|
|
196 |
}
|
| 20640 |
amit.gupta |
197 |
}
|
|
|
198 |
__hashCodeCalc = false;
|
|
|
199 |
return _hashCode;
|
|
|
200 |
}
|
|
|
201 |
|
|
|
202 |
// Type metadata
|
|
|
203 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
204 |
new org.apache.axis.description.TypeDesc(ProcessedPickup.class, true);
|
|
|
205 |
|
|
|
206 |
static {
|
|
|
207 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedPickup"));
|
|
|
208 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
209 |
elemField.setFieldName("ID");
|
|
|
210 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ID"));
|
|
|
211 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
212 |
elemField.setNillable(true);
|
|
|
213 |
typeDesc.addFieldDesc(elemField);
|
|
|
214 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
215 |
elemField.setFieldName("GUID");
|
|
|
216 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "GUID"));
|
|
|
217 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
218 |
elemField.setNillable(false);
|
|
|
219 |
typeDesc.addFieldDesc(elemField);
|
|
|
220 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
221 |
elemField.setFieldName("reference1");
|
|
|
222 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference1"));
|
|
|
223 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
224 |
elemField.setNillable(true);
|
|
|
225 |
typeDesc.addFieldDesc(elemField);
|
|
|
226 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
227 |
elemField.setFieldName("reference2");
|
|
|
228 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference2"));
|
|
|
229 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
230 |
elemField.setNillable(true);
|
|
|
231 |
typeDesc.addFieldDesc(elemField);
|
|
|
232 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
233 |
elemField.setFieldName("processedShipments");
|
|
|
234 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipments"));
|
| 22598 |
amit.gupta |
235 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipment"));
|
| 20640 |
amit.gupta |
236 |
elemField.setNillable(true);
|
| 22598 |
amit.gupta |
237 |
elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipment"));
|
| 20640 |
amit.gupta |
238 |
typeDesc.addFieldDesc(elemField);
|
|
|
239 |
}
|
|
|
240 |
|
|
|
241 |
/**
|
|
|
242 |
* Return type metadata object
|
|
|
243 |
*/
|
|
|
244 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
245 |
return typeDesc;
|
|
|
246 |
}
|
|
|
247 |
|
|
|
248 |
/**
|
|
|
249 |
* Get Custom Serializer
|
|
|
250 |
*/
|
|
|
251 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
252 |
java.lang.String mechType,
|
|
|
253 |
java.lang.Class _javaType,
|
|
|
254 |
javax.xml.namespace.QName _xmlType) {
|
|
|
255 |
return
|
|
|
256 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
257 |
_javaType, _xmlType, typeDesc);
|
|
|
258 |
}
|
|
|
259 |
|
|
|
260 |
/**
|
|
|
261 |
* Get Custom Deserializer
|
|
|
262 |
*/
|
|
|
263 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
264 |
java.lang.String mechType,
|
|
|
265 |
java.lang.Class _javaType,
|
|
|
266 |
javax.xml.namespace.QName _xmlType) {
|
|
|
267 |
return
|
|
|
268 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
269 |
_javaType, _xmlType, typeDesc);
|
|
|
270 |
}
|
|
|
271 |
|
|
|
272 |
}
|