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

    private java.util.Calendar checkDate;

    private java.lang.String currFarm;

    private java.lang.String currGroup;

    private java.lang.String currCategory;

    private java.lang.String groCode;

    private java.lang.String repCode;

    private int currLact;

    private int MC_FL;

    private int MC_FR;

    private int MC_BL;

    private int MC_BR;

    private java.lang.String bacilliType;

    private java.lang.String opeators;

    public MastitisCheckInfo() {
    }

    public MastitisCheckInfo(
           java.lang.String cowID,
           java.util.Calendar checkDate,
           java.lang.String currFarm,
           java.lang.String currGroup,
           java.lang.String currCategory,
           java.lang.String groCode,
           java.lang.String repCode,
           int currLact,
           int MC_FL,
           int MC_FR,
           int MC_BL,
           int MC_BR,
           java.lang.String bacilliType,
           java.lang.String opeators) {
           this.cowID = cowID;
           this.checkDate = checkDate;
           this.currFarm = currFarm;
           this.currGroup = currGroup;
           this.currCategory = currCategory;
           this.groCode = groCode;
           this.repCode = repCode;
           this.currLact = currLact;
           this.MC_FL = MC_FL;
           this.MC_FR = MC_FR;
           this.MC_BL = MC_BL;
           this.MC_BR = MC_BR;
           this.bacilliType = bacilliType;
           this.opeators = opeators;
    }


    /**
     * Gets the cowID value for this MastitisCheckInfo.
     * 
     * @return cowID
     */
    public java.lang.String getCowID() {
        return cowID;
    }


    /**
     * Sets the cowID value for this MastitisCheckInfo.
     * 
     * @param cowID
     */
    public void setCowID(java.lang.String cowID) {
        this.cowID = cowID;
    }


    /**
     * Gets the checkDate value for this MastitisCheckInfo.
     * 
     * @return checkDate
     */
    public java.util.Calendar getCheckDate() {
        return checkDate;
    }


    /**
     * Sets the checkDate value for this MastitisCheckInfo.
     * 
     * @param checkDate
     */
    public void setCheckDate(java.util.Calendar checkDate) {
        this.checkDate = checkDate;
    }


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


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


    /**
     * Gets the currGroup value for this MastitisCheckInfo.
     * 
     * @return currGroup
     */
    public java.lang.String getCurrGroup() {
        return currGroup;
    }


    /**
     * Sets the currGroup value for this MastitisCheckInfo.
     * 
     * @param currGroup
     */
    public void setCurrGroup(java.lang.String currGroup) {
        this.currGroup = currGroup;
    }


    /**
     * Gets the currCategory value for this MastitisCheckInfo.
     * 
     * @return currCategory
     */
    public java.lang.String getCurrCategory() {
        return currCategory;
    }


    /**
     * Sets the currCategory value for this MastitisCheckInfo.
     * 
     * @param currCategory
     */
    public void setCurrCategory(java.lang.String currCategory) {
        this.currCategory = currCategory;
    }


    /**
     * Gets the groCode value for this MastitisCheckInfo.
     * 
     * @return groCode
     */
    public java.lang.String getGroCode() {
        return groCode;
    }


    /**
     * Sets the groCode value for this MastitisCheckInfo.
     * 
     * @param groCode
     */
    public void setGroCode(java.lang.String groCode) {
        this.groCode = groCode;
    }


    /**
     * Gets the repCode value for this MastitisCheckInfo.
     * 
     * @return repCode
     */
    public java.lang.String getRepCode() {
        return repCode;
    }


    /**
     * Sets the repCode value for this MastitisCheckInfo.
     * 
     * @param repCode
     */
    public void setRepCode(java.lang.String repCode) {
        this.repCode = repCode;
    }


    /**
     * Gets the currLact value for this MastitisCheckInfo.
     * 
     * @return currLact
     */
    public int getCurrLact() {
        return currLact;
    }


    /**
     * Sets the currLact value for this MastitisCheckInfo.
     * 
     * @param currLact
     */
    public void setCurrLact(int currLact) {
        this.currLact = currLact;
    }


    /**
     * Gets the MC_FL value for this MastitisCheckInfo.
     * 
     * @return MC_FL
     */
    public int getMC_FL() {
        return MC_FL;
    }


    /**
     * Sets the MC_FL value for this MastitisCheckInfo.
     * 
     * @param MC_FL
     */
    public void setMC_FL(int MC_FL) {
        this.MC_FL = MC_FL;
    }


    /**
     * Gets the MC_FR value for this MastitisCheckInfo.
     * 
     * @return MC_FR
     */
    public int getMC_FR() {
        return MC_FR;
    }


    /**
     * Sets the MC_FR value for this MastitisCheckInfo.
     * 
     * @param MC_FR
     */
    public void setMC_FR(int MC_FR) {
        this.MC_FR = MC_FR;
    }


    /**
     * Gets the MC_BL value for this MastitisCheckInfo.
     * 
     * @return MC_BL
     */
    public int getMC_BL() {
        return MC_BL;
    }


    /**
     * Sets the MC_BL value for this MastitisCheckInfo.
     * 
     * @param MC_BL
     */
    public void setMC_BL(int MC_BL) {
        this.MC_BL = MC_BL;
    }


    /**
     * Gets the MC_BR value for this MastitisCheckInfo.
     * 
     * @return MC_BR
     */
    public int getMC_BR() {
        return MC_BR;
    }


    /**
     * Sets the MC_BR value for this MastitisCheckInfo.
     * 
     * @param MC_BR
     */
    public void setMC_BR(int MC_BR) {
        this.MC_BR = MC_BR;
    }


    /**
     * Gets the bacilliType value for this MastitisCheckInfo.
     * 
     * @return bacilliType
     */
    public java.lang.String getBacilliType() {
        return bacilliType;
    }


    /**
     * Sets the bacilliType value for this MastitisCheckInfo.
     * 
     * @param bacilliType
     */
    public void setBacilliType(java.lang.String bacilliType) {
        this.bacilliType = bacilliType;
    }


    /**
     * Gets the opeators value for this MastitisCheckInfo.
     * 
     * @return opeators
     */
    public java.lang.String getOpeators() {
        return opeators;
    }


    /**
     * Sets the opeators value for this MastitisCheckInfo.
     * 
     * @param opeators
     */
    public void setOpeators(java.lang.String opeators) {
        this.opeators = opeators;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof MastitisCheckInfo)) return false;
        MastitisCheckInfo other = (MastitisCheckInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.cowID==null && other.getCowID()==null) || 
             (this.cowID!=null &&
              this.cowID.equals(other.getCowID()))) &&
            ((this.checkDate==null && other.getCheckDate()==null) || 
             (this.checkDate!=null &&
              this.checkDate.equals(other.getCheckDate()))) &&
            ((this.currFarm==null && other.getCurrFarm()==null) || 
             (this.currFarm!=null &&
              this.currFarm.equals(other.getCurrFarm()))) &&
            ((this.currGroup==null && other.getCurrGroup()==null) || 
             (this.currGroup!=null &&
              this.currGroup.equals(other.getCurrGroup()))) &&
            ((this.currCategory==null && other.getCurrCategory()==null) || 
             (this.currCategory!=null &&
              this.currCategory.equals(other.getCurrCategory()))) &&
            ((this.groCode==null && other.getGroCode()==null) || 
             (this.groCode!=null &&
              this.groCode.equals(other.getGroCode()))) &&
            ((this.repCode==null && other.getRepCode()==null) || 
             (this.repCode!=null &&
              this.repCode.equals(other.getRepCode()))) &&
            this.currLact == other.getCurrLact() &&
            this.MC_FL == other.getMC_FL() &&
            this.MC_FR == other.getMC_FR() &&
            this.MC_BL == other.getMC_BL() &&
            this.MC_BR == other.getMC_BR() &&
            ((this.bacilliType==null && other.getBacilliType()==null) || 
             (this.bacilliType!=null &&
              this.bacilliType.equals(other.getBacilliType()))) &&
            ((this.opeators==null && other.getOpeators()==null) || 
             (this.opeators!=null &&
              this.opeators.equals(other.getOpeators())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getCowID() != null) {
            _hashCode += getCowID().hashCode();
        }
        if (getCheckDate() != null) {
            _hashCode += getCheckDate().hashCode();
        }
        if (getCurrFarm() != null) {
            _hashCode += getCurrFarm().hashCode();
        }
        if (getCurrGroup() != null) {
            _hashCode += getCurrGroup().hashCode();
        }
        if (getCurrCategory() != null) {
            _hashCode += getCurrCategory().hashCode();
        }
        if (getGroCode() != null) {
            _hashCode += getGroCode().hashCode();
        }
        if (getRepCode() != null) {
            _hashCode += getRepCode().hashCode();
        }
        _hashCode += getCurrLact();
        _hashCode += getMC_FL();
        _hashCode += getMC_FR();
        _hashCode += getMC_BL();
        _hashCode += getMC_BR();
        if (getBacilliType() != null) {
            _hashCode += getBacilliType().hashCode();
        }
        if (getOpeators() != null) {
            _hashCode += getOpeators().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "MastitisCheckInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("cowID");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CowID"));
        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("checkDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CheckDate"));
        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("currGroup");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrGroup"));
        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("currCategory");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrCategory"));
        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("groCode");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "GroCode"));
        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("repCode");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "RepCode"));
        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("currLact");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CurrLact"));
        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("MC_FL");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "MC_FL"));
        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("MC_FR");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "MC_FR"));
        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("MC_BL");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "MC_BL"));
        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("MC_BR");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "MC_BR"));
        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("bacilliType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "BacilliType"));
        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("opeators");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Opeators"));
        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);
    }

}
