Source code: docStyle/zipCodeNW/ShortZipCodeResponse.java
1 /**
2 * ShortZipCodeResponse.java
3 *
4 * This file was auto-generated from WSDL
5 * by the Apache Axis WSDL2Java emitter.
6 */
7
8 package docStyle.zipCodeNW;
9
10 public class ShortZipCodeResponse implements java.io.Serializable {
11 private java.lang.String shortZipCodeResult;
12
13 public ShortZipCodeResponse() {
14 }
15
16 public java.lang.String getShortZipCodeResult() {
17 return shortZipCodeResult;
18 }
19
20 public void setShortZipCodeResult(java.lang.String shortZipCodeResult) {
21 this.shortZipCodeResult = shortZipCodeResult;
22 }
23
24 private java.lang.Object __equalsCalc = null;
25 public synchronized boolean equals(java.lang.Object obj) {
26 if (!(obj instanceof ShortZipCodeResponse)) return false;
27 ShortZipCodeResponse other = (ShortZipCodeResponse) obj;
28 if (obj == null) return false;
29 if (this == obj) return true;
30 if (__equalsCalc != null) {
31 return (__equalsCalc == obj);
32 }
33 __equalsCalc = obj;
34 boolean _equals;
35 _equals = true &&
36 ((shortZipCodeResult==null && other.getShortZipCodeResult()==null) ||
37 (shortZipCodeResult!=null &&
38 shortZipCodeResult.equals(other.getShortZipCodeResult())));
39 __equalsCalc = null;
40 return _equals;
41 }
42
43 private boolean __hashCodeCalc = false;
44 public synchronized int hashCode() {
45 if (__hashCodeCalc) {
46 return 0;
47 }
48 __hashCodeCalc = true;
49 int _hashCode = 1;
50 if (getShortZipCodeResult() != null) {
51 _hashCode += getShortZipCodeResult().hashCode();
52 }
53 __hashCodeCalc = false;
54 return _hashCode;
55 }
56
57 // Type metadata
58 private static org.apache.axis.description.TypeDesc typeDesc =
59 new org.apache.axis.description.TypeDesc(ShortZipCodeResponse.class);
60
61 static {
62 org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
63 field.setFieldName("shortZipCodeResult");
64 field.setXmlName(new javax.xml.namespace.QName("http://webservices.eraserver.net/", "ShortZipCodeResult"));
65 field.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
66 typeDesc.addFieldDesc(field);
67 };
68
69 /**
70 * Return type metadata object
71 */
72 public static org.apache.axis.description.TypeDesc getTypeDesc() {
73 return typeDesc;
74 }
75
76 /**
77 * Get Custom Serializer
78 */
79 public static org.apache.axis.encoding.Serializer getSerializer(
80 java.lang.String mechType,
81 java.lang.Class _javaType,
82 javax.xml.namespace.QName _xmlType) {
83 return
84 new org.apache.axis.encoding.ser.BeanSerializer(
85 _javaType, _xmlType, typeDesc);
86 }
87
88 /**
89 * Get Custom Deserializer
90 */
91 public static org.apache.axis.encoding.Deserializer getDeserializer(
92 java.lang.String mechType,
93 java.lang.Class _javaType,
94 javax.xml.namespace.QName _xmlType) {
95 return
96 new org.apache.axis.encoding.ser.BeanDeserializer(
97 _javaType, _xmlType, typeDesc);
98 }
99
100 }