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

    private java.util.Calendar nursingDate;

    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 boolean nursing_FL;

    private boolean nursing_BL;

    private boolean nursing_FR;

    private boolean nursing_BR;

    private int level;

    private java.lang.String type;

    private java.lang.String handleMethod;

    private java.util.Calendar recheckDate;

    private java.lang.String operators;

    public HoofNursingInfo() {
    }

    public HoofNursingInfo(
           java.lang.String cowID,
           java.util.Calendar nursingDate,
           java.lang.String currFarm,
           java.lang.String currGroup,
           java.lang.String currCategory,
           java.lang.String groCode,
           java.lang.String repCode,
           int currLact,
           boolean nursing_FL,
           boolean nursing_BL,
           boolean nursing_FR,
           boolean nursing_BR,
           int level,
           java.lang.String type,
           java.lang.String handleMethod,
           java.util.Calendar recheckDate,
           java.lang.String operators) {
           this.cowID = cowID;
           this.nursingDate = nursingDate;
           this.currFarm = currFarm;
           this.currGroup = currGroup;
           this.currCategory = currCategory;
           this.groCode = groCode;
           this.repCode = repCode;
           this.currLact = currLact;
           this.nursing_FL = nursing_FL;
           this.nursing_BL = nursing_BL;
           this.nursing_FR = nursing_FR;
           this.nursing_BR = nursing_BR;
           this.level = level;
           this.type = type;
           this.handleMethod = handleMethod;
           this.recheckDate = recheckDate;
           this.operators = operators;
    }


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


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


    /**
     * Gets the nursingDate value for this HoofNursingInfo.
     * 
     * @return nursingDate
     */
    public java.util.Calendar getNursingDate() {
        return nursingDate;
    }


    /**
     * Sets the nursingDate value for this HoofNursingInfo.
     * 
     * @param nursingDate
     */
    public void setNursingDate(java.util.Calendar nursingDate) {
        this.nursingDate = nursingDate;
    }


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


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


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


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


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


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


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


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


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


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


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


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


    /**
     * Gets the nursing_FL value for this HoofNursingInfo.
     * 
     * @return nursing_FL
     */
    public boolean isNursing_FL() {
        return nursing_FL;
    }


    /**
     * Sets the nursing_FL value for this HoofNursingInfo.
     * 
     * @param nursing_FL
     */
    public void setNursing_FL(boolean nursing_FL) {
        this.nursing_FL = nursing_FL;
    }


    /**
     * Gets the nursing_BL value for this HoofNursingInfo.
     * 
     * @return nursing_BL
     */
    public boolean isNursing_BL() {
        return nursing_BL;
    }


    /**
     * Sets the nursing_BL value for this HoofNursingInfo.
     * 
     * @param nursing_BL
     */
    public void setNursing_BL(boolean nursing_BL) {
        this.nursing_BL = nursing_BL;
    }


    /**
     * Gets the nursing_FR value for this HoofNursingInfo.
     * 
     * @return nursing_FR
     */
    public boolean isNursing_FR() {
        return nursing_FR;
    }


    /**
     * Sets the nursing_FR value for this HoofNursingInfo.
     * 
     * @param nursing_FR
     */
    public void setNursing_FR(boolean nursing_FR) {
        this.nursing_FR = nursing_FR;
    }


    /**
     * Gets the nursing_BR value for this HoofNursingInfo.
     * 
     * @return nursing_BR
     */
    public boolean isNursing_BR() {
        return nursing_BR;
    }


    /**
     * Sets the nursing_BR value for this HoofNursingInfo.
     * 
     * @param nursing_BR
     */
    public void setNursing_BR(boolean nursing_BR) {
        this.nursing_BR = nursing_BR;
    }


    /**
     * Gets the level value for this HoofNursingInfo.
     * 
     * @return level
     */
    public int getLevel() {
        return level;
    }


    /**
     * Sets the level value for this HoofNursingInfo.
     * 
     * @param level
     */
    public void setLevel(int level) {
        this.level = level;
    }


    /**
     * Gets the type value for this HoofNursingInfo.
     * 
     * @return type
     */
    public java.lang.String getType() {
        return type;
    }


    /**
     * Sets the type value for this HoofNursingInfo.
     * 
     * @param type
     */
    public void setType(java.lang.String type) {
        this.type = type;
    }


    /**
     * Gets the handleMethod value for this HoofNursingInfo.
     * 
     * @return handleMethod
     */
    public java.lang.String getHandleMethod() {
        return handleMethod;
    }


    /**
     * Sets the handleMethod value for this HoofNursingInfo.
     * 
     * @param handleMethod
     */
    public void setHandleMethod(java.lang.String handleMethod) {
        this.handleMethod = handleMethod;
    }


    /**
     * Gets the recheckDate value for this HoofNursingInfo.
     * 
     * @return recheckDate
     */
    public java.util.Calendar getRecheckDate() {
        return recheckDate;
    }


    /**
     * Sets the recheckDate value for this HoofNursingInfo.
     * 
     * @param recheckDate
     */
    public void setRecheckDate(java.util.Calendar recheckDate) {
        this.recheckDate = recheckDate;
    }


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


    /**
     * Sets the operators value for this HoofNursingInfo.
     * 
     * @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 HoofNursingInfo)) return false;
        HoofNursingInfo other = (HoofNursingInfo) 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.nursingDate==null && other.getNursingDate()==null) || 
             (this.nursingDate!=null &&
              this.nursingDate.equals(other.getNursingDate()))) &&
            ((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.nursing_FL == other.isNursing_FL() &&
            this.nursing_BL == other.isNursing_BL() &&
            this.nursing_FR == other.isNursing_FR() &&
            this.nursing_BR == other.isNursing_BR() &&
            this.level == other.getLevel() &&
            ((this.type==null && other.getType()==null) || 
             (this.type!=null &&
              this.type.equals(other.getType()))) &&
            ((this.handleMethod==null && other.getHandleMethod()==null) || 
             (this.handleMethod!=null &&
              this.handleMethod.equals(other.getHandleMethod()))) &&
            ((this.recheckDate==null && other.getRecheckDate()==null) || 
             (this.recheckDate!=null &&
              this.recheckDate.equals(other.getRecheckDate()))) &&
            ((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 (getCowID() != null) {
            _hashCode += getCowID().hashCode();
        }
        if (getNursingDate() != null) {
            _hashCode += getNursingDate().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 += (isNursing_FL() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isNursing_BL() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isNursing_FR() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isNursing_BR() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += getLevel();
        if (getType() != null) {
            _hashCode += getType().hashCode();
        }
        if (getHandleMethod() != null) {
            _hashCode += getHandleMethod().hashCode();
        }
        if (getRecheckDate() != null) {
            _hashCode += getRecheckDate().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(HoofNursingInfo.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "HoofNursingInfo"));
        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("nursingDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "NursingDate"));
        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("nursing_FL");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Nursing_FL"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("nursing_BL");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Nursing_BL"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("nursing_FR");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Nursing_FR"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("nursing_BR");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Nursing_BR"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("level");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Level"));
        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("type");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Type"));
        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("handleMethod");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "HandleMethod"));
        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("recheckDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "RecheckDate"));
        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("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);
    }

}
