/** * GW__statsReadMoteStatsRelative_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 gw; public class GW__statsReadMoteStatsRelative_Result implements java.io.Serializable { private java.lang.String reqId; private org.apache.axis.types.UnsignedInt offset; private org.apache.axis.types.UnsignedInt total; private gw.GW__MoteStat_Result[] results; public GW__statsReadMoteStatsRelative_Result() { } public GW__statsReadMoteStatsRelative_Result( java.lang.String reqId, org.apache.axis.types.UnsignedInt offset, org.apache.axis.types.UnsignedInt total, gw.GW__MoteStat_Result[] results) { this.reqId = reqId; this.offset = offset; this.total = total; this.results = results; } /** * Gets the reqId value for this GW__statsReadMoteStatsRelative_Result. * * @return reqId */ public java.lang.String getReqId() { return reqId; } /** * Sets the reqId value for this GW__statsReadMoteStatsRelative_Result. * * @param reqId */ public void setReqId(java.lang.String reqId) { this.reqId = reqId; } /** * Gets the offset value for this GW__statsReadMoteStatsRelative_Result. * * @return offset */ public org.apache.axis.types.UnsignedInt getOffset() { return offset; } /** * Sets the offset value for this GW__statsReadMoteStatsRelative_Result. * * @param offset */ public void setOffset(org.apache.axis.types.UnsignedInt offset) { this.offset = offset; } /** * Gets the total value for this GW__statsReadMoteStatsRelative_Result. * * @return total */ public org.apache.axis.types.UnsignedInt getTotal() { return total; } /** * Sets the total value for this GW__statsReadMoteStatsRelative_Result. * * @param total */ public void setTotal(org.apache.axis.types.UnsignedInt total) { this.total = total; } /** * Gets the results value for this GW__statsReadMoteStatsRelative_Result. * * @return results */ public gw.GW__MoteStat_Result[] getResults() { return results; } /** * Sets the results value for this GW__statsReadMoteStatsRelative_Result. * * @param results */ public void setResults(gw.GW__MoteStat_Result[] results) { this.results = results; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof GW__statsReadMoteStatsRelative_Result)) return false; GW__statsReadMoteStatsRelative_Result other = (GW__statsReadMoteStatsRelative_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.reqId==null && other.getReqId()==null) || (this.reqId!=null && this.reqId.equals(other.getReqId()))) && ((this.offset==null && other.getOffset()==null) || (this.offset!=null && this.offset.equals(other.getOffset()))) && ((this.total==null && other.getTotal()==null) || (this.total!=null && this.total.equals(other.getTotal()))) && ((this.results==null && other.getResults()==null) || (this.results!=null && java.util.Arrays.equals(this.results, other.getResults()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getReqId() != null) { _hashCode += getReqId().hashCode(); } if (getOffset() != null) { _hashCode += getOffset().hashCode(); } if (getTotal() != null) { _hashCode += getTotal().hashCode(); } if (getResults() != null) { for (int i=0; i