/**
 * UploadInventoryRecord.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.wsCow;

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

    private java.lang.String farmNO;

    private java.lang.String carNO;

    private java.lang.String operators;

    private java.lang.String findedGroup;

    private java.lang.String sysGroup;

    private java.util.Calendar findedTime;

    private java.lang.String currCategory;

    private java.lang.String epc;

    private int tagCount;

    private int scanCount;

    public UploadInventoryRecord() {
    }

    public UploadInventoryRecord(
           java.lang.String cowID,
           java.lang.String farmNO,
           java.lang.String carNO,
           java.lang.String operators,
           java.lang.String findedGroup,
           java.lang.String sysGroup,
           java.util.Calendar findedTime,
           java.lang.String currCategory,
           java.lang.String epc,
           int tagCount,
           int scanCount) {
           this.cowID = cowID;
           this.farmNO = farmNO;
           this.carNO = carNO;
           this.operators = operators;
           this.findedGroup = findedGroup;
           this.sysGroup = sysGroup;
           this.findedTime = findedTime;
           this.currCategory = currCategory;
           this.epc = epc;
           this.tagCount = tagCount;
           this.scanCount = scanCount;
    }


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


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


    /**
     * Gets the farmNO value for this UploadInventoryRecord.
     * 
     * @return farmNO
     */
    public java.lang.String getFarmNO() {
        return farmNO;
    }


    /**
     * Sets the farmNO value for this UploadInventoryRecord.
     * 
     * @param farmNO
     */
    public void setFarmNO(java.lang.String farmNO) {
        this.farmNO = farmNO;
    }


    /**
     * Gets the carNO value for this UploadInventoryRecord.
     * 
     * @return carNO
     */
    public java.lang.String getCarNO() {
        return carNO;
    }


    /**
     * Sets the carNO value for this UploadInventoryRecord.
     * 
     * @param carNO
     */
    public void setCarNO(java.lang.String carNO) {
        this.carNO = carNO;
    }


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


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


    /**
     * Gets the findedGroup value for this UploadInventoryRecord.
     * 
     * @return findedGroup
     */
    public java.lang.String getFindedGroup() {
        return findedGroup;
    }


    /**
     * Sets the findedGroup value for this UploadInventoryRecord.
     * 
     * @param findedGroup
     */
    public void setFindedGroup(java.lang.String findedGroup) {
        this.findedGroup = findedGroup;
    }


    /**
     * Gets the sysGroup value for this UploadInventoryRecord.
     * 
     * @return sysGroup
     */
    public java.lang.String getSysGroup() {
        return sysGroup;
    }


    /**
     * Sets the sysGroup value for this UploadInventoryRecord.
     * 
     * @param sysGroup
     */
    public void setSysGroup(java.lang.String sysGroup) {
        this.sysGroup = sysGroup;
    }


    /**
     * Gets the findedTime value for this UploadInventoryRecord.
     * 
     * @return findedTime
     */
    public java.util.Calendar getFindedTime() {
        return findedTime;
    }


    /**
     * Sets the findedTime value for this UploadInventoryRecord.
     * 
     * @param findedTime
     */
    public void setFindedTime(java.util.Calendar findedTime) {
        this.findedTime = findedTime;
    }


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


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


    /**
     * Gets the epc value for this UploadInventoryRecord.
     * 
     * @return epc
     */
    public java.lang.String getEpc() {
        return epc;
    }


    /**
     * Sets the epc value for this UploadInventoryRecord.
     * 
     * @param epc
     */
    public void setEpc(java.lang.String epc) {
        this.epc = epc;
    }


    /**
     * Gets the tagCount value for this UploadInventoryRecord.
     * 
     * @return tagCount
     */
    public int getTagCount() {
        return tagCount;
    }


    /**
     * Sets the tagCount value for this UploadInventoryRecord.
     * 
     * @param tagCount
     */
    public void setTagCount(int tagCount) {
        this.tagCount = tagCount;
    }


    /**
     * Gets the scanCount value for this UploadInventoryRecord.
     * 
     * @return scanCount
     */
    public int getScanCount() {
        return scanCount;
    }


    /**
     * Sets the scanCount value for this UploadInventoryRecord.
     * 
     * @param scanCount
     */
    public void setScanCount(int scanCount) {
        this.scanCount = scanCount;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof UploadInventoryRecord)) return false;
        UploadInventoryRecord other = (UploadInventoryRecord) 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.farmNO==null && other.getFarmNO()==null) || 
             (this.farmNO!=null &&
              this.farmNO.equals(other.getFarmNO()))) &&
            ((this.carNO==null && other.getCarNO()==null) || 
             (this.carNO!=null &&
              this.carNO.equals(other.getCarNO()))) &&
            ((this.operators==null && other.getOperators()==null) || 
             (this.operators!=null &&
              this.operators.equals(other.getOperators()))) &&
            ((this.findedGroup==null && other.getFindedGroup()==null) || 
             (this.findedGroup!=null &&
              this.findedGroup.equals(other.getFindedGroup()))) &&
            ((this.sysGroup==null && other.getSysGroup()==null) || 
             (this.sysGroup!=null &&
              this.sysGroup.equals(other.getSysGroup()))) &&
            ((this.findedTime==null && other.getFindedTime()==null) || 
             (this.findedTime!=null &&
              this.findedTime.equals(other.getFindedTime()))) &&
            ((this.currCategory==null && other.getCurrCategory()==null) || 
             (this.currCategory!=null &&
              this.currCategory.equals(other.getCurrCategory()))) &&
            ((this.epc==null && other.getEpc()==null) || 
             (this.epc!=null &&
              this.epc.equals(other.getEpc()))) &&
            this.tagCount == other.getTagCount() &&
            this.scanCount == other.getScanCount();
        __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 (getFarmNO() != null) {
            _hashCode += getFarmNO().hashCode();
        }
        if (getCarNO() != null) {
            _hashCode += getCarNO().hashCode();
        }
        if (getOperators() != null) {
            _hashCode += getOperators().hashCode();
        }
        if (getFindedGroup() != null) {
            _hashCode += getFindedGroup().hashCode();
        }
        if (getSysGroup() != null) {
            _hashCode += getSysGroup().hashCode();
        }
        if (getFindedTime() != null) {
            _hashCode += getFindedTime().hashCode();
        }
        if (getCurrCategory() != null) {
            _hashCode += getCurrCategory().hashCode();
        }
        if (getEpc() != null) {
            _hashCode += getEpc().hashCode();
        }
        _hashCode += getTagCount();
        _hashCode += getScanCount();
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", ">uploadInventoryRecord"));
        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("farmNO");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "farmNO"));
        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("carNO");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "carNO"));
        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("findedGroup");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "findedGroup"));
        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("sysGroup");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "sysGroup"));
        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("findedTime");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "findedTime"));
        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("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("epc");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "epc"));
        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("tagCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "tagCount"));
        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("scanCount");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "scanCount"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        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);
    }

}
