| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* CommodityDetail.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 CommodityDetail implements java.io.Serializable {
|
|
|
11 |
private java.lang.String commodityDetail1;
|
|
|
12 |
|
|
|
13 |
private java.lang.String commodityDetail2;
|
|
|
14 |
|
|
|
15 |
private java.lang.String commodityDetail3;
|
|
|
16 |
|
|
|
17 |
public CommodityDetail() {
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
public CommodityDetail(
|
|
|
21 |
java.lang.String commodityDetail1,
|
|
|
22 |
java.lang.String commodityDetail2,
|
|
|
23 |
java.lang.String commodityDetail3) {
|
|
|
24 |
this.commodityDetail1 = commodityDetail1;
|
|
|
25 |
this.commodityDetail2 = commodityDetail2;
|
|
|
26 |
this.commodityDetail3 = commodityDetail3;
|
|
|
27 |
}
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
/**
|
|
|
31 |
* Gets the commodityDetail1 value for this CommodityDetail.
|
|
|
32 |
*
|
|
|
33 |
* @return commodityDetail1
|
|
|
34 |
*/
|
|
|
35 |
public java.lang.String getCommodityDetail1() {
|
|
|
36 |
return commodityDetail1;
|
|
|
37 |
}
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
/**
|
|
|
41 |
* Sets the commodityDetail1 value for this CommodityDetail.
|
|
|
42 |
*
|
|
|
43 |
* @param commodityDetail1
|
|
|
44 |
*/
|
|
|
45 |
public void setCommodityDetail1(java.lang.String commodityDetail1) {
|
|
|
46 |
this.commodityDetail1 = commodityDetail1;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
/**
|
|
|
51 |
* Gets the commodityDetail2 value for this CommodityDetail.
|
|
|
52 |
*
|
|
|
53 |
* @return commodityDetail2
|
|
|
54 |
*/
|
|
|
55 |
public java.lang.String getCommodityDetail2() {
|
|
|
56 |
return commodityDetail2;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/**
|
|
|
61 |
* Sets the commodityDetail2 value for this CommodityDetail.
|
|
|
62 |
*
|
|
|
63 |
* @param commodityDetail2
|
|
|
64 |
*/
|
|
|
65 |
public void setCommodityDetail2(java.lang.String commodityDetail2) {
|
|
|
66 |
this.commodityDetail2 = commodityDetail2;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
/**
|
|
|
71 |
* Gets the commodityDetail3 value for this CommodityDetail.
|
|
|
72 |
*
|
|
|
73 |
* @return commodityDetail3
|
|
|
74 |
*/
|
|
|
75 |
public java.lang.String getCommodityDetail3() {
|
|
|
76 |
return commodityDetail3;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
/**
|
|
|
81 |
* Sets the commodityDetail3 value for this CommodityDetail.
|
|
|
82 |
*
|
|
|
83 |
* @param commodityDetail3
|
|
|
84 |
*/
|
|
|
85 |
public void setCommodityDetail3(java.lang.String commodityDetail3) {
|
|
|
86 |
this.commodityDetail3 = commodityDetail3;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
private java.lang.Object __equalsCalc = null;
|
|
|
90 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
91 |
if (!(obj instanceof CommodityDetail)) return false;
|
|
|
92 |
CommodityDetail other = (CommodityDetail) 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.commodityDetail1==null && other.getCommodityDetail1()==null) ||
|
|
|
102 |
(this.commodityDetail1!=null &&
|
|
|
103 |
this.commodityDetail1.equals(other.getCommodityDetail1()))) &&
|
|
|
104 |
((this.commodityDetail2==null && other.getCommodityDetail2()==null) ||
|
|
|
105 |
(this.commodityDetail2!=null &&
|
|
|
106 |
this.commodityDetail2.equals(other.getCommodityDetail2()))) &&
|
|
|
107 |
((this.commodityDetail3==null && other.getCommodityDetail3()==null) ||
|
|
|
108 |
(this.commodityDetail3!=null &&
|
|
|
109 |
this.commodityDetail3.equals(other.getCommodityDetail3())));
|
|
|
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 (getCommodityDetail1() != null) {
|
|
|
122 |
_hashCode += getCommodityDetail1().hashCode();
|
|
|
123 |
}
|
|
|
124 |
if (getCommodityDetail2() != null) {
|
|
|
125 |
_hashCode += getCommodityDetail2().hashCode();
|
|
|
126 |
}
|
|
|
127 |
if (getCommodityDetail3() != null) {
|
|
|
128 |
_hashCode += getCommodityDetail3().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(CommodityDetail.class, true);
|
|
|
137 |
|
|
|
138 |
static {
|
|
|
139 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CommodityDetail"));
|
|
|
140 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
141 |
elemField.setFieldName("commodityDetail1");
|
|
|
142 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CommodityDetail1"));
|
|
|
143 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
144 |
elemField.setMinOccurs(0);
|
|
|
145 |
elemField.setNillable(true);
|
|
|
146 |
typeDesc.addFieldDesc(elemField);
|
|
|
147 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
148 |
elemField.setFieldName("commodityDetail2");
|
|
|
149 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CommodityDetail2"));
|
|
|
150 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
151 |
elemField.setMinOccurs(0);
|
|
|
152 |
elemField.setNillable(true);
|
|
|
153 |
typeDesc.addFieldDesc(elemField);
|
|
|
154 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
155 |
elemField.setFieldName("commodityDetail3");
|
|
|
156 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "CommodityDetail3"));
|
|
|
157 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
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 |
}
|