/**
 * AddCalvingInfo.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.wsCalving;

public class AddCalvingInfo  implements java.io.Serializable {
    private java.lang.String cowNO;

    private java.lang.String calvType;

    private boolean isAddLact;

    private boolean isMummy;

    private java.lang.String postalCase;

    private int calvesCount;

    private boolean isSeeTires;

    private boolean isRetention;

    private boolean isAbnormalUterine;

    private boolean isAbnormalIntestinal;

    private boolean isAbnormalBreast;

    private java.lang.String calvDescription;

    private java.lang.String operators;

    private java.lang.String midWife;

    private java.lang.String calvEase;

    private java.lang.String remarks;

    public AddCalvingInfo() {
    }

    public AddCalvingInfo(
           java.lang.String cowNO,
           java.lang.String calvType,
           boolean isAddLact,
           boolean isMummy,
           java.lang.String postalCase,
           int calvesCount,
           boolean isSeeTires,
           boolean isRetention,
           boolean isAbnormalUterine,
           boolean isAbnormalIntestinal,
           boolean isAbnormalBreast,
           java.lang.String calvDescription,
           java.lang.String operators,
           java.lang.String midWife,
           java.lang.String calvEase,
           java.lang.String remarks) {
           this.cowNO = cowNO;
           this.calvType = calvType;
           this.isAddLact = isAddLact;
           this.isMummy = isMummy;
           this.postalCase = postalCase;
           this.calvesCount = calvesCount;
           this.isSeeTires = isSeeTires;
           this.isRetention = isRetention;
           this.isAbnormalUterine = isAbnormalUterine;
           this.isAbnormalIntestinal = isAbnormalIntestinal;
           this.isAbnormalBreast = isAbnormalBreast;
           this.calvDescription = calvDescription;
           this.operators = operators;
           this.midWife = midWife;
           this.calvEase = calvEase;
           this.remarks = remarks;
    }


    /**
     * Gets the cowNO value for this AddCalvingInfo.
     * 
     * @return cowNO
     */
    public java.lang.String getCowNO() {
        return cowNO;
    }


    /**
     * Sets the cowNO value for this AddCalvingInfo.
     * 
     * @param cowNO
     */
    public void setCowNO(java.lang.String cowNO) {
        this.cowNO = cowNO;
    }


    /**
     * Gets the calvType value for this AddCalvingInfo.
     * 
     * @return calvType
     */
    public java.lang.String getCalvType() {
        return calvType;
    }


    /**
     * Sets the calvType value for this AddCalvingInfo.
     * 
     * @param calvType
     */
    public void setCalvType(java.lang.String calvType) {
        this.calvType = calvType;
    }


    /**
     * Gets the isAddLact value for this AddCalvingInfo.
     * 
     * @return isAddLact
     */
    public boolean isIsAddLact() {
        return isAddLact;
    }


    /**
     * Sets the isAddLact value for this AddCalvingInfo.
     * 
     * @param isAddLact
     */
    public void setIsAddLact(boolean isAddLact) {
        this.isAddLact = isAddLact;
    }


    /**
     * Gets the isMummy value for this AddCalvingInfo.
     * 
     * @return isMummy
     */
    public boolean isIsMummy() {
        return isMummy;
    }


    /**
     * Sets the isMummy value for this AddCalvingInfo.
     * 
     * @param isMummy
     */
    public void setIsMummy(boolean isMummy) {
        this.isMummy = isMummy;
    }


    /**
     * Gets the postalCase value for this AddCalvingInfo.
     * 
     * @return postalCase
     */
    public java.lang.String getPostalCase() {
        return postalCase;
    }


    /**
     * Sets the postalCase value for this AddCalvingInfo.
     * 
     * @param postalCase
     */
    public void setPostalCase(java.lang.String postalCase) {
        this.postalCase = postalCase;
    }


    /**
     * Gets the calvesCount value for this AddCalvingInfo.
     * 
     * @return calvesCount
     */
    public int getCalvesCount() {
        return calvesCount;
    }


    /**
     * Sets the calvesCount value for this AddCalvingInfo.
     * 
     * @param calvesCount
     */
    public void setCalvesCount(int calvesCount) {
        this.calvesCount = calvesCount;
    }


    /**
     * Gets the isSeeTires value for this AddCalvingInfo.
     * 
     * @return isSeeTires
     */
    public boolean isIsSeeTires() {
        return isSeeTires;
    }


    /**
     * Sets the isSeeTires value for this AddCalvingInfo.
     * 
     * @param isSeeTires
     */
    public void setIsSeeTires(boolean isSeeTires) {
        this.isSeeTires = isSeeTires;
    }


    /**
     * Gets the isRetention value for this AddCalvingInfo.
     * 
     * @return isRetention
     */
    public boolean isIsRetention() {
        return isRetention;
    }


    /**
     * Sets the isRetention value for this AddCalvingInfo.
     * 
     * @param isRetention
     */
    public void setIsRetention(boolean isRetention) {
        this.isRetention = isRetention;
    }


    /**
     * Gets the isAbnormalUterine value for this AddCalvingInfo.
     * 
     * @return isAbnormalUterine
     */
    public boolean isIsAbnormalUterine() {
        return isAbnormalUterine;
    }


    /**
     * Sets the isAbnormalUterine value for this AddCalvingInfo.
     * 
     * @param isAbnormalUterine
     */
    public void setIsAbnormalUterine(boolean isAbnormalUterine) {
        this.isAbnormalUterine = isAbnormalUterine;
    }


    /**
     * Gets the isAbnormalIntestinal value for this AddCalvingInfo.
     * 
     * @return isAbnormalIntestinal
     */
    public boolean isIsAbnormalIntestinal() {
        return isAbnormalIntestinal;
    }


    /**
     * Sets the isAbnormalIntestinal value for this AddCalvingInfo.
     * 
     * @param isAbnormalIntestinal
     */
    public void setIsAbnormalIntestinal(boolean isAbnormalIntestinal) {
        this.isAbnormalIntestinal = isAbnormalIntestinal;
    }


    /**
     * Gets the isAbnormalBreast value for this AddCalvingInfo.
     * 
     * @return isAbnormalBreast
     */
    public boolean isIsAbnormalBreast() {
        return isAbnormalBreast;
    }


    /**
     * Sets the isAbnormalBreast value for this AddCalvingInfo.
     * 
     * @param isAbnormalBreast
     */
    public void setIsAbnormalBreast(boolean isAbnormalBreast) {
        this.isAbnormalBreast = isAbnormalBreast;
    }


    /**
     * Gets the calvDescription value for this AddCalvingInfo.
     * 
     * @return calvDescription
     */
    public java.lang.String getCalvDescription() {
        return calvDescription;
    }


    /**
     * Sets the calvDescription value for this AddCalvingInfo.
     * 
     * @param calvDescription
     */
    public void setCalvDescription(java.lang.String calvDescription) {
        this.calvDescription = calvDescription;
    }


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


    /**
     * Sets the operators value for this AddCalvingInfo.
     * 
     * @param operators
     */
    public void setOperators(java.lang.String operators) {
        this.operators = operators;
    }


    /**
     * Gets the midWife value for this AddCalvingInfo.
     * 
     * @return midWife
     */
    public java.lang.String getMidWife() {
        return midWife;
    }


    /**
     * Sets the midWife value for this AddCalvingInfo.
     * 
     * @param midWife
     */
    public void setMidWife(java.lang.String midWife) {
        this.midWife = midWife;
    }


    /**
     * Gets the calvEase value for this AddCalvingInfo.
     * 
     * @return calvEase
     */
    public java.lang.String getCalvEase() {
        return calvEase;
    }


    /**
     * Sets the calvEase value for this AddCalvingInfo.
     * 
     * @param calvEase
     */
    public void setCalvEase(java.lang.String calvEase) {
        this.calvEase = calvEase;
    }


    /**
     * Gets the remarks value for this AddCalvingInfo.
     * 
     * @return remarks
     */
    public java.lang.String getRemarks() {
        return remarks;
    }


    /**
     * Sets the remarks value for this AddCalvingInfo.
     * 
     * @param remarks
     */
    public void setRemarks(java.lang.String remarks) {
        this.remarks = remarks;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof AddCalvingInfo)) return false;
        AddCalvingInfo other = (AddCalvingInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.cowNO==null && other.getCowNO()==null) || 
             (this.cowNO!=null &&
              this.cowNO.equals(other.getCowNO()))) &&
            ((this.calvType==null && other.getCalvType()==null) || 
             (this.calvType!=null &&
              this.calvType.equals(other.getCalvType()))) &&
            this.isAddLact == other.isIsAddLact() &&
            this.isMummy == other.isIsMummy() &&
            ((this.postalCase==null && other.getPostalCase()==null) || 
             (this.postalCase!=null &&
              this.postalCase.equals(other.getPostalCase()))) &&
            this.calvesCount == other.getCalvesCount() &&
            this.isSeeTires == other.isIsSeeTires() &&
            this.isRetention == other.isIsRetention() &&
            this.isAbnormalUterine == other.isIsAbnormalUterine() &&
            this.isAbnormalIntestinal == other.isIsAbnormalIntestinal() &&
            this.isAbnormalBreast == other.isIsAbnormalBreast() &&
            ((this.calvDescription==null && other.getCalvDescription()==null) || 
             (this.calvDescription!=null &&
              this.calvDescription.equals(other.getCalvDescription()))) &&
            ((this.operators==null && other.getOperators()==null) || 
             (this.operators!=null &&
              this.operators.equals(other.getOperators()))) &&
            ((this.midWife==null && other.getMidWife()==null) || 
             (this.midWife!=null &&
              this.midWife.equals(other.getMidWife()))) &&
            ((this.calvEase==null && other.getCalvEase()==null) || 
             (this.calvEase!=null &&
              this.calvEase.equals(other.getCalvEase()))) &&
            ((this.remarks==null && other.getRemarks()==null) || 
             (this.remarks!=null &&
              this.remarks.equals(other.getRemarks())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getCowNO() != null) {
            _hashCode += getCowNO().hashCode();
        }
        if (getCalvType() != null) {
            _hashCode += getCalvType().hashCode();
        }
        _hashCode += (isIsAddLact() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isIsMummy() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        if (getPostalCase() != null) {
            _hashCode += getPostalCase().hashCode();
        }
        _hashCode += getCalvesCount();
        _hashCode += (isIsSeeTires() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isIsRetention() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isIsAbnormalUterine() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isIsAbnormalIntestinal() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        _hashCode += (isIsAbnormalBreast() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        if (getCalvDescription() != null) {
            _hashCode += getCalvDescription().hashCode();
        }
        if (getOperators() != null) {
            _hashCode += getOperators().hashCode();
        }
        if (getMidWife() != null) {
            _hashCode += getMidWife().hashCode();
        }
        if (getCalvEase() != null) {
            _hashCode += getCalvEase().hashCode();
        }
        if (getRemarks() != null) {
            _hashCode += getRemarks().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", ">AddCalvingInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("cowNO");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "cowNO"));
        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("calvType");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "calvType"));
        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("isAddLact");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isAddLact"));
        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("isMummy");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isMummy"));
        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("postalCase");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "postalCase"));
        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("calvesCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "calvesCount"));
        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("isSeeTires");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isSeeTires"));
        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("isRetention");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isRetention"));
        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("isAbnormalUterine");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isAbnormalUterine"));
        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("isAbnormalIntestinal");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isAbnormalIntestinal"));
        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("isAbnormalBreast");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isAbnormalBreast"));
        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("calvDescription");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "calvDescription"));
        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("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);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("midWife");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "midWife"));
        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("calvEase");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "calvEase"));
        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("remarks");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "remarks"));
        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);
    }

}
