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

    private java.util.Calendar careDate;

    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 java.util.Calendar calvingDate;

    private java.math.BigDecimal bodyTemp;

    private java.util.Calendar diseaseDate;

    private java.lang.String diseaseCategory;

    private java.lang.String diseaseName;

    private java.lang.String prescriptionNo;

    private boolean isToHospital;

    private java.lang.String handleMethod;

    private int handleTimes;

    private java.util.Calendar cureDate;

    private java.lang.String operators;

    public PostpartumCareInfo() {
    }

    public PostpartumCareInfo(
           java.lang.String cowID,
           java.util.Calendar careDate,
           java.lang.String currFarm,
           java.lang.String currGroup,
           java.lang.String currCategory,
           java.lang.String groCode,
           java.lang.String repCode,
           int currLact,
           java.util.Calendar calvingDate,
           java.math.BigDecimal bodyTemp,
           java.util.Calendar diseaseDate,
           java.lang.String diseaseCategory,
           java.lang.String diseaseName,
           java.lang.String prescriptionNo,
           boolean isToHospital,
           java.lang.String handleMethod,
           int handleTimes,
           java.util.Calendar cureDate,
           java.lang.String operators) {
           this.cowID = cowID;
           this.careDate = careDate;
           this.currFarm = currFarm;
           this.currGroup = currGroup;
           this.currCategory = currCategory;
           this.groCode = groCode;
           this.repCode = repCode;
           this.currLact = currLact;
           this.calvingDate = calvingDate;
           this.bodyTemp = bodyTemp;
           this.diseaseDate = diseaseDate;
           this.diseaseCategory = diseaseCategory;
           this.diseaseName = diseaseName;
           this.prescriptionNo = prescriptionNo;
           this.isToHospital = isToHospital;
           this.handleMethod = handleMethod;
           this.handleTimes = handleTimes;
           this.cureDate = cureDate;
           this.operators = operators;
    }


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


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


    /**
     * Gets the careDate value for this PostpartumCareInfo.
     * 
     * @return careDate
     */
    public java.util.Calendar getCareDate() {
        return careDate;
    }


    /**
     * Sets the careDate value for this PostpartumCareInfo.
     * 
     * @param careDate
     */
    public void setCareDate(java.util.Calendar careDate) {
        this.careDate = careDate;
    }


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


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


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


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


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


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


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


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


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


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


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


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


    /**
     * Gets the calvingDate value for this PostpartumCareInfo.
     * 
     * @return calvingDate
     */
    public java.util.Calendar getCalvingDate() {
        return calvingDate;
    }


    /**
     * Sets the calvingDate value for this PostpartumCareInfo.
     * 
     * @param calvingDate
     */
    public void setCalvingDate(java.util.Calendar calvingDate) {
        this.calvingDate = calvingDate;
    }


    /**
     * Gets the bodyTemp value for this PostpartumCareInfo.
     * 
     * @return bodyTemp
     */
    public java.math.BigDecimal getBodyTemp() {
        return bodyTemp;
    }


    /**
     * Sets the bodyTemp value for this PostpartumCareInfo.
     * 
     * @param bodyTemp
     */
    public void setBodyTemp(java.math.BigDecimal bodyTemp) {
        this.bodyTemp = bodyTemp;
    }


    /**
     * Gets the diseaseDate value for this PostpartumCareInfo.
     * 
     * @return diseaseDate
     */
    public java.util.Calendar getDiseaseDate() {
        return diseaseDate;
    }


    /**
     * Sets the diseaseDate value for this PostpartumCareInfo.
     * 
     * @param diseaseDate
     */
    public void setDiseaseDate(java.util.Calendar diseaseDate) {
        this.diseaseDate = diseaseDate;
    }


    /**
     * Gets the diseaseCategory value for this PostpartumCareInfo.
     * 
     * @return diseaseCategory
     */
    public java.lang.String getDiseaseCategory() {
        return diseaseCategory;
    }


    /**
     * Sets the diseaseCategory value for this PostpartumCareInfo.
     * 
     * @param diseaseCategory
     */
    public void setDiseaseCategory(java.lang.String diseaseCategory) {
        this.diseaseCategory = diseaseCategory;
    }


    /**
     * Gets the diseaseName value for this PostpartumCareInfo.
     * 
     * @return diseaseName
     */
    public java.lang.String getDiseaseName() {
        return diseaseName;
    }


    /**
     * Sets the diseaseName value for this PostpartumCareInfo.
     * 
     * @param diseaseName
     */
    public void setDiseaseName(java.lang.String diseaseName) {
        this.diseaseName = diseaseName;
    }


    /**
     * Gets the prescriptionNo value for this PostpartumCareInfo.
     * 
     * @return prescriptionNo
     */
    public java.lang.String getPrescriptionNo() {
        return prescriptionNo;
    }


    /**
     * Sets the prescriptionNo value for this PostpartumCareInfo.
     * 
     * @param prescriptionNo
     */
    public void setPrescriptionNo(java.lang.String prescriptionNo) {
        this.prescriptionNo = prescriptionNo;
    }


    /**
     * Gets the isToHospital value for this PostpartumCareInfo.
     * 
     * @return isToHospital
     */
    public boolean isIsToHospital() {
        return isToHospital;
    }


    /**
     * Sets the isToHospital value for this PostpartumCareInfo.
     * 
     * @param isToHospital
     */
    public void setIsToHospital(boolean isToHospital) {
        this.isToHospital = isToHospital;
    }


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


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


    /**
     * Gets the handleTimes value for this PostpartumCareInfo.
     * 
     * @return handleTimes
     */
    public int getHandleTimes() {
        return handleTimes;
    }


    /**
     * Sets the handleTimes value for this PostpartumCareInfo.
     * 
     * @param handleTimes
     */
    public void setHandleTimes(int handleTimes) {
        this.handleTimes = handleTimes;
    }


    /**
     * Gets the cureDate value for this PostpartumCareInfo.
     * 
     * @return cureDate
     */
    public java.util.Calendar getCureDate() {
        return cureDate;
    }


    /**
     * Sets the cureDate value for this PostpartumCareInfo.
     * 
     * @param cureDate
     */
    public void setCureDate(java.util.Calendar cureDate) {
        this.cureDate = cureDate;
    }


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


    /**
     * Sets the operators value for this PostpartumCareInfo.
     * 
     * @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 PostpartumCareInfo)) return false;
        PostpartumCareInfo other = (PostpartumCareInfo) 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.careDate==null && other.getCareDate()==null) || 
             (this.careDate!=null &&
              this.careDate.equals(other.getCareDate()))) &&
            ((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.calvingDate==null && other.getCalvingDate()==null) || 
             (this.calvingDate!=null &&
              this.calvingDate.equals(other.getCalvingDate()))) &&
            ((this.bodyTemp==null && other.getBodyTemp()==null) || 
             (this.bodyTemp!=null &&
              this.bodyTemp.equals(other.getBodyTemp()))) &&
            ((this.diseaseDate==null && other.getDiseaseDate()==null) || 
             (this.diseaseDate!=null &&
              this.diseaseDate.equals(other.getDiseaseDate()))) &&
            ((this.diseaseCategory==null && other.getDiseaseCategory()==null) || 
             (this.diseaseCategory!=null &&
              this.diseaseCategory.equals(other.getDiseaseCategory()))) &&
            ((this.diseaseName==null && other.getDiseaseName()==null) || 
             (this.diseaseName!=null &&
              this.diseaseName.equals(other.getDiseaseName()))) &&
            ((this.prescriptionNo==null && other.getPrescriptionNo()==null) || 
             (this.prescriptionNo!=null &&
              this.prescriptionNo.equals(other.getPrescriptionNo()))) &&
            this.isToHospital == other.isIsToHospital() &&
            ((this.handleMethod==null && other.getHandleMethod()==null) || 
             (this.handleMethod!=null &&
              this.handleMethod.equals(other.getHandleMethod()))) &&
            this.handleTimes == other.getHandleTimes() &&
            ((this.cureDate==null && other.getCureDate()==null) || 
             (this.cureDate!=null &&
              this.cureDate.equals(other.getCureDate()))) &&
            ((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 (getCareDate() != null) {
            _hashCode += getCareDate().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();
        if (getCalvingDate() != null) {
            _hashCode += getCalvingDate().hashCode();
        }
        if (getBodyTemp() != null) {
            _hashCode += getBodyTemp().hashCode();
        }
        if (getDiseaseDate() != null) {
            _hashCode += getDiseaseDate().hashCode();
        }
        if (getDiseaseCategory() != null) {
            _hashCode += getDiseaseCategory().hashCode();
        }
        if (getDiseaseName() != null) {
            _hashCode += getDiseaseName().hashCode();
        }
        if (getPrescriptionNo() != null) {
            _hashCode += getPrescriptionNo().hashCode();
        }
        _hashCode += (isIsToHospital() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        if (getHandleMethod() != null) {
            _hashCode += getHandleMethod().hashCode();
        }
        _hashCode += getHandleTimes();
        if (getCureDate() != null) {
            _hashCode += getCureDate().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(PostpartumCareInfo.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "PostpartumCareInfo"));
        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("careDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CareDate"));
        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("calvingDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CalvingDate"));
        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("bodyTemp");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "BodyTemp"));
        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("diseaseDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DiseaseDate"));
        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("diseaseCategory");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DiseaseCategory"));
        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("diseaseName");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DiseaseName"));
        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("prescriptionNo");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "PrescriptionNo"));
        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("isToHospital");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "IsToHospital"));
        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("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("handleTimes");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "HandleTimes"));
        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("cureDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "CureDate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
        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);
    }

    /**
     * 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);
    }

}
