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

    private java.util.Calendar hoofDate;

    private java.lang.String currFarm;

    private java.lang.String drugX;

    private java.math.BigDecimal drugXConcentration;

    private java.lang.String drugY;

    private java.math.BigDecimal drugYConcentration;

    private int cowCount;

    private java.lang.String operators;

    public HoofInfo() {
    }

    public HoofInfo(
           java.lang.String groupNO,
           java.util.Calendar hoofDate,
           java.lang.String currFarm,
           java.lang.String drugX,
           java.math.BigDecimal drugXConcentration,
           java.lang.String drugY,
           java.math.BigDecimal drugYConcentration,
           int cowCount,
           java.lang.String operators) {
           this.groupNO = groupNO;
           this.hoofDate = hoofDate;
           this.currFarm = currFarm;
           this.drugX = drugX;
           this.drugXConcentration = drugXConcentration;
           this.drugY = drugY;
           this.drugYConcentration = drugYConcentration;
           this.cowCount = cowCount;
           this.operators = operators;
    }


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


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


    /**
     * Gets the hoofDate value for this HoofInfo.
     * 
     * @return hoofDate
     */
    public java.util.Calendar getHoofDate() {
        return hoofDate;
    }


    /**
     * Sets the hoofDate value for this HoofInfo.
     * 
     * @param hoofDate
     */
    public void setHoofDate(java.util.Calendar hoofDate) {
        this.hoofDate = hoofDate;
    }


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


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


    /**
     * Gets the drugX value for this HoofInfo.
     * 
     * @return drugX
     */
    public java.lang.String getDrugX() {
        return drugX;
    }


    /**
     * Sets the drugX value for this HoofInfo.
     * 
     * @param drugX
     */
    public void setDrugX(java.lang.String drugX) {
        this.drugX = drugX;
    }


    /**
     * Gets the drugXConcentration value for this HoofInfo.
     * 
     * @return drugXConcentration
     */
    public java.math.BigDecimal getDrugXConcentration() {
        return drugXConcentration;
    }


    /**
     * Sets the drugXConcentration value for this HoofInfo.
     * 
     * @param drugXConcentration
     */
    public void setDrugXConcentration(java.math.BigDecimal drugXConcentration) {
        this.drugXConcentration = drugXConcentration;
    }


    /**
     * Gets the drugY value for this HoofInfo.
     * 
     * @return drugY
     */
    public java.lang.String getDrugY() {
        return drugY;
    }


    /**
     * Sets the drugY value for this HoofInfo.
     * 
     * @param drugY
     */
    public void setDrugY(java.lang.String drugY) {
        this.drugY = drugY;
    }


    /**
     * Gets the drugYConcentration value for this HoofInfo.
     * 
     * @return drugYConcentration
     */
    public java.math.BigDecimal getDrugYConcentration() {
        return drugYConcentration;
    }


    /**
     * Sets the drugYConcentration value for this HoofInfo.
     * 
     * @param drugYConcentration
     */
    public void setDrugYConcentration(java.math.BigDecimal drugYConcentration) {
        this.drugYConcentration = drugYConcentration;
    }


    /**
     * Gets the cowCount value for this HoofInfo.
     * 
     * @return cowCount
     */
    public int getCowCount() {
        return cowCount;
    }


    /**
     * Sets the cowCount value for this HoofInfo.
     * 
     * @param cowCount
     */
    public void setCowCount(int cowCount) {
        this.cowCount = cowCount;
    }


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


    /**
     * Sets the operators value for this HoofInfo.
     * 
     * @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 HoofInfo)) return false;
        HoofInfo other = (HoofInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.groupNO==null && other.getGroupNO()==null) || 
             (this.groupNO!=null &&
              this.groupNO.equals(other.getGroupNO()))) &&
            ((this.hoofDate==null && other.getHoofDate()==null) || 
             (this.hoofDate!=null &&
              this.hoofDate.equals(other.getHoofDate()))) &&
            ((this.currFarm==null && other.getCurrFarm()==null) || 
             (this.currFarm!=null &&
              this.currFarm.equals(other.getCurrFarm()))) &&
            ((this.drugX==null && other.getDrugX()==null) || 
             (this.drugX!=null &&
              this.drugX.equals(other.getDrugX()))) &&
            ((this.drugXConcentration==null && other.getDrugXConcentration()==null) || 
             (this.drugXConcentration!=null &&
              this.drugXConcentration.equals(other.getDrugXConcentration()))) &&
            ((this.drugY==null && other.getDrugY()==null) || 
             (this.drugY!=null &&
              this.drugY.equals(other.getDrugY()))) &&
            ((this.drugYConcentration==null && other.getDrugYConcentration()==null) || 
             (this.drugYConcentration!=null &&
              this.drugYConcentration.equals(other.getDrugYConcentration()))) &&
            this.cowCount == other.getCowCount() &&
            ((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 (getGroupNO() != null) {
            _hashCode += getGroupNO().hashCode();
        }
        if (getHoofDate() != null) {
            _hashCode += getHoofDate().hashCode();
        }
        if (getCurrFarm() != null) {
            _hashCode += getCurrFarm().hashCode();
        }
        if (getDrugX() != null) {
            _hashCode += getDrugX().hashCode();
        }
        if (getDrugXConcentration() != null) {
            _hashCode += getDrugXConcentration().hashCode();
        }
        if (getDrugY() != null) {
            _hashCode += getDrugY().hashCode();
        }
        if (getDrugYConcentration() != null) {
            _hashCode += getDrugYConcentration().hashCode();
        }
        _hashCode += getCowCount();
        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(HoofInfo.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "HoofInfo"));
        org.apache.axis.description.ElementDesc 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("hoofDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "HoofDate"));
        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("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("drugX");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DrugX"));
        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("drugXConcentration");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DrugXConcentration"));
        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("drugY");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DrugY"));
        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("drugYConcentration");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DrugYConcentration"));
        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("cowCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CowCount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        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);
    }

}
