| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* CustomLabelDetail.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.fedex.ship.stub;
|
|
|
9 |
|
|
|
10 |
public class CustomLabelDetail implements java.io.Serializable {
|
|
|
11 |
private com.fedex.ship.stub.CustomLabelCoordinateUnits coordinateUnits;
|
|
|
12 |
|
|
|
13 |
private com.fedex.ship.stub.CustomLabelTextEntry[] textEntries;
|
|
|
14 |
|
|
|
15 |
private com.fedex.ship.stub.CustomLabelGraphicEntry[] graphicEntries;
|
|
|
16 |
|
|
|
17 |
private com.fedex.ship.stub.CustomLabelBoxEntry[] boxEntries;
|
|
|
18 |
|
|
|
19 |
private com.fedex.ship.stub.CustomLabelBarcodeEntry[] barcodeEntries;
|
|
|
20 |
|
|
|
21 |
public CustomLabelDetail() {
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
public CustomLabelDetail(
|
|
|
25 |
com.fedex.ship.stub.CustomLabelCoordinateUnits coordinateUnits,
|
|
|
26 |
com.fedex.ship.stub.CustomLabelTextEntry[] textEntries,
|
|
|
27 |
com.fedex.ship.stub.CustomLabelGraphicEntry[] graphicEntries,
|
|
|
28 |
com.fedex.ship.stub.CustomLabelBoxEntry[] boxEntries,
|
|
|
29 |
com.fedex.ship.stub.CustomLabelBarcodeEntry[] barcodeEntries) {
|
|
|
30 |
this.coordinateUnits = coordinateUnits;
|
|
|
31 |
this.textEntries = textEntries;
|
|
|
32 |
this.graphicEntries = graphicEntries;
|
|
|
33 |
this.boxEntries = boxEntries;
|
|
|
34 |
this.barcodeEntries = barcodeEntries;
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
/**
|
|
|
39 |
* Gets the coordinateUnits value for this CustomLabelDetail.
|
|
|
40 |
*
|
|
|
41 |
* @return coordinateUnits
|
|
|
42 |
*/
|
|
|
43 |
public com.fedex.ship.stub.CustomLabelCoordinateUnits getCoordinateUnits() {
|
|
|
44 |
return coordinateUnits;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
/**
|
|
|
49 |
* Sets the coordinateUnits value for this CustomLabelDetail.
|
|
|
50 |
*
|
|
|
51 |
* @param coordinateUnits
|
|
|
52 |
*/
|
|
|
53 |
public void setCoordinateUnits(com.fedex.ship.stub.CustomLabelCoordinateUnits coordinateUnits) {
|
|
|
54 |
this.coordinateUnits = coordinateUnits;
|
|
|
55 |
}
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
/**
|
|
|
59 |
* Gets the textEntries value for this CustomLabelDetail.
|
|
|
60 |
*
|
|
|
61 |
* @return textEntries
|
|
|
62 |
*/
|
|
|
63 |
public com.fedex.ship.stub.CustomLabelTextEntry[] getTextEntries() {
|
|
|
64 |
return textEntries;
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
/**
|
|
|
69 |
* Sets the textEntries value for this CustomLabelDetail.
|
|
|
70 |
*
|
|
|
71 |
* @param textEntries
|
|
|
72 |
*/
|
|
|
73 |
public void setTextEntries(com.fedex.ship.stub.CustomLabelTextEntry[] textEntries) {
|
|
|
74 |
this.textEntries = textEntries;
|
|
|
75 |
}
|
|
|
76 |
|
|
|
77 |
public com.fedex.ship.stub.CustomLabelTextEntry getTextEntries(int i) {
|
|
|
78 |
return this.textEntries[i];
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
public void setTextEntries(int i, com.fedex.ship.stub.CustomLabelTextEntry _value) {
|
|
|
82 |
this.textEntries[i] = _value;
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
/**
|
|
|
87 |
* Gets the graphicEntries value for this CustomLabelDetail.
|
|
|
88 |
*
|
|
|
89 |
* @return graphicEntries
|
|
|
90 |
*/
|
|
|
91 |
public com.fedex.ship.stub.CustomLabelGraphicEntry[] getGraphicEntries() {
|
|
|
92 |
return graphicEntries;
|
|
|
93 |
}
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
/**
|
|
|
97 |
* Sets the graphicEntries value for this CustomLabelDetail.
|
|
|
98 |
*
|
|
|
99 |
* @param graphicEntries
|
|
|
100 |
*/
|
|
|
101 |
public void setGraphicEntries(com.fedex.ship.stub.CustomLabelGraphicEntry[] graphicEntries) {
|
|
|
102 |
this.graphicEntries = graphicEntries;
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
public com.fedex.ship.stub.CustomLabelGraphicEntry getGraphicEntries(int i) {
|
|
|
106 |
return this.graphicEntries[i];
|
|
|
107 |
}
|
|
|
108 |
|
|
|
109 |
public void setGraphicEntries(int i, com.fedex.ship.stub.CustomLabelGraphicEntry _value) {
|
|
|
110 |
this.graphicEntries[i] = _value;
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
/**
|
|
|
115 |
* Gets the boxEntries value for this CustomLabelDetail.
|
|
|
116 |
*
|
|
|
117 |
* @return boxEntries
|
|
|
118 |
*/
|
|
|
119 |
public com.fedex.ship.stub.CustomLabelBoxEntry[] getBoxEntries() {
|
|
|
120 |
return boxEntries;
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
/**
|
|
|
125 |
* Sets the boxEntries value for this CustomLabelDetail.
|
|
|
126 |
*
|
|
|
127 |
* @param boxEntries
|
|
|
128 |
*/
|
|
|
129 |
public void setBoxEntries(com.fedex.ship.stub.CustomLabelBoxEntry[] boxEntries) {
|
|
|
130 |
this.boxEntries = boxEntries;
|
|
|
131 |
}
|
|
|
132 |
|
|
|
133 |
public com.fedex.ship.stub.CustomLabelBoxEntry getBoxEntries(int i) {
|
|
|
134 |
return this.boxEntries[i];
|
|
|
135 |
}
|
|
|
136 |
|
|
|
137 |
public void setBoxEntries(int i, com.fedex.ship.stub.CustomLabelBoxEntry _value) {
|
|
|
138 |
this.boxEntries[i] = _value;
|
|
|
139 |
}
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
/**
|
|
|
143 |
* Gets the barcodeEntries value for this CustomLabelDetail.
|
|
|
144 |
*
|
|
|
145 |
* @return barcodeEntries
|
|
|
146 |
*/
|
|
|
147 |
public com.fedex.ship.stub.CustomLabelBarcodeEntry[] getBarcodeEntries() {
|
|
|
148 |
return barcodeEntries;
|
|
|
149 |
}
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
/**
|
|
|
153 |
* Sets the barcodeEntries value for this CustomLabelDetail.
|
|
|
154 |
*
|
|
|
155 |
* @param barcodeEntries
|
|
|
156 |
*/
|
|
|
157 |
public void setBarcodeEntries(com.fedex.ship.stub.CustomLabelBarcodeEntry[] barcodeEntries) {
|
|
|
158 |
this.barcodeEntries = barcodeEntries;
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
public com.fedex.ship.stub.CustomLabelBarcodeEntry getBarcodeEntries(int i) {
|
|
|
162 |
return this.barcodeEntries[i];
|
|
|
163 |
}
|
|
|
164 |
|
|
|
165 |
public void setBarcodeEntries(int i, com.fedex.ship.stub.CustomLabelBarcodeEntry _value) {
|
|
|
166 |
this.barcodeEntries[i] = _value;
|
|
|
167 |
}
|
|
|
168 |
|
|
|
169 |
private java.lang.Object __equalsCalc = null;
|
|
|
170 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
171 |
if (!(obj instanceof CustomLabelDetail)) return false;
|
|
|
172 |
CustomLabelDetail other = (CustomLabelDetail) obj;
|
|
|
173 |
if (obj == null) return false;
|
|
|
174 |
if (this == obj) return true;
|
|
|
175 |
if (__equalsCalc != null) {
|
|
|
176 |
return (__equalsCalc == obj);
|
|
|
177 |
}
|
|
|
178 |
__equalsCalc = obj;
|
|
|
179 |
boolean _equals;
|
|
|
180 |
_equals = true &&
|
|
|
181 |
((this.coordinateUnits==null && other.getCoordinateUnits()==null) ||
|
|
|
182 |
(this.coordinateUnits!=null &&
|
|
|
183 |
this.coordinateUnits.equals(other.getCoordinateUnits()))) &&
|
|
|
184 |
((this.textEntries==null && other.getTextEntries()==null) ||
|
|
|
185 |
(this.textEntries!=null &&
|
|
|
186 |
java.util.Arrays.equals(this.textEntries, other.getTextEntries()))) &&
|
|
|
187 |
((this.graphicEntries==null && other.getGraphicEntries()==null) ||
|
|
|
188 |
(this.graphicEntries!=null &&
|
|
|
189 |
java.util.Arrays.equals(this.graphicEntries, other.getGraphicEntries()))) &&
|
|
|
190 |
((this.boxEntries==null && other.getBoxEntries()==null) ||
|
|
|
191 |
(this.boxEntries!=null &&
|
|
|
192 |
java.util.Arrays.equals(this.boxEntries, other.getBoxEntries()))) &&
|
|
|
193 |
((this.barcodeEntries==null && other.getBarcodeEntries()==null) ||
|
|
|
194 |
(this.barcodeEntries!=null &&
|
|
|
195 |
java.util.Arrays.equals(this.barcodeEntries, other.getBarcodeEntries())));
|
|
|
196 |
__equalsCalc = null;
|
|
|
197 |
return _equals;
|
|
|
198 |
}
|
|
|
199 |
|
|
|
200 |
private boolean __hashCodeCalc = false;
|
|
|
201 |
public synchronized int hashCode() {
|
|
|
202 |
if (__hashCodeCalc) {
|
|
|
203 |
return 0;
|
|
|
204 |
}
|
|
|
205 |
__hashCodeCalc = true;
|
|
|
206 |
int _hashCode = 1;
|
|
|
207 |
if (getCoordinateUnits() != null) {
|
|
|
208 |
_hashCode += getCoordinateUnits().hashCode();
|
|
|
209 |
}
|
|
|
210 |
if (getTextEntries() != null) {
|
|
|
211 |
for (int i=0;
|
|
|
212 |
i<java.lang.reflect.Array.getLength(getTextEntries());
|
|
|
213 |
i++) {
|
|
|
214 |
java.lang.Object obj = java.lang.reflect.Array.get(getTextEntries(), i);
|
|
|
215 |
if (obj != null &&
|
|
|
216 |
!obj.getClass().isArray()) {
|
|
|
217 |
_hashCode += obj.hashCode();
|
|
|
218 |
}
|
|
|
219 |
}
|
|
|
220 |
}
|
|
|
221 |
if (getGraphicEntries() != null) {
|
|
|
222 |
for (int i=0;
|
|
|
223 |
i<java.lang.reflect.Array.getLength(getGraphicEntries());
|
|
|
224 |
i++) {
|
|
|
225 |
java.lang.Object obj = java.lang.reflect.Array.get(getGraphicEntries(), i);
|
|
|
226 |
if (obj != null &&
|
|
|
227 |
!obj.getClass().isArray()) {
|
|
|
228 |
_hashCode += obj.hashCode();
|
|
|
229 |
}
|
|
|
230 |
}
|
|
|
231 |
}
|
|
|
232 |
if (getBoxEntries() != null) {
|
|
|
233 |
for (int i=0;
|
|
|
234 |
i<java.lang.reflect.Array.getLength(getBoxEntries());
|
|
|
235 |
i++) {
|
|
|
236 |
java.lang.Object obj = java.lang.reflect.Array.get(getBoxEntries(), i);
|
|
|
237 |
if (obj != null &&
|
|
|
238 |
!obj.getClass().isArray()) {
|
|
|
239 |
_hashCode += obj.hashCode();
|
|
|
240 |
}
|
|
|
241 |
}
|
|
|
242 |
}
|
|
|
243 |
if (getBarcodeEntries() != null) {
|
|
|
244 |
for (int i=0;
|
|
|
245 |
i<java.lang.reflect.Array.getLength(getBarcodeEntries());
|
|
|
246 |
i++) {
|
|
|
247 |
java.lang.Object obj = java.lang.reflect.Array.get(getBarcodeEntries(), i);
|
|
|
248 |
if (obj != null &&
|
|
|
249 |
!obj.getClass().isArray()) {
|
|
|
250 |
_hashCode += obj.hashCode();
|
|
|
251 |
}
|
|
|
252 |
}
|
|
|
253 |
}
|
|
|
254 |
__hashCodeCalc = false;
|
|
|
255 |
return _hashCode;
|
|
|
256 |
}
|
|
|
257 |
|
|
|
258 |
// Type metadata
|
|
|
259 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
260 |
new org.apache.axis.description.TypeDesc(CustomLabelDetail.class, true);
|
|
|
261 |
|
|
|
262 |
static {
|
|
|
263 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelDetail"));
|
|
|
264 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
265 |
elemField.setFieldName("coordinateUnits");
|
|
|
266 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CoordinateUnits"));
|
|
|
267 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelCoordinateUnits"));
|
|
|
268 |
elemField.setMinOccurs(0);
|
|
|
269 |
elemField.setNillable(false);
|
|
|
270 |
typeDesc.addFieldDesc(elemField);
|
|
|
271 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
272 |
elemField.setFieldName("textEntries");
|
|
|
273 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TextEntries"));
|
|
|
274 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelTextEntry"));
|
|
|
275 |
elemField.setMinOccurs(0);
|
|
|
276 |
elemField.setNillable(false);
|
|
|
277 |
elemField.setMaxOccursUnbounded(true);
|
|
|
278 |
typeDesc.addFieldDesc(elemField);
|
|
|
279 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
280 |
elemField.setFieldName("graphicEntries");
|
|
|
281 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "GraphicEntries"));
|
|
|
282 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelGraphicEntry"));
|
|
|
283 |
elemField.setMinOccurs(0);
|
|
|
284 |
elemField.setNillable(false);
|
|
|
285 |
elemField.setMaxOccursUnbounded(true);
|
|
|
286 |
typeDesc.addFieldDesc(elemField);
|
|
|
287 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
288 |
elemField.setFieldName("boxEntries");
|
|
|
289 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "BoxEntries"));
|
|
|
290 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelBoxEntry"));
|
|
|
291 |
elemField.setMinOccurs(0);
|
|
|
292 |
elemField.setNillable(false);
|
|
|
293 |
elemField.setMaxOccursUnbounded(true);
|
|
|
294 |
typeDesc.addFieldDesc(elemField);
|
|
|
295 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
296 |
elemField.setFieldName("barcodeEntries");
|
|
|
297 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "BarcodeEntries"));
|
|
|
298 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelBarcodeEntry"));
|
|
|
299 |
elemField.setMinOccurs(0);
|
|
|
300 |
elemField.setNillable(false);
|
|
|
301 |
elemField.setMaxOccursUnbounded(true);
|
|
|
302 |
typeDesc.addFieldDesc(elemField);
|
|
|
303 |
}
|
|
|
304 |
|
|
|
305 |
/**
|
|
|
306 |
* Return type metadata object
|
|
|
307 |
*/
|
|
|
308 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
309 |
return typeDesc;
|
|
|
310 |
}
|
|
|
311 |
|
|
|
312 |
/**
|
|
|
313 |
* Get Custom Serializer
|
|
|
314 |
*/
|
|
|
315 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
316 |
java.lang.String mechType,
|
|
|
317 |
java.lang.Class _javaType,
|
|
|
318 |
javax.xml.namespace.QName _xmlType) {
|
|
|
319 |
return
|
|
|
320 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
321 |
_javaType, _xmlType, typeDesc);
|
|
|
322 |
}
|
|
|
323 |
|
|
|
324 |
/**
|
|
|
325 |
* Get Custom Deserializer
|
|
|
326 |
*/
|
|
|
327 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
328 |
java.lang.String mechType,
|
|
|
329 |
java.lang.Class _javaType,
|
|
|
330 |
javax.xml.namespace.QName _xmlType) {
|
|
|
331 |
return
|
|
|
332 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
333 |
_javaType, _xmlType, typeDesc);
|
|
|
334 |
}
|
|
|
335 |
|
|
|
336 |
}
|