/** * Result.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.shulead.datasync.portalcoupon; public class Result implements java.io.Serializable { private String code; private String errorInfo; private String msg; private Object[] result; public Result() { } public Result( String code, String errorInfo, String msg, Object[] result) { this.code = code; this.errorInfo = errorInfo; this.msg = msg; this.result = result; } /** * Gets the code value for this Result. * * @return code */ public String getCode() { return code; } /** * Sets the code value for this Result. * * @param code */ public void setCode(String code) { this.code = code; } /** * Gets the errorInfo value for this Result. * * @return errorInfo */ public String getErrorInfo() { return errorInfo; } /** * Sets the errorInfo value for this Result. * * @param errorInfo */ public void setErrorInfo(String errorInfo) { this.errorInfo = errorInfo; } /** * Gets the msg value for this Result. * * @return msg */ public String getMsg() { return msg; } /** * Sets the msg value for this Result. * * @param msg */ public void setMsg(String msg) { this.msg = msg; } /** * Gets the result value for this Result. * * @return result */ public Object[] getResult() { return result; } /** * Sets the result value for this Result. * * @param result */ public void setResult(Object[] result) { this.result = result; } public Object getResult(int i) { return this.result[i]; } public void setResult(int i, Object _value) { this.result[i] = _value; } private Object __equalsCalc = null; public synchronized boolean equals(Object obj) { if (!(obj instanceof Result)) return false; Result other = (Result) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.code==null && other.getCode()==null) || (this.code!=null && this.code.equals(other.getCode()))) && ((this.errorInfo==null && other.getErrorInfo()==null) || (this.errorInfo!=null && this.errorInfo.equals(other.getErrorInfo()))) && ((this.msg==null && other.getMsg()==null) || (this.msg!=null && this.msg.equals(other.getMsg()))) && ((this.result==null && other.getResult()==null) || (this.result!=null && java.util.Arrays.equals(this.result, other.getResult()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getCode() != null) { _hashCode += getCode().hashCode(); } if (getErrorInfo() != null) { _hashCode += getErrorInfo().hashCode(); } if (getMsg() != null) { _hashCode += getMsg().hashCode(); } if (getResult() != null) { for (int i=0; i