001: /**
002: * LatLongReturn.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis WSDL2Java emitter.
006: */package complexsoap.client.stub.com.cdyne.ws;
007:
008: public class LatLongReturn implements java.io.Serializable {
009: private boolean serviceError;
010: private boolean addressError;
011: private java.lang.String city;
012: private java.lang.String stateAbbrev;
013: private java.lang.String zipCode;
014: private java.lang.String county;
015: private java.math.BigDecimal fromLongitude;
016: private java.math.BigDecimal fromLatitude;
017: private java.math.BigDecimal toLongitude;
018: private java.math.BigDecimal toLatitude;
019: private java.math.BigDecimal avgLongitude;
020: private java.math.BigDecimal avgLatitude;
021: private java.lang.String CMSA;
022: private java.lang.String PMSA;
023:
024: public LatLongReturn() {
025: }
026:
027: public boolean isServiceError() {
028: return serviceError;
029: }
030:
031: public void setServiceError(boolean serviceError) {
032: this .serviceError = serviceError;
033: }
034:
035: public boolean isAddressError() {
036: return addressError;
037: }
038:
039: public void setAddressError(boolean addressError) {
040: this .addressError = addressError;
041: }
042:
043: public java.lang.String getCity() {
044: return city;
045: }
046:
047: public void setCity(java.lang.String city) {
048: this .city = city;
049: }
050:
051: public java.lang.String getStateAbbrev() {
052: return stateAbbrev;
053: }
054:
055: public void setStateAbbrev(java.lang.String stateAbbrev) {
056: this .stateAbbrev = stateAbbrev;
057: }
058:
059: public java.lang.String getZipCode() {
060: return zipCode;
061: }
062:
063: public void setZipCode(java.lang.String zipCode) {
064: this .zipCode = zipCode;
065: }
066:
067: public java.lang.String getCounty() {
068: return county;
069: }
070:
071: public void setCounty(java.lang.String county) {
072: this .county = county;
073: }
074:
075: public java.math.BigDecimal getFromLongitude() {
076: return fromLongitude;
077: }
078:
079: public void setFromLongitude(java.math.BigDecimal fromLongitude) {
080: this .fromLongitude = fromLongitude;
081: }
082:
083: public java.math.BigDecimal getFromLatitude() {
084: return fromLatitude;
085: }
086:
087: public void setFromLatitude(java.math.BigDecimal fromLatitude) {
088: this .fromLatitude = fromLatitude;
089: }
090:
091: public java.math.BigDecimal getToLongitude() {
092: return toLongitude;
093: }
094:
095: public void setToLongitude(java.math.BigDecimal toLongitude) {
096: this .toLongitude = toLongitude;
097: }
098:
099: public java.math.BigDecimal getToLatitude() {
100: return toLatitude;
101: }
102:
103: public void setToLatitude(java.math.BigDecimal toLatitude) {
104: this .toLatitude = toLatitude;
105: }
106:
107: public java.math.BigDecimal getAvgLongitude() {
108: return avgLongitude;
109: }
110:
111: public void setAvgLongitude(java.math.BigDecimal avgLongitude) {
112: this .avgLongitude = avgLongitude;
113: }
114:
115: public java.math.BigDecimal getAvgLatitude() {
116: return avgLatitude;
117: }
118:
119: public void setAvgLatitude(java.math.BigDecimal avgLatitude) {
120: this .avgLatitude = avgLatitude;
121: }
122:
123: public java.lang.String getCMSA() {
124: return CMSA;
125: }
126:
127: public void setCMSA(java.lang.String CMSA) {
128: this .CMSA = CMSA;
129: }
130:
131: public java.lang.String getPMSA() {
132: return PMSA;
133: }
134:
135: public void setPMSA(java.lang.String PMSA) {
136: this .PMSA = PMSA;
137: }
138:
139: private java.lang.Object __equalsCalc = null;
140:
141: public synchronized boolean equals(java.lang.Object obj) {
142: if (!(obj instanceof LatLongReturn))
143: return false;
144: LatLongReturn other = (LatLongReturn) obj;
145: if (obj == null)
146: return false;
147: if (this == obj)
148: return true;
149: if (__equalsCalc != null) {
150: return (__equalsCalc == obj);
151: }
152: __equalsCalc = obj;
153: boolean _equals;
154: _equals = true
155: && serviceError == other.isServiceError()
156: && addressError == other.isAddressError()
157: && ((city == null && other.getCity() == null) || (city != null && city
158: .equals(other.getCity())))
159: && ((stateAbbrev == null && other.getStateAbbrev() == null) || (stateAbbrev != null && stateAbbrev
160: .equals(other.getStateAbbrev())))
161: && ((zipCode == null && other.getZipCode() == null) || (zipCode != null && zipCode
162: .equals(other.getZipCode())))
163: && ((county == null && other.getCounty() == null) || (county != null && county
164: .equals(other.getCounty())))
165: && ((fromLongitude == null && other.getFromLongitude() == null) || (fromLongitude != null && fromLongitude
166: .equals(other.getFromLongitude())))
167: && ((fromLatitude == null && other.getFromLatitude() == null) || (fromLatitude != null && fromLatitude
168: .equals(other.getFromLatitude())))
169: && ((toLongitude == null && other.getToLongitude() == null) || (toLongitude != null && toLongitude
170: .equals(other.getToLongitude())))
171: && ((toLatitude == null && other.getToLatitude() == null) || (toLatitude != null && toLatitude
172: .equals(other.getToLatitude())))
173: && ((avgLongitude == null && other.getAvgLongitude() == null) || (avgLongitude != null && avgLongitude
174: .equals(other.getAvgLongitude())))
175: && ((avgLatitude == null && other.getAvgLatitude() == null) || (avgLatitude != null && avgLatitude
176: .equals(other.getAvgLatitude())))
177: && ((CMSA == null && other.getCMSA() == null) || (CMSA != null && CMSA
178: .equals(other.getCMSA())))
179: && ((PMSA == null && other.getPMSA() == null) || (PMSA != null && PMSA
180: .equals(other.getPMSA())));
181: __equalsCalc = null;
182: return _equals;
183: }
184:
185: private boolean __hashCodeCalc = false;
186:
187: public synchronized int hashCode() {
188: if (__hashCodeCalc) {
189: return 0;
190: }
191: __hashCodeCalc = true;
192: int _hashCode = 1;
193: _hashCode += new Boolean(isServiceError()).hashCode();
194: _hashCode += new Boolean(isAddressError()).hashCode();
195: if (getCity() != null) {
196: _hashCode += getCity().hashCode();
197: }
198: if (getStateAbbrev() != null) {
199: _hashCode += getStateAbbrev().hashCode();
200: }
201: if (getZipCode() != null) {
202: _hashCode += getZipCode().hashCode();
203: }
204: if (getCounty() != null) {
205: _hashCode += getCounty().hashCode();
206: }
207: if (getFromLongitude() != null) {
208: _hashCode += getFromLongitude().hashCode();
209: }
210: if (getFromLatitude() != null) {
211: _hashCode += getFromLatitude().hashCode();
212: }
213: if (getToLongitude() != null) {
214: _hashCode += getToLongitude().hashCode();
215: }
216: if (getToLatitude() != null) {
217: _hashCode += getToLatitude().hashCode();
218: }
219: if (getAvgLongitude() != null) {
220: _hashCode += getAvgLongitude().hashCode();
221: }
222: if (getAvgLatitude() != null) {
223: _hashCode += getAvgLatitude().hashCode();
224: }
225: if (getCMSA() != null) {
226: _hashCode += getCMSA().hashCode();
227: }
228: if (getPMSA() != null) {
229: _hashCode += getPMSA().hashCode();
230: }
231: __hashCodeCalc = false;
232: return _hashCode;
233: }
234:
235: // Type metadata
236: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
237: LatLongReturn.class);
238:
239: static {
240: org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
241: field.setFieldName("serviceError");
242: field.setXmlName(new javax.xml.namespace.QName(
243: "http://ws.cdyne.com", "ServiceError"));
244: field.setXmlType(new javax.xml.namespace.QName(
245: "http://www.w3.org/2001/XMLSchema", "boolean"));
246: typeDesc.addFieldDesc(field);
247: field = new org.apache.axis.description.ElementDesc();
248: field.setFieldName("addressError");
249: field.setXmlName(new javax.xml.namespace.QName(
250: "http://ws.cdyne.com", "AddressError"));
251: field.setXmlType(new javax.xml.namespace.QName(
252: "http://www.w3.org/2001/XMLSchema", "boolean"));
253: typeDesc.addFieldDesc(field);
254: field = new org.apache.axis.description.ElementDesc();
255: field.setFieldName("city");
256: field.setXmlName(new javax.xml.namespace.QName(
257: "http://ws.cdyne.com", "City"));
258: field.setXmlType(new javax.xml.namespace.QName(
259: "http://www.w3.org/2001/XMLSchema", "string"));
260: field.setMinOccursIs0(true);
261: typeDesc.addFieldDesc(field);
262: field = new org.apache.axis.description.ElementDesc();
263: field.setFieldName("stateAbbrev");
264: field.setXmlName(new javax.xml.namespace.QName(
265: "http://ws.cdyne.com", "StateAbbrev"));
266: field.setXmlType(new javax.xml.namespace.QName(
267: "http://www.w3.org/2001/XMLSchema", "string"));
268: field.setMinOccursIs0(true);
269: typeDesc.addFieldDesc(field);
270: field = new org.apache.axis.description.ElementDesc();
271: field.setFieldName("zipCode");
272: field.setXmlName(new javax.xml.namespace.QName(
273: "http://ws.cdyne.com", "ZipCode"));
274: field.setXmlType(new javax.xml.namespace.QName(
275: "http://www.w3.org/2001/XMLSchema", "string"));
276: field.setMinOccursIs0(true);
277: typeDesc.addFieldDesc(field);
278: field = new org.apache.axis.description.ElementDesc();
279: field.setFieldName("county");
280: field.setXmlName(new javax.xml.namespace.QName(
281: "http://ws.cdyne.com", "County"));
282: field.setXmlType(new javax.xml.namespace.QName(
283: "http://www.w3.org/2001/XMLSchema", "string"));
284: field.setMinOccursIs0(true);
285: typeDesc.addFieldDesc(field);
286: field = new org.apache.axis.description.ElementDesc();
287: field.setFieldName("fromLongitude");
288: field.setXmlName(new javax.xml.namespace.QName(
289: "http://ws.cdyne.com", "FromLongitude"));
290: field.setXmlType(new javax.xml.namespace.QName(
291: "http://www.w3.org/2001/XMLSchema", "decimal"));
292: typeDesc.addFieldDesc(field);
293: field = new org.apache.axis.description.ElementDesc();
294: field.setFieldName("fromLatitude");
295: field.setXmlName(new javax.xml.namespace.QName(
296: "http://ws.cdyne.com", "FromLatitude"));
297: field.setXmlType(new javax.xml.namespace.QName(
298: "http://www.w3.org/2001/XMLSchema", "decimal"));
299: typeDesc.addFieldDesc(field);
300: field = new org.apache.axis.description.ElementDesc();
301: field.setFieldName("toLongitude");
302: field.setXmlName(new javax.xml.namespace.QName(
303: "http://ws.cdyne.com", "ToLongitude"));
304: field.setXmlType(new javax.xml.namespace.QName(
305: "http://www.w3.org/2001/XMLSchema", "decimal"));
306: typeDesc.addFieldDesc(field);
307: field = new org.apache.axis.description.ElementDesc();
308: field.setFieldName("toLatitude");
309: field.setXmlName(new javax.xml.namespace.QName(
310: "http://ws.cdyne.com", "ToLatitude"));
311: field.setXmlType(new javax.xml.namespace.QName(
312: "http://www.w3.org/2001/XMLSchema", "decimal"));
313: typeDesc.addFieldDesc(field);
314: field = new org.apache.axis.description.ElementDesc();
315: field.setFieldName("avgLongitude");
316: field.setXmlName(new javax.xml.namespace.QName(
317: "http://ws.cdyne.com", "AvgLongitude"));
318: field.setXmlType(new javax.xml.namespace.QName(
319: "http://www.w3.org/2001/XMLSchema", "decimal"));
320: typeDesc.addFieldDesc(field);
321: field = new org.apache.axis.description.ElementDesc();
322: field.setFieldName("avgLatitude");
323: field.setXmlName(new javax.xml.namespace.QName(
324: "http://ws.cdyne.com", "AvgLatitude"));
325: field.setXmlType(new javax.xml.namespace.QName(
326: "http://www.w3.org/2001/XMLSchema", "decimal"));
327: typeDesc.addFieldDesc(field);
328: field = new org.apache.axis.description.ElementDesc();
329: field.setFieldName("CMSA");
330: field.setXmlName(new javax.xml.namespace.QName(
331: "http://ws.cdyne.com", "CMSA"));
332: field.setXmlType(new javax.xml.namespace.QName(
333: "http://www.w3.org/2001/XMLSchema", "string"));
334: field.setMinOccursIs0(true);
335: typeDesc.addFieldDesc(field);
336: field = new org.apache.axis.description.ElementDesc();
337: field.setFieldName("PMSA");
338: field.setXmlName(new javax.xml.namespace.QName(
339: "http://ws.cdyne.com", "PMSA"));
340: field.setXmlType(new javax.xml.namespace.QName(
341: "http://www.w3.org/2001/XMLSchema", "string"));
342: field.setMinOccursIs0(true);
343: typeDesc.addFieldDesc(field);
344: };
345:
346: /**
347: * Return type metadata object
348: */
349: public static org.apache.axis.description.TypeDesc getTypeDesc() {
350: return typeDesc;
351: }
352:
353: /**
354: * Get Custom Serializer
355: */
356: public static org.apache.axis.encoding.Serializer getSerializer(
357: java.lang.String mechType, java.lang.Class _javaType,
358: javax.xml.namespace.QName _xmlType) {
359: return new org.apache.axis.encoding.ser.BeanSerializer(
360: _javaType, _xmlType, typeDesc);
361: }
362:
363: /**
364: * Get Custom Deserializer
365: */
366: public static org.apache.axis.encoding.Deserializer getDeserializer(
367: java.lang.String mechType, java.lang.Class _javaType,
368: javax.xml.namespace.QName _xmlType) {
369: return new org.apache.axis.encoding.ser.BeanDeserializer(
370: _javaType, _xmlType, typeDesc);
371: }
372:
373: }
|