/**
 * DisinfectionInfo.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 DisinfectionInfo  implements java.io.Serializable {
    private java.lang.String currFarm;

    private java.util.Calendar disinfectionDate;

    private java.lang.String location;

    private java.lang.String disinfectionDrug;

    private java.lang.String disinfectionMode;

    private java.math.BigDecimal drugDose;

    private java.math.BigDecimal drugConcentration;

    private java.lang.String operators;

    private java.lang.String audit;

    public DisinfectionInfo() {
    }

    public DisinfectionInfo(
           java.lang.String currFarm,
           java.util.Calendar disinfectionDate,
           java.lang.String location,
           java.lang.String disinfectionDrug,
           java.lang.String disinfectionMode,
           java.math.BigDecimal drugDose,
           java.math.BigDecimal drugConcentration,
           java.lang.String operators,
           java.lang.String audit) {
           this.currFarm = currFarm;
           this.disinfectionDate = disinfectionDate;
           this.location = location;
           this.disinfectionDrug = disinfectionDrug;
           this.disinfectionMode = disinfectionMode;
           this.drugDose = drugDose;
           this.drugConcentration = drugConcentration;
           this.operators = operators;
           this.audit = audit;
    }


    /**
     * Gets the currFarm value for this DisinfectionInfo.
     * 
     * @return currFarm
     */
    public java.lang.String getCurrFarm() {
        return currFarm;
    }


    /**
     * Sets the currFarm value for this DisinfectionInfo.
     * 
     * @param currFarm
     */
    public void setCurrFarm(java.lang.String currFarm) {
        this.currFarm = currFarm;
    }


    /**
     * Gets the disinfectionDate value for this DisinfectionInfo.
     * 
     * @return disinfectionDate
     */
    public java.util.Calendar getDisinfectionDate() {
        return disinfectionDate;
    }


    /**
     * Sets the disinfectionDate value for this DisinfectionInfo.
     * 
     * @param disinfectionDate
     */
    public void setDisinfectionDate(java.util.Calendar disinfectionDate) {
        this.disinfectionDate = disinfectionDate;
    }


    /**
     * Gets the location value for this DisinfectionInfo.
     * 
     * @return location
     */
    public java.lang.String getLocation() {
        return location;
    }


    /**
     * Sets the location value for this DisinfectionInfo.
     * 
     * @param location
     */
    public void setLocation(java.lang.String location) {
        this.location = location;
    }


    /**
     * Gets the disinfectionDrug value for this DisinfectionInfo.
     * 
     * @return disinfectionDrug
     */
    public java.lang.String getDisinfectionDrug() {
        return disinfectionDrug;
    }


    /**
     * Sets the disinfectionDrug value for this DisinfectionInfo.
     * 
     * @param disinfectionDrug
     */
    public void setDisinfectionDrug(java.lang.String disinfectionDrug) {
        this.disinfectionDrug = disinfectionDrug;
    }


    /**
     * Gets the disinfectionMode value for this DisinfectionInfo.
     * 
     * @return disinfectionMode
     */
    public java.lang.String getDisinfectionMode() {
        return disinfectionMode;
    }


    /**
     * Sets the disinfectionMode value for this DisinfectionInfo.
     * 
     * @param disinfectionMode
     */
    public void setDisinfectionMode(java.lang.String disinfectionMode) {
        this.disinfectionMode = disinfectionMode;
    }


    /**
     * Gets the drugDose value for this DisinfectionInfo.
     * 
     * @return drugDose
     */
    public java.math.BigDecimal getDrugDose() {
        return drugDose;
    }


    /**
     * Sets the drugDose value for this DisinfectionInfo.
     * 
     * @param drugDose
     */
    public void setDrugDose(java.math.BigDecimal drugDose) {
        this.drugDose = drugDose;
    }


    /**
     * Gets the drugConcentration value for this DisinfectionInfo.
     * 
     * @return drugConcentration
     */
    public java.math.BigDecimal getDrugConcentration() {
        return drugConcentration;
    }


    /**
     * Sets the drugConcentration value for this DisinfectionInfo.
     * 
     * @param drugConcentration
     */
    public void setDrugConcentration(java.math.BigDecimal drugConcentration) {
        this.drugConcentration = drugConcentration;
    }


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


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


    /**
     * Gets the audit value for this DisinfectionInfo.
     * 
     * @return audit
     */
    public java.lang.String getAudit() {
        return audit;
    }


    /**
     * Sets the audit value for this DisinfectionInfo.
     * 
     * @param audit
     */
    public void setAudit(java.lang.String audit) {
        this.audit = audit;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof DisinfectionInfo)) return false;
        DisinfectionInfo other = (DisinfectionInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.currFarm==null && other.getCurrFarm()==null) || 
             (this.currFarm!=null &&
              this.currFarm.equals(other.getCurrFarm()))) &&
            ((this.disinfectionDate==null && other.getDisinfectionDate()==null) || 
             (this.disinfectionDate!=null &&
              this.disinfectionDate.equals(other.getDisinfectionDate()))) &&
            ((this.location==null && other.getLocation()==null) || 
             (this.location!=null &&
              this.location.equals(other.getLocation()))) &&
            ((this.disinfectionDrug==null && other.getDisinfectionDrug()==null) || 
             (this.disinfectionDrug!=null &&
              this.disinfectionDrug.equals(other.getDisinfectionDrug()))) &&
            ((this.disinfectionMode==null && other.getDisinfectionMode()==null) || 
             (this.disinfectionMode!=null &&
              this.disinfectionMode.equals(other.getDisinfectionMode()))) &&
            ((this.drugDose==null && other.getDrugDose()==null) || 
             (this.drugDose!=null &&
              this.drugDose.equals(other.getDrugDose()))) &&
            ((this.drugConcentration==null && other.getDrugConcentration()==null) || 
             (this.drugConcentration!=null &&
              this.drugConcentration.equals(other.getDrugConcentration()))) &&
            ((this.operators==null && other.getOperators()==null) || 
             (this.operators!=null &&
              this.operators.equals(other.getOperators()))) &&
            ((this.audit==null && other.getAudit()==null) || 
             (this.audit!=null &&
              this.audit.equals(other.getAudit())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getCurrFarm() != null) {
            _hashCode += getCurrFarm().hashCode();
        }
        if (getDisinfectionDate() != null) {
            _hashCode += getDisinfectionDate().hashCode();
        }
        if (getLocation() != null) {
            _hashCode += getLocation().hashCode();
        }
        if (getDisinfectionDrug() != null) {
            _hashCode += getDisinfectionDrug().hashCode();
        }
        if (getDisinfectionMode() != null) {
            _hashCode += getDisinfectionMode().hashCode();
        }
        if (getDrugDose() != null) {
            _hashCode += getDrugDose().hashCode();
        }
        if (getDrugConcentration() != null) {
            _hashCode += getDrugConcentration().hashCode();
        }
        if (getOperators() != null) {
            _hashCode += getOperators().hashCode();
        }
        if (getAudit() != null) {
            _hashCode += getAudit().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DisinfectionInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("currFarm");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrFarm"));
        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("disinfectionDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DisinfectionDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("location");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Location"));
        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("disinfectionDrug");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DisinfectionDrug"));
        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("disinfectionMode");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DisinfectionMode"));
        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("drugDose");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DrugDose"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("drugConcentration");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DrugConcentration"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
        elemField.setNillable(true);
        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);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("audit");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Audit"));
        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);
    }

}
