/** * Owner.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */ package rubysoapservices; public class Owner implements java.io.Serializable { private java.lang.String email; private java.lang.String owner_Id; private java.lang.String owner_Name; public Owner() { } public java.lang.String getEmail() { return email; } public void setEmail(java.lang.String email) { this.email = email; } public java.lang.String getOwner_Id() { return owner_Id; } public void setOwner_Id(java.lang.String owner_Id) { this.owner_Id = owner_Id; } public java.lang.String getOwner_Name() { return owner_Name; } public void setOwner_Name(java.lang.String owner_Name) { this.owner_Name = owner_Name; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof Owner)) return false; Owner other = (Owner) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((email==null && other.getEmail()==null) || (email!=null && email.equals(other.getEmail()))) && ((owner_Id==null && other.getOwner_Id()==null) || (owner_Id!=null && owner_Id.equals(other.getOwner_Id()))) && ((owner_Name==null && other.getOwner_Name()==null) || (owner_Name!=null && owner_Name.equals(other.getOwner_Name()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getEmail() != null) { _hashCode += getEmail().hashCode(); } if (getOwner_Id() != null) { _hashCode += getOwner_Id().hashCode(); } if (getOwner_Name() != null) { _hashCode += getOwner_Name().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Owner.class); static { typeDesc.setXmlType(new javax.xml.namespace.QName("urn:rubysoapservices", "Owner")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("email"); elemField.setXmlName(new javax.xml.namespace.QName("", "email")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("owner_Id"); elemField.setXmlName(new javax.xml.namespace.QName("", "owner_id")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("owner_Name"); elemField.setXmlName(new javax.xml.namespace.QName("", "owner_name")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); 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); } }