| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* AWBCancelationResponse.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.bluedart.stub;
|
|
|
9 |
|
|
|
10 |
public class AWBCancelationResponse implements java.io.Serializable {
|
|
|
11 |
private java.lang.String AWBNo;
|
|
|
12 |
|
|
|
13 |
private java.lang.String CCRCRDREF;
|
|
|
14 |
|
|
|
15 |
private java.lang.Boolean isError;
|
|
|
16 |
|
|
|
17 |
private com.bluedart.stub.ArrayOfWayBillGenerationStatus status;
|
|
|
18 |
|
|
|
19 |
public AWBCancelationResponse() {
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
public AWBCancelationResponse(
|
|
|
23 |
java.lang.String AWBNo,
|
|
|
24 |
java.lang.String CCRCRDREF,
|
|
|
25 |
java.lang.Boolean isError,
|
|
|
26 |
com.bluedart.stub.ArrayOfWayBillGenerationStatus status) {
|
|
|
27 |
this.AWBNo = AWBNo;
|
|
|
28 |
this.CCRCRDREF = CCRCRDREF;
|
|
|
29 |
this.isError = isError;
|
|
|
30 |
this.status = status;
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
/**
|
|
|
35 |
* Gets the AWBNo value for this AWBCancelationResponse.
|
|
|
36 |
*
|
|
|
37 |
* @return AWBNo
|
|
|
38 |
*/
|
|
|
39 |
public java.lang.String getAWBNo() {
|
|
|
40 |
return AWBNo;
|
|
|
41 |
}
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
/**
|
|
|
45 |
* Sets the AWBNo value for this AWBCancelationResponse.
|
|
|
46 |
*
|
|
|
47 |
* @param AWBNo
|
|
|
48 |
*/
|
|
|
49 |
public void setAWBNo(java.lang.String AWBNo) {
|
|
|
50 |
this.AWBNo = AWBNo;
|
|
|
51 |
}
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
/**
|
|
|
55 |
* Gets the CCRCRDREF value for this AWBCancelationResponse.
|
|
|
56 |
*
|
|
|
57 |
* @return CCRCRDREF
|
|
|
58 |
*/
|
|
|
59 |
public java.lang.String getCCRCRDREF() {
|
|
|
60 |
return CCRCRDREF;
|
|
|
61 |
}
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
/**
|
|
|
65 |
* Sets the CCRCRDREF value for this AWBCancelationResponse.
|
|
|
66 |
*
|
|
|
67 |
* @param CCRCRDREF
|
|
|
68 |
*/
|
|
|
69 |
public void setCCRCRDREF(java.lang.String CCRCRDREF) {
|
|
|
70 |
this.CCRCRDREF = CCRCRDREF;
|
|
|
71 |
}
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
/**
|
|
|
75 |
* Gets the isError value for this AWBCancelationResponse.
|
|
|
76 |
*
|
|
|
77 |
* @return isError
|
|
|
78 |
*/
|
|
|
79 |
public java.lang.Boolean getIsError() {
|
|
|
80 |
return isError;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
/**
|
|
|
85 |
* Sets the isError value for this AWBCancelationResponse.
|
|
|
86 |
*
|
|
|
87 |
* @param isError
|
|
|
88 |
*/
|
|
|
89 |
public void setIsError(java.lang.Boolean isError) {
|
|
|
90 |
this.isError = isError;
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
/**
|
|
|
95 |
* Gets the status value for this AWBCancelationResponse.
|
|
|
96 |
*
|
|
|
97 |
* @return status
|
|
|
98 |
*/
|
|
|
99 |
public com.bluedart.stub.ArrayOfWayBillGenerationStatus getStatus() {
|
|
|
100 |
return status;
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
/**
|
|
|
105 |
* Sets the status value for this AWBCancelationResponse.
|
|
|
106 |
*
|
|
|
107 |
* @param status
|
|
|
108 |
*/
|
|
|
109 |
public void setStatus(com.bluedart.stub.ArrayOfWayBillGenerationStatus status) {
|
|
|
110 |
this.status = status;
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
private java.lang.Object __equalsCalc = null;
|
|
|
114 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
115 |
if (!(obj instanceof AWBCancelationResponse)) return false;
|
|
|
116 |
AWBCancelationResponse other = (AWBCancelationResponse) obj;
|
|
|
117 |
if (obj == null) return false;
|
|
|
118 |
if (this == obj) return true;
|
|
|
119 |
if (__equalsCalc != null) {
|
|
|
120 |
return (__equalsCalc == obj);
|
|
|
121 |
}
|
|
|
122 |
__equalsCalc = obj;
|
|
|
123 |
boolean _equals;
|
|
|
124 |
_equals = true &&
|
|
|
125 |
((this.AWBNo==null && other.getAWBNo()==null) ||
|
|
|
126 |
(this.AWBNo!=null &&
|
|
|
127 |
this.AWBNo.equals(other.getAWBNo()))) &&
|
|
|
128 |
((this.CCRCRDREF==null && other.getCCRCRDREF()==null) ||
|
|
|
129 |
(this.CCRCRDREF!=null &&
|
|
|
130 |
this.CCRCRDREF.equals(other.getCCRCRDREF()))) &&
|
|
|
131 |
((this.isError==null && other.getIsError()==null) ||
|
|
|
132 |
(this.isError!=null &&
|
|
|
133 |
this.isError.equals(other.getIsError()))) &&
|
|
|
134 |
((this.status==null && other.getStatus()==null) ||
|
|
|
135 |
(this.status!=null &&
|
|
|
136 |
this.status.equals(other.getStatus())));
|
|
|
137 |
__equalsCalc = null;
|
|
|
138 |
return _equals;
|
|
|
139 |
}
|
|
|
140 |
|
|
|
141 |
private boolean __hashCodeCalc = false;
|
|
|
142 |
public synchronized int hashCode() {
|
|
|
143 |
if (__hashCodeCalc) {
|
|
|
144 |
return 0;
|
|
|
145 |
}
|
|
|
146 |
__hashCodeCalc = true;
|
|
|
147 |
int _hashCode = 1;
|
|
|
148 |
if (getAWBNo() != null) {
|
|
|
149 |
_hashCode += getAWBNo().hashCode();
|
|
|
150 |
}
|
|
|
151 |
if (getCCRCRDREF() != null) {
|
|
|
152 |
_hashCode += getCCRCRDREF().hashCode();
|
|
|
153 |
}
|
|
|
154 |
if (getIsError() != null) {
|
|
|
155 |
_hashCode += getIsError().hashCode();
|
|
|
156 |
}
|
|
|
157 |
if (getStatus() != null) {
|
|
|
158 |
_hashCode += getStatus().hashCode();
|
|
|
159 |
}
|
|
|
160 |
__hashCodeCalc = false;
|
|
|
161 |
return _hashCode;
|
|
|
162 |
}
|
|
|
163 |
|
|
|
164 |
// Type metadata
|
|
|
165 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
166 |
new org.apache.axis.description.TypeDesc(AWBCancelationResponse.class, true);
|
|
|
167 |
|
|
|
168 |
static {
|
|
|
169 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "AWBCancelationResponse"));
|
|
|
170 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
171 |
elemField.setFieldName("AWBNo");
|
|
|
172 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "AWBNo"));
|
|
|
173 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
174 |
elemField.setMinOccurs(0);
|
|
|
175 |
elemField.setNillable(true);
|
|
|
176 |
typeDesc.addFieldDesc(elemField);
|
|
|
177 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
178 |
elemField.setFieldName("CCRCRDREF");
|
|
|
179 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CCRCRDREF"));
|
|
|
180 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
181 |
elemField.setMinOccurs(0);
|
|
|
182 |
elemField.setNillable(true);
|
|
|
183 |
typeDesc.addFieldDesc(elemField);
|
|
|
184 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
185 |
elemField.setFieldName("isError");
|
|
|
186 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "IsError"));
|
|
|
187 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
|
|
|
188 |
elemField.setMinOccurs(0);
|
|
|
189 |
elemField.setNillable(false);
|
|
|
190 |
typeDesc.addFieldDesc(elemField);
|
|
|
191 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
192 |
elemField.setFieldName("status");
|
|
|
193 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "Status"));
|
|
|
194 |
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ArrayOfWayBillGenerationStatus"));
|
|
|
195 |
elemField.setMinOccurs(0);
|
|
|
196 |
elemField.setNillable(true);
|
|
|
197 |
typeDesc.addFieldDesc(elemField);
|
|
|
198 |
}
|
|
|
199 |
|
|
|
200 |
/**
|
|
|
201 |
* Return type metadata object
|
|
|
202 |
*/
|
|
|
203 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
204 |
return typeDesc;
|
|
|
205 |
}
|
|
|
206 |
|
|
|
207 |
/**
|
|
|
208 |
* Get Custom Serializer
|
|
|
209 |
*/
|
|
|
210 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
211 |
java.lang.String mechType,
|
|
|
212 |
java.lang.Class _javaType,
|
|
|
213 |
javax.xml.namespace.QName _xmlType) {
|
|
|
214 |
return
|
|
|
215 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
216 |
_javaType, _xmlType, typeDesc);
|
|
|
217 |
}
|
|
|
218 |
|
|
|
219 |
/**
|
|
|
220 |
* Get Custom Deserializer
|
|
|
221 |
*/
|
|
|
222 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
223 |
java.lang.String mechType,
|
|
|
224 |
java.lang.Class _javaType,
|
|
|
225 |
javax.xml.namespace.QName _xmlType) {
|
|
|
226 |
return
|
|
|
227 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
228 |
_javaType, _xmlType, typeDesc);
|
|
|
229 |
}
|
|
|
230 |
|
|
|
231 |
}
|