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

    private java.lang.String epc;

    private java.util.Calendar confirmTime;

    private java.lang.String operators;

    private boolean isUpdate;

    public UploadCowTIDInfo() {
    }

    public UploadCowTIDInfo(
           java.lang.String tid,
           java.lang.String epc,
           java.util.Calendar confirmTime,
           java.lang.String operators,
           boolean isUpdate) {
           this.tid = tid;
           this.epc = epc;
           this.confirmTime = confirmTime;
           this.operators = operators;
           this.isUpdate = isUpdate;
    }


    /**
     * Gets the tid value for this UploadCowTIDInfo.
     * 
     * @return tid
     */
    public java.lang.String getTid() {
        return tid;
    }


    /**
     * Sets the tid value for this UploadCowTIDInfo.
     * 
     * @param tid
     */
    public void setTid(java.lang.String tid) {
        this.tid = tid;
    }


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


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


    /**
     * Gets the confirmTime value for this UploadCowTIDInfo.
     * 
     * @return confirmTime
     */
    public java.util.Calendar getConfirmTime() {
        return confirmTime;
    }


    /**
     * Sets the confirmTime value for this UploadCowTIDInfo.
     * 
     * @param confirmTime
     */
    public void setConfirmTime(java.util.Calendar confirmTime) {
        this.confirmTime = confirmTime;
    }


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


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


    /**
     * Gets the isUpdate value for this UploadCowTIDInfo.
     * 
     * @return isUpdate
     */
    public boolean isIsUpdate() {
        return isUpdate;
    }


    /**
     * Sets the isUpdate value for this UploadCowTIDInfo.
     * 
     * @param isUpdate
     */
    public void setIsUpdate(boolean isUpdate) {
        this.isUpdate = isUpdate;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof UploadCowTIDInfo)) return false;
        UploadCowTIDInfo other = (UploadCowTIDInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.tid==null && other.getTid()==null) || 
             (this.tid!=null &&
              this.tid.equals(other.getTid()))) &&
            ((this.epc==null && other.getEpc()==null) || 
             (this.epc!=null &&
              this.epc.equals(other.getEpc()))) &&
            ((this.confirmTime==null && other.getConfirmTime()==null) || 
             (this.confirmTime!=null &&
              this.confirmTime.equals(other.getConfirmTime()))) &&
            ((this.operators==null && other.getOperators()==null) || 
             (this.operators!=null &&
              this.operators.equals(other.getOperators()))) &&
            this.isUpdate == other.isIsUpdate();
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getTid() != null) {
            _hashCode += getTid().hashCode();
        }
        if (getEpc() != null) {
            _hashCode += getEpc().hashCode();
        }
        if (getConfirmTime() != null) {
            _hashCode += getConfirmTime().hashCode();
        }
        if (getOperators() != null) {
            _hashCode += getOperators().hashCode();
        }
        _hashCode += (isIsUpdate() ? Boolean.TRUE : Boolean.FALSE).hashCode();
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", ">uploadCowTIDInfo"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("tid");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "tid"));
        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("confirmTime");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "confirmTime"));
        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);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("isUpdate");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "isUpdate"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
        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);
    }

}
