Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: complexsoap/client/stub/com/cdyne/ws/LatLongReturn.java


1   /**
2    * LatLongReturn.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis WSDL2Java emitter.
6    */
7   
8   package complexsoap.client.stub.com.cdyne.ws;
9   
10  public class LatLongReturn  implements java.io.Serializable {
11      private boolean serviceError;
12      private boolean addressError;
13      private java.lang.String city;
14      private java.lang.String stateAbbrev;
15      private java.lang.String zipCode;
16      private java.lang.String county;
17      private java.math.BigDecimal fromLongitude;
18      private java.math.BigDecimal fromLatitude;
19      private java.math.BigDecimal toLongitude;
20      private java.math.BigDecimal toLatitude;
21      private java.math.BigDecimal avgLongitude;
22      private java.math.BigDecimal avgLatitude;
23      private java.lang.String CMSA;
24      private java.lang.String PMSA;
25  
26      public LatLongReturn() {
27      }
28  
29      public boolean isServiceError() {
30          return serviceError;
31      }
32  
33      public void setServiceError(boolean serviceError) {
34          this.serviceError = serviceError;
35      }
36  
37      public boolean isAddressError() {
38          return addressError;
39      }
40  
41      public void setAddressError(boolean addressError) {
42          this.addressError = addressError;
43      }
44  
45      public java.lang.String getCity() {
46          return city;
47      }
48  
49      public void setCity(java.lang.String city) {
50          this.city = city;
51      }
52  
53      public java.lang.String getStateAbbrev() {
54          return stateAbbrev;
55      }
56  
57      public void setStateAbbrev(java.lang.String stateAbbrev) {
58          this.stateAbbrev = stateAbbrev;
59      }
60  
61      public java.lang.String getZipCode() {
62          return zipCode;
63      }
64  
65      public void setZipCode(java.lang.String zipCode) {
66          this.zipCode = zipCode;
67      }
68  
69      public java.lang.String getCounty() {
70          return county;
71      }
72  
73      public void setCounty(java.lang.String county) {
74          this.county = county;
75      }
76  
77      public java.math.BigDecimal getFromLongitude() {
78          return fromLongitude;
79      }
80  
81      public void setFromLongitude(java.math.BigDecimal fromLongitude) {
82          this.fromLongitude = fromLongitude;
83      }
84  
85      public java.math.BigDecimal getFromLatitude() {
86          return fromLatitude;
87      }
88  
89      public void setFromLatitude(java.math.BigDecimal fromLatitude) {
90          this.fromLatitude = fromLatitude;
91      }
92  
93      public java.math.BigDecimal getToLongitude() {
94          return toLongitude;
95      }
96  
97      public void setToLongitude(java.math.BigDecimal toLongitude) {
98          this.toLongitude = toLongitude;
99      }
100 
101     public java.math.BigDecimal getToLatitude() {
102         return toLatitude;
103     }
104 
105     public void setToLatitude(java.math.BigDecimal toLatitude) {
106         this.toLatitude = toLatitude;
107     }
108 
109     public java.math.BigDecimal getAvgLongitude() {
110         return avgLongitude;
111     }
112 
113     public void setAvgLongitude(java.math.BigDecimal avgLongitude) {
114         this.avgLongitude = avgLongitude;
115     }
116 
117     public java.math.BigDecimal getAvgLatitude() {
118         return avgLatitude;
119     }
120 
121     public void setAvgLatitude(java.math.BigDecimal avgLatitude) {
122         this.avgLatitude = avgLatitude;
123     }
124 
125     public java.lang.String getCMSA() {
126         return CMSA;
127     }
128 
129     public void setCMSA(java.lang.String CMSA) {
130         this.CMSA = CMSA;
131     }
132 
133     public java.lang.String getPMSA() {
134         return PMSA;
135     }
136 
137     public void setPMSA(java.lang.String PMSA) {
138         this.PMSA = PMSA;
139     }
140 
141     private java.lang.Object __equalsCalc = null;
142     public synchronized boolean equals(java.lang.Object obj) {
143         if (!(obj instanceof LatLongReturn)) return false;
144         LatLongReturn other = (LatLongReturn) obj;
145         if (obj == null) return false;
146         if (this == obj) return true;
147         if (__equalsCalc != null) {
148             return (__equalsCalc == obj);
149         }
150         __equalsCalc = obj;
151         boolean _equals;
152         _equals = true && 
153             serviceError == other.isServiceError() &&
154             addressError == other.isAddressError() &&
155             ((city==null && other.getCity()==null) || 
156              (city!=null &&
157               city.equals(other.getCity()))) &&
158             ((stateAbbrev==null && other.getStateAbbrev()==null) || 
159              (stateAbbrev!=null &&
160               stateAbbrev.equals(other.getStateAbbrev()))) &&
161             ((zipCode==null && other.getZipCode()==null) || 
162              (zipCode!=null &&
163               zipCode.equals(other.getZipCode()))) &&
164             ((county==null && other.getCounty()==null) || 
165              (county!=null &&
166               county.equals(other.getCounty()))) &&
167             ((fromLongitude==null && other.getFromLongitude()==null) || 
168              (fromLongitude!=null &&
169               fromLongitude.equals(other.getFromLongitude()))) &&
170             ((fromLatitude==null && other.getFromLatitude()==null) || 
171              (fromLatitude!=null &&
172               fromLatitude.equals(other.getFromLatitude()))) &&
173             ((toLongitude==null && other.getToLongitude()==null) || 
174              (toLongitude!=null &&
175               toLongitude.equals(other.getToLongitude()))) &&
176             ((toLatitude==null && other.getToLatitude()==null) || 
177              (toLatitude!=null &&
178               toLatitude.equals(other.getToLatitude()))) &&
179             ((avgLongitude==null && other.getAvgLongitude()==null) || 
180              (avgLongitude!=null &&
181               avgLongitude.equals(other.getAvgLongitude()))) &&
182             ((avgLatitude==null && other.getAvgLatitude()==null) || 
183              (avgLatitude!=null &&
184               avgLatitude.equals(other.getAvgLatitude()))) &&
185             ((CMSA==null && other.getCMSA()==null) || 
186              (CMSA!=null &&
187               CMSA.equals(other.getCMSA()))) &&
188             ((PMSA==null && other.getPMSA()==null) || 
189              (PMSA!=null &&
190               PMSA.equals(other.getPMSA())));
191         __equalsCalc = null;
192         return _equals;
193     }
194 
195     private boolean __hashCodeCalc = false;
196     public synchronized int hashCode() {
197         if (__hashCodeCalc) {
198             return 0;
199         }
200         __hashCodeCalc = true;
201         int _hashCode = 1;
202         _hashCode += new Boolean(isServiceError()).hashCode();
203         _hashCode += new Boolean(isAddressError()).hashCode();
204         if (getCity() != null) {
205             _hashCode += getCity().hashCode();
206         }
207         if (getStateAbbrev() != null) {
208             _hashCode += getStateAbbrev().hashCode();
209         }
210         if (getZipCode() != null) {
211             _hashCode += getZipCode().hashCode();
212         }
213         if (getCounty() != null) {
214             _hashCode += getCounty().hashCode();
215         }
216         if (getFromLongitude() != null) {
217             _hashCode += getFromLongitude().hashCode();
218         }
219         if (getFromLatitude() != null) {
220             _hashCode += getFromLatitude().hashCode();
221         }
222         if (getToLongitude() != null) {
223             _hashCode += getToLongitude().hashCode();
224         }
225         if (getToLatitude() != null) {
226             _hashCode += getToLatitude().hashCode();
227         }
228         if (getAvgLongitude() != null) {
229             _hashCode += getAvgLongitude().hashCode();
230         }
231         if (getAvgLatitude() != null) {
232             _hashCode += getAvgLatitude().hashCode();
233         }
234         if (getCMSA() != null) {
235             _hashCode += getCMSA().hashCode();
236         }
237         if (getPMSA() != null) {
238             _hashCode += getPMSA().hashCode();
239         }
240         __hashCodeCalc = false;
241         return _hashCode;
242     }
243 
244     // Type metadata
245     private static org.apache.axis.description.TypeDesc typeDesc =
246         new org.apache.axis.description.TypeDesc(LatLongReturn.class);
247 
248     static {
249         org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
250         field.setFieldName("serviceError");
251         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "ServiceError"));
252         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
253         typeDesc.addFieldDesc(field);
254         field = new org.apache.axis.description.ElementDesc();
255         field.setFieldName("addressError");
256         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "AddressError"));
257         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
258         typeDesc.addFieldDesc(field);
259         field = new org.apache.axis.description.ElementDesc();
260         field.setFieldName("city");
261         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "City"));
262         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
263         field.setMinOccursIs0(true);
264         typeDesc.addFieldDesc(field);
265         field = new org.apache.axis.description.ElementDesc();
266         field.setFieldName("stateAbbrev");
267         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "StateAbbrev"));
268         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
269         field.setMinOccursIs0(true);
270         typeDesc.addFieldDesc(field);
271         field = new org.apache.axis.description.ElementDesc();
272         field.setFieldName("zipCode");
273         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "ZipCode"));
274         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
275         field.setMinOccursIs0(true);
276         typeDesc.addFieldDesc(field);
277         field = new org.apache.axis.description.ElementDesc();
278         field.setFieldName("county");
279         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "County"));
280         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
281         field.setMinOccursIs0(true);
282         typeDesc.addFieldDesc(field);
283         field = new org.apache.axis.description.ElementDesc();
284         field.setFieldName("fromLongitude");
285         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "FromLongitude"));
286         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
287         typeDesc.addFieldDesc(field);
288         field = new org.apache.axis.description.ElementDesc();
289         field.setFieldName("fromLatitude");
290         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "FromLatitude"));
291         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
292         typeDesc.addFieldDesc(field);
293         field = new org.apache.axis.description.ElementDesc();
294         field.setFieldName("toLongitude");
295         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "ToLongitude"));
296         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
297         typeDesc.addFieldDesc(field);
298         field = new org.apache.axis.description.ElementDesc();
299         field.setFieldName("toLatitude");
300         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "ToLatitude"));
301         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
302         typeDesc.addFieldDesc(field);
303         field = new org.apache.axis.description.ElementDesc();
304         field.setFieldName("avgLongitude");
305         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "AvgLongitude"));
306         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
307         typeDesc.addFieldDesc(field);
308         field = new org.apache.axis.description.ElementDesc();
309         field.setFieldName("avgLatitude");
310         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "AvgLatitude"));
311         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
312         typeDesc.addFieldDesc(field);
313         field = new org.apache.axis.description.ElementDesc();
314         field.setFieldName("CMSA");
315         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "CMSA"));
316         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
317         field.setMinOccursIs0(true);
318         typeDesc.addFieldDesc(field);
319         field = new org.apache.axis.description.ElementDesc();
320         field.setFieldName("PMSA");
321         field.setXmlName(new javax.xml.namespace.QName("http://ws.cdyne.com", "PMSA"));
322         field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
323         field.setMinOccursIs0(true);
324         typeDesc.addFieldDesc(field);
325     };
326 
327     /**
328      * Return type metadata object
329      */
330     public static org.apache.axis.description.TypeDesc getTypeDesc() {
331         return typeDesc;
332     }
333 
334     /**
335      * Get Custom Serializer
336      */
337     public static org.apache.axis.encoding.Serializer getSerializer(
338            java.lang.String mechType, 
339            java.lang.Class _javaType,  
340            javax.xml.namespace.QName _xmlType) {
341         return 
342           new  org.apache.axis.encoding.ser.BeanSerializer(
343             _javaType, _xmlType, typeDesc);
344     }
345 
346     /**
347      * Get Custom Deserializer
348      */
349     public static org.apache.axis.encoding.Deserializer getDeserializer(
350            java.lang.String mechType, 
351            java.lang.Class _javaType,  
352            javax.xml.namespace.QName _xmlType) {
353         return 
354           new  org.apache.axis.encoding.ser.BeanDeserializer(
355             _javaType, _xmlType, typeDesc);
356     }
357 
358 }