/**
 * BulkInsertIQInfo.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.izouma.webservice.wsVeterinary;

public class BulkInsertIQInfo  implements java.io.Serializable {
    private java.lang.String farmName;

    private java.lang.String groupNO;

    private java.lang.String taskNO;

    private java.lang.String qResult;

    private java.lang.String reaction;

    private java.lang.String operators;

    public BulkInsertIQInfo() {
    }

    public BulkInsertIQInfo(
           java.lang.String farmName,
           java.lang.String groupNO,
           java.lang.String taskNO,
           java.lang.String qResult,
           java.lang.String reaction,
           java.lang.String operators) {
           this.farmName = farmName;
           this.groupNO = groupNO;
           this.taskNO = taskNO;
           this.qResult = qResult;
           this.reaction = reaction;
           this.operators = operators;
    }


    /**
     * Gets the farmName value for this BulkInsertIQInfo.
     * 
     * @return farmName
     */
    public java.lang.String getFarmName() {
        return farmName;
    }


    /**
     * Sets the farmName value for this BulkInsertIQInfo.
     * 
     * @param farmName
     */
    public void setFarmName(java.lang.String farmName) {
        this.farmName = farmName;
    }


    /**
     * Gets the groupNO value for this BulkInsertIQInfo.
     * 
     * @return groupNO
     */
    public java.lang.String getGroupNO() {
        return groupNO;
    }


    /**
     * Sets the groupNO value for this BulkInsertIQInfo.
     * 
     * @param groupNO
     */
    public void setGroupNO(java.lang.String groupNO) {
        this.groupNO = groupNO;
    }


    /**
     * Gets the taskNO value for this BulkInsertIQInfo.
     * 
     * @return taskNO
     */
    public java.lang.String getTaskNO() {
        return taskNO;
    }


    /**
     * Sets the taskNO value for this BulkInsertIQInfo.
     * 
     * @param taskNO
     */
    public void setTaskNO(java.lang.String taskNO) {
        this.taskNO = taskNO;
    }


    /**
     * Gets the qResult value for this BulkInsertIQInfo.
     * 
     * @return qResult
     */
    public java.lang.String getQResult() {
        return qResult;
    }


    /**
     * Sets the qResult value for this BulkInsertIQInfo.
     * 
     * @param qResult
     */
    public void setQResult(java.lang.String qResult) {
        this.qResult = qResult;
    }


    /**
     * Gets the reaction value for this BulkInsertIQInfo.
     * 
     * @return reaction
     */
    public java.lang.String getReaction() {
        return reaction;
    }


    /**
     * Sets the reaction value for this BulkInsertIQInfo.
     * 
     * @param reaction
     */
    public void setReaction(java.lang.String reaction) {
        this.reaction = reaction;
    }


    /**
     * Gets the operators value for this BulkInsertIQInfo.
     * 
     * @return operators
     */
    public java.lang.String getOperators() {
        return operators;
    }


    /**
     * Sets the operators value for this BulkInsertIQInfo.
     * 
     * @param operators
     */
    public void setOperators(java.lang.String operators) {
        this.operators = operators;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof BulkInsertIQInfo)) return false;
        BulkInsertIQInfo other = (BulkInsertIQInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.farmName==null && other.getFarmName()==null) || 
             (this.farmName!=null &&
              this.farmName.equals(other.getFarmName()))) &&
            ((this.groupNO==null && other.getGroupNO()==null) || 
             (this.groupNO!=null &&
              this.groupNO.equals(other.getGroupNO()))) &&
            ((this.taskNO==null && other.getTaskNO()==null) || 
             (this.taskNO!=null &&
              this.taskNO.equals(other.getTaskNO()))) &&
            ((this.qResult==null && other.getQResult()==null) || 
             (this.qResult!=null &&
              this.qResult.equals(other.getQResult()))) &&
            ((this.reaction==null && other.getReaction()==null) || 
             (this.reaction!=null &&
              this.reaction.equals(other.getReaction()))) &&
            ((this.operators==null && other.getOperators()==null) || 
             (this.operators!=null &&
              this.operators.equals(other.getOperators())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getFarmName() != null) {
            _hashCode += getFarmName().hashCode();
        }
        if (getGroupNO() != null) {
            _hashCode += getGroupNO().hashCode();
        }
        if (getTaskNO() != null) {
            _hashCode += getTaskNO().hashCode();
        }
        if (getQResult() != null) {
            _hashCode += getQResult().hashCode();
        }
        if (getReaction() != null) {
            _hashCode += getReaction().hashCode();
        }
        if (getOperators() != null) {
            _hashCode += getOperators().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", ">bulkInsertIQInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("farmName");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "farmName"));
        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("groupNO");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "groupNO"));
        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("taskNO");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "taskNO"));
        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("QResult");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "qResult"));
        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("reaction");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "reaction"));
        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("operators");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "operators"));
        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);
    }

}
