审查视图

src/main/java/billcheckservice/QueryData.java 9.3 KB
fujinghui authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
/**
 * QueryData.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package billcheckservice;

public class QueryData  implements java.io.Serializable {
    private int end_position;

    private java.lang.String end_time;

    private int page_length;

    private int pubstation_code;

    private int start_page;

    private int start_position;

    private java.lang.String start_time;

    public QueryData() {
    }

    public QueryData(
           int end_position,
           java.lang.String end_time,
           int page_length,
           int pubstation_code,
           int start_page,
           int start_position,
           java.lang.String start_time) {
           this.end_position = end_position;
           this.end_time = end_time;
           this.page_length = page_length;
           this.pubstation_code = pubstation_code;
           this.start_page = start_page;
           this.start_position = start_position;
           this.start_time = start_time;
    }


    /**
     * Gets the end_position value for this QueryData.
     * 
     * @return end_position
     */
    public int getEnd_position() {
        return end_position;
    }


    /**
     * Sets the end_position value for this QueryData.
     * 
     * @param end_position
     */
    public void setEnd_position(int end_position) {
        this.end_position = end_position;
    }


    /**
     * Gets the end_time value for this QueryData.
     * 
     * @return end_time
     */
    public java.lang.String getEnd_time() {
        return end_time;
    }


    /**
     * Sets the end_time value for this QueryData.
     * 
     * @param end_time
     */
    public void setEnd_time(java.lang.String end_time) {
        this.end_time = end_time;
    }


    /**
     * Gets the page_length value for this QueryData.
     * 
     * @return page_length
     */
    public int getPage_length() {
        return page_length;
    }


    /**
     * Sets the page_length value for this QueryData.
     * 
     * @param page_length
     */
    public void setPage_length(int page_length) {
        this.page_length = page_length;
    }


    /**
     * Gets the pubstation_code value for this QueryData.
     * 
     * @return pubstation_code
     */
    public int getPubstation_code() {
        return pubstation_code;
    }


    /**
     * Sets the pubstation_code value for this QueryData.
     * 
     * @param pubstation_code
     */
    public void setPubstation_code(int pubstation_code) {
        this.pubstation_code = pubstation_code;
    }


    /**
     * Gets the start_page value for this QueryData.
     * 
     * @return start_page
     */
    public int getStart_page() {
        return start_page;
    }


    /**
     * Sets the start_page value for this QueryData.
     * 
     * @param start_page
     */
    public void setStart_page(int start_page) {
        this.start_page = start_page;
    }


    /**
     * Gets the start_position value for this QueryData.
     * 
     * @return start_position
     */
    public int getStart_position() {
        return start_position;
    }


    /**
     * Sets the start_position value for this QueryData.
     * 
     * @param start_position
     */
    public void setStart_position(int start_position) {
        this.start_position = start_position;
    }


    /**
     * Gets the start_time value for this QueryData.
     * 
     * @return start_time
     */
    public java.lang.String getStart_time() {
        return start_time;
    }


    /**
     * Sets the start_time value for this QueryData.
     * 
     * @param start_time
     */
    public void setStart_time(java.lang.String start_time) {
        this.start_time = start_time;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof QueryData)) return false;
        QueryData other = (QueryData) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            this.end_position == other.getEnd_position() &&
            ((this.end_time==null && other.getEnd_time()==null) || 
             (this.end_time!=null &&
              this.end_time.equals(other.getEnd_time()))) &&
            this.page_length == other.getPage_length() &&
            this.pubstation_code == other.getPubstation_code() &&
            this.start_page == other.getStart_page() &&
            this.start_position == other.getStart_position() &&
            ((this.start_time==null && other.getStart_time()==null) || 
             (this.start_time!=null &&
              this.start_time.equals(other.getStart_time())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        _hashCode += getEnd_position();
        if (getEnd_time() != null) {
            _hashCode += getEnd_time().hashCode();
        }
        _hashCode += getPage_length();
        _hashCode += getPubstation_code();
        _hashCode += getStart_page();
        _hashCode += getStart_position();
        if (getStart_time() != null) {
            _hashCode += getStart_time().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(QueryData.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://service/", "queryData"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("end_position");
        elemField.setXmlName(new javax.xml.namespace.QName("", "end_position"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("end_time");
        elemField.setXmlName(new javax.xml.namespace.QName("", "end_time"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("page_length");
        elemField.setXmlName(new javax.xml.namespace.QName("", "page_length"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("pubstation_code");
        elemField.setXmlName(new javax.xml.namespace.QName("", "pubstation_code"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("start_page");
        elemField.setXmlName(new javax.xml.namespace.QName("", "start_page"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("start_position");
        elemField.setXmlName(new javax.xml.namespace.QName("", "start_position"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("start_time");
        elemField.setXmlName(new javax.xml.namespace.QName("", "start_time"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}