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

    private java.util.Calendar findedTime;

    private java.lang.String findedGroup;

    private java.lang.String source;

    public InsertMixedGroupInfo() {
    }

    public InsertMixedGroupInfo(
           java.lang.String cowID,
           java.util.Calendar findedTime,
           java.lang.String findedGroup,
           java.lang.String source) {
           this.cowID = cowID;
           this.findedTime = findedTime;
           this.findedGroup = findedGroup;
           this.source = source;
    }


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


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


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


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


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


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


    /**
     * Gets the source value for this InsertMixedGroupInfo.
     * 
     * @return source
     */
    public java.lang.String getSource() {
        return source;
    }


    /**
     * Sets the source value for this InsertMixedGroupInfo.
     * 
     * @param source
     */
    public void setSource(java.lang.String source) {
        this.source = source;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof InsertMixedGroupInfo)) return false;
        InsertMixedGroupInfo other = (InsertMixedGroupInfo) 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.findedTime==null && other.getFindedTime()==null) || 
             (this.findedTime!=null &&
              this.findedTime.equals(other.getFindedTime()))) &&
            ((this.findedGroup==null && other.getFindedGroup()==null) || 
             (this.findedGroup!=null &&
              this.findedGroup.equals(other.getFindedGroup()))) &&
            ((this.source==null && other.getSource()==null) || 
             (this.source!=null &&
              this.source.equals(other.getSource())));
        __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 (getFindedTime() != null) {
            _hashCode += getFindedTime().hashCode();
        }
        if (getFindedGroup() != null) {
            _hashCode += getFindedGroup().hashCode();
        }
        if (getSource() != null) {
            _hashCode += getSource().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

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

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", ">insertMixedGroupInfo"));
        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("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("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("source");
        elemField.setXmlName(new javax.xml.namespace.QName("http://www.brightdairy.com/", "source"));
        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);
    }

}
