Back to project page foodroid.
The source code is released under:
GNU General Public License
If you think the Android project foodroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * ReportResult.java//from w ww.j av a 2s . c o m * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.adp; public class ReportResult extends com.adp.Result implements java.io.Serializable { private com.adp.OutgoingMessage[] messages; public ReportResult() { } public ReportResult( short status, com.adp.OutgoingMessage[] messages) { super( status); this.messages = messages; } /** * Gets the messages value for this ReportResult. * * @return messages */ public com.adp.OutgoingMessage[] getMessages() { return messages; } /** * Sets the messages value for this ReportResult. * * @param messages */ public void setMessages(com.adp.OutgoingMessage[] messages) { this.messages = messages; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof ReportResult)) return false; ReportResult other = (ReportResult) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = super.equals(obj) && ((this.messages==null && other.getMessages()==null) || (this.messages!=null && java.util.Arrays.equals(this.messages, other.getMessages()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = super.hashCode(); if (getMessages() != null) { for (int i=0; i<java.lang.reflect.Array.getLength(getMessages()); i++) { java.lang.Object obj = java.lang.reflect.Array.get(getMessages(), i); if (obj != null && !obj.getClass().isArray()) { _hashCode += obj.hashCode(); } } } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(ReportResult.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.adpdigital.com/services/messaging", "ReportResult")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("messages"); elemField.setXmlName(new javax.xml.namespace.QName("http://www.adpdigital.com/services/messaging", "messages")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.adpdigital.com/services/messaging", "OutgoingMessage")); elemField.setNillable(true); elemField.setItemQName(new javax.xml.namespace.QName("http://www.adpdigital.com/services/messaging", "messages")); 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); } }