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