Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
 
19
    private com.aramex.stub.ArrayOfProcessedShipment processedShipments;
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,
29
           com.aramex.stub.ArrayOfProcessedShipment processedShipments) {
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
     */
123
    public com.aramex.stub.ArrayOfProcessedShipment getProcessedShipments() {
124
        return processedShipments;
125
    }
126
 
127
 
128
    /**
129
     * Sets the processedShipments value for this ProcessedPickup.
130
     * 
131
     * @param processedShipments
132
     */
133
    public void setProcessedShipments(com.aramex.stub.ArrayOfProcessedShipment processedShipments) {
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 &&
163
              this.processedShipments.equals(other.getProcessedShipments())));
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) {
188
            _hashCode += getProcessedShipments().hashCode();
189
        }
190
        __hashCodeCalc = false;
191
        return _hashCode;
192
    }
193
 
194
    // Type metadata
195
    private static org.apache.axis.description.TypeDesc typeDesc =
196
        new org.apache.axis.description.TypeDesc(ProcessedPickup.class, true);
197
 
198
    static {
199
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedPickup"));
200
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
201
        elemField.setFieldName("ID");
202
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ID"));
203
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
204
        elemField.setNillable(true);
205
        typeDesc.addFieldDesc(elemField);
206
        elemField = new org.apache.axis.description.ElementDesc();
207
        elemField.setFieldName("GUID");
208
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "GUID"));
209
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
210
        elemField.setNillable(false);
211
        typeDesc.addFieldDesc(elemField);
212
        elemField = new org.apache.axis.description.ElementDesc();
213
        elemField.setFieldName("reference1");
214
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference1"));
215
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
216
        elemField.setNillable(true);
217
        typeDesc.addFieldDesc(elemField);
218
        elemField = new org.apache.axis.description.ElementDesc();
219
        elemField.setFieldName("reference2");
220
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Reference2"));
221
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
222
        elemField.setNillable(true);
223
        typeDesc.addFieldDesc(elemField);
224
        elemField = new org.apache.axis.description.ElementDesc();
225
        elemField.setFieldName("processedShipments");
226
        elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ProcessedShipments"));
227
        elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfProcessedShipment"));
228
        elemField.setNillable(true);
229
        typeDesc.addFieldDesc(elemField);
230
    }
231
 
232
    /**
233
     * Return type metadata object
234
     */
235
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
236
        return typeDesc;
237
    }
238
 
239
    /**
240
     * Get Custom Serializer
241
     */
242
    public static org.apache.axis.encoding.Serializer getSerializer(
243
           java.lang.String mechType, 
244
           java.lang.Class _javaType,  
245
           javax.xml.namespace.QName _xmlType) {
246
        return 
247
          new  org.apache.axis.encoding.ser.BeanSerializer(
248
            _javaType, _xmlType, typeDesc);
249
    }
250
 
251
    /**
252
     * Get Custom Deserializer
253
     */
254
    public static org.apache.axis.encoding.Deserializer getDeserializer(
255
           java.lang.String mechType, 
256
           java.lang.Class _javaType,  
257
           javax.xml.namespace.QName _xmlType) {
258
        return 
259
          new  org.apache.axis.encoding.ser.BeanDeserializer(
260
            _javaType, _xmlType, typeDesc);
261
    }
262
 
263
}