/**
 * GeCheckInfo.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.wsBreeding;

public class GeCheckInfo  implements java.io.Serializable {
    private java.lang.String cowID;

    private java.util.Calendar geCheckDate;

    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.lang.String geCheckMethod;

    private java.lang.String geCheckResult;

    private java.lang.String leftOva;

    private java.lang.String rightOva;

    private java.lang.String uterus;

    private java.lang.String fetus;

    private boolean isReCheck;

    private java.lang.String operators;

    public GeCheckInfo() {
    }

    public GeCheckInfo(
           java.lang.String cowID,
           java.util.Calendar geCheckDate,
           java.lang.String currFarm,
           java.lang.String currGroup,
           java.lang.String currCategory,
           java.lang.String groCode,
           java.lang.String repCode,
           int currLact,
           java.lang.String geCheckMethod,
           java.lang.String geCheckResult,
           java.lang.String leftOva,
           java.lang.String rightOva,
           java.lang.String uterus,
           java.lang.String fetus,
           boolean isReCheck,
           java.lang.String operators) {
           this.cowID = cowID;
           this.geCheckDate = geCheckDate;
           this.currFarm = currFarm;
           this.currGroup = currGroup;
           this.currCategory = currCategory;
           this.groCode = groCode;
           this.repCode = repCode;
           this.currLact = currLact;
           this.geCheckMethod = geCheckMethod;
           this.geCheckResult = geCheckResult;
           this.leftOva = leftOva;
           this.rightOva = rightOva;
           this.uterus = uterus;
           this.fetus = fetus;
           this.isReCheck = isReCheck;
           this.operators = operators;
    }


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


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


    /**
     * Gets the geCheckDate value for this GeCheckInfo.
     * 
     * @return geCheckDate
     */
    public java.util.Calendar getGeCheckDate() {
        return geCheckDate;
    }


    /**
     * Sets the geCheckDate value for this GeCheckInfo.
     * 
     * @param geCheckDate
     */
    public void setGeCheckDate(java.util.Calendar geCheckDate) {
        this.geCheckDate = geCheckDate;
    }


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


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


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


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


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


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


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


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


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


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


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


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


    /**
     * Gets the geCheckMethod value for this GeCheckInfo.
     * 
     * @return geCheckMethod
     */
    public java.lang.String getGeCheckMethod() {
        return geCheckMethod;
    }


    /**
     * Sets the geCheckMethod value for this GeCheckInfo.
     * 
     * @param geCheckMethod
     */
    public void setGeCheckMethod(java.lang.String geCheckMethod) {
        this.geCheckMethod = geCheckMethod;
    }


    /**
     * Gets the geCheckResult value for this GeCheckInfo.
     * 
     * @return geCheckResult
     */
    public java.lang.String getGeCheckResult() {
        return geCheckResult;
    }


    /**
     * Sets the geCheckResult value for this GeCheckInfo.
     * 
     * @param geCheckResult
     */
    public void setGeCheckResult(java.lang.String geCheckResult) {
        this.geCheckResult = geCheckResult;
    }


    /**
     * Gets the leftOva value for this GeCheckInfo.
     * 
     * @return leftOva
     */
    public java.lang.String getLeftOva() {
        return leftOva;
    }


    /**
     * Sets the leftOva value for this GeCheckInfo.
     * 
     * @param leftOva
     */
    public void setLeftOva(java.lang.String leftOva) {
        this.leftOva = leftOva;
    }


    /**
     * Gets the rightOva value for this GeCheckInfo.
     * 
     * @return rightOva
     */
    public java.lang.String getRightOva() {
        return rightOva;
    }


    /**
     * Sets the rightOva value for this GeCheckInfo.
     * 
     * @param rightOva
     */
    public void setRightOva(java.lang.String rightOva) {
        this.rightOva = rightOva;
    }


    /**
     * Gets the uterus value for this GeCheckInfo.
     * 
     * @return uterus
     */
    public java.lang.String getUterus() {
        return uterus;
    }


    /**
     * Sets the uterus value for this GeCheckInfo.
     * 
     * @param uterus
     */
    public void setUterus(java.lang.String uterus) {
        this.uterus = uterus;
    }


    /**
     * Gets the fetus value for this GeCheckInfo.
     * 
     * @return fetus
     */
    public java.lang.String getFetus() {
        return fetus;
    }


    /**
     * Sets the fetus value for this GeCheckInfo.
     * 
     * @param fetus
     */
    public void setFetus(java.lang.String fetus) {
        this.fetus = fetus;
    }


    /**
     * Gets the isReCheck value for this GeCheckInfo.
     * 
     * @return isReCheck
     */
    public boolean isIsReCheck() {
        return isReCheck;
    }


    /**
     * Sets the isReCheck value for this GeCheckInfo.
     * 
     * @param isReCheck
     */
    public void setIsReCheck(boolean isReCheck) {
        this.isReCheck = isReCheck;
    }


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


    /**
     * Sets the operators value for this GeCheckInfo.
     * 
     * @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 GeCheckInfo)) return false;
        GeCheckInfo other = (GeCheckInfo) 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.geCheckDate==null && other.getGeCheckDate()==null) || 
             (this.geCheckDate!=null &&
              this.geCheckDate.equals(other.getGeCheckDate()))) &&
            ((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.geCheckMethod==null && other.getGeCheckMethod()==null) || 
             (this.geCheckMethod!=null &&
              this.geCheckMethod.equals(other.getGeCheckMethod()))) &&
            ((this.geCheckResult==null && other.getGeCheckResult()==null) || 
             (this.geCheckResult!=null &&
              this.geCheckResult.equals(other.getGeCheckResult()))) &&
            ((this.leftOva==null && other.getLeftOva()==null) || 
             (this.leftOva!=null &&
              this.leftOva.equals(other.getLeftOva()))) &&
            ((this.rightOva==null && other.getRightOva()==null) || 
             (this.rightOva!=null &&
              this.rightOva.equals(other.getRightOva()))) &&
            ((this.uterus==null && other.getUterus()==null) || 
             (this.uterus!=null &&
              this.uterus.equals(other.getUterus()))) &&
            ((this.fetus==null && other.getFetus()==null) || 
             (this.fetus!=null &&
              this.fetus.equals(other.getFetus()))) &&
            this.isReCheck == other.isIsReCheck() &&
            ((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 (getGeCheckDate() != null) {
            _hashCode += getGeCheckDate().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 (getGeCheckMethod() != null) {
            _hashCode += getGeCheckMethod().hashCode();
        }
        if (getGeCheckResult() != null) {
            _hashCode += getGeCheckResult().hashCode();
        }
        if (getLeftOva() != null) {
            _hashCode += getLeftOva().hashCode();
        }
        if (getRightOva() != null) {
            _hashCode += getRightOva().hashCode();
        }
        if (getUterus() != null) {
            _hashCode += getUterus().hashCode();
        }
        if (getFetus() != null) {
            _hashCode += getFetus().hashCode();
        }
        _hashCode += (isIsReCheck() ? Boolean.TRUE : Boolean.FALSE).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(GeCheckInfo.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "GeCheckInfo"));
        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("geCheckDate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "GeCheckDate"));
        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("geCheckMethod");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "GeCheckMethod"));
        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("geCheckResult");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "GeCheckResult"));
        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("leftOva");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "LeftOva"));
        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("rightOva");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "RightOva"));
        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("uterus");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Uterus"));
        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("fetus");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "Fetus"));
        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("isReCheck");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "IsReCheck"));
        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("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);
    }

}
