001: /**
002: * ShortZipCodeResponse.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis WSDL2Java emitter.
006: */package docStyle.zipCodeNW;
007:
008: public class ShortZipCodeResponse implements java.io.Serializable {
009: private java.lang.String shortZipCodeResult;
010:
011: public ShortZipCodeResponse() {
012: }
013:
014: public java.lang.String getShortZipCodeResult() {
015: return shortZipCodeResult;
016: }
017:
018: public void setShortZipCodeResult(
019: java.lang.String shortZipCodeResult) {
020: this .shortZipCodeResult = shortZipCodeResult;
021: }
022:
023: private java.lang.Object __equalsCalc = null;
024:
025: public synchronized boolean equals(java.lang.Object obj) {
026: if (!(obj instanceof ShortZipCodeResponse))
027: return false;
028: ShortZipCodeResponse other = (ShortZipCodeResponse) obj;
029: if (obj == null)
030: return false;
031: if (this == obj)
032: return true;
033: if (__equalsCalc != null) {
034: return (__equalsCalc == obj);
035: }
036: __equalsCalc = obj;
037: boolean _equals;
038: _equals = true && ((shortZipCodeResult == null && other
039: .getShortZipCodeResult() == null) || (shortZipCodeResult != null && shortZipCodeResult
040: .equals(other.getShortZipCodeResult())));
041: __equalsCalc = null;
042: return _equals;
043: }
044:
045: private boolean __hashCodeCalc = false;
046:
047: public synchronized int hashCode() {
048: if (__hashCodeCalc) {
049: return 0;
050: }
051: __hashCodeCalc = true;
052: int _hashCode = 1;
053: if (getShortZipCodeResult() != null) {
054: _hashCode += getShortZipCodeResult().hashCode();
055: }
056: __hashCodeCalc = false;
057: return _hashCode;
058: }
059:
060: // Type metadata
061: private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
062: ShortZipCodeResponse.class);
063:
064: static {
065: org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
066: field.setFieldName("shortZipCodeResult");
067: field.setXmlName(new javax.xml.namespace.QName(
068: "http://webservices.eraserver.net/",
069: "ShortZipCodeResult"));
070: field.setXmlType(new javax.xml.namespace.QName(
071: "http://www.w3.org/2001/XMLSchema", "string"));
072: typeDesc.addFieldDesc(field);
073: };
074:
075: /**
076: * Return type metadata object
077: */
078: public static org.apache.axis.description.TypeDesc getTypeDesc() {
079: return typeDesc;
080: }
081:
082: /**
083: * Get Custom Serializer
084: */
085: public static org.apache.axis.encoding.Serializer getSerializer(
086: java.lang.String mechType, java.lang.Class _javaType,
087: javax.xml.namespace.QName _xmlType) {
088: return new org.apache.axis.encoding.ser.BeanSerializer(
089: _javaType, _xmlType, typeDesc);
090: }
091:
092: /**
093: * Get Custom Deserializer
094: */
095: public static org.apache.axis.encoding.Deserializer getDeserializer(
096: java.lang.String mechType, java.lang.Class _javaType,
097: javax.xml.namespace.QName _xmlType) {
098: return new org.apache.axis.encoding.ser.BeanDeserializer(
099: _javaType, _xmlType, typeDesc);
100: }
101:
102: }
|