/**
 * DictType.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 DictType implements java.io.Serializable {
    private java.lang.String _value_;
    private static java.util.HashMap _table_ = new java.util.HashMap();

    // Constructor
    protected DictType(java.lang.String value) {
        _value_ = value;
        _table_.put(_value_,this);
    }

    public static final java.lang.String _MateMode = "MateMode";
    public static final java.lang.String _UnmateReason = "UnmateReason";
    public static final java.lang.String _BreedingExposeMode = "BreedingExposeMode";
    public static final java.lang.String _UnnormalCalvReason = "UnnormalCalvReason";
    public static final java.lang.String _NomateReason = "NomateReason";
    public static final java.lang.String _DiseaseType = "DiseaseType";
    public static final java.lang.String _Pathogens = "Pathogens";
    public static final java.lang.String _MentalState = "MentalState";
    public static final java.lang.String _DefecationCase = "DefecationCase";
    public static final java.lang.String _ChangeGroupReason = "ChangeGroupReason";
    public static final java.lang.String _DryType = "DryType";
    public static final java.lang.String _AbnormalDryReason = "AbnormalDryReason";
    public static final java.lang.String _DryAidDrug = "DryAidDrug";
    public static final java.lang.String _PostpartumCare = "PostpartumCare";
    public static final java.lang.String _HoofTreatment = "HoofTreatment";
    public static final java.lang.String _DisinfectionDrug = "DisinfectionDrug";
    public static final java.lang.String _MastitisPathogens = "MastitisPathogens";
    public static final java.lang.String _LeftClass = "LeftClass";
    public static final java.lang.String _LeftWhere = "LeftWhere";
    public static final java.lang.String _LeftReason = "LeftReason";
    public static final java.lang.String _ActiveEliminatedReason = "ActiveEliminatedReason";
    public static final java.lang.String _DailyFeddingMilk = "DailyFeddingMilk";
    public static final java.lang.String _GroCode = "GroCode";
    public static final java.lang.String _RepCode = "RepCode";
    public static final java.lang.String _CowColor = "CowColor";
    public static final DictType MateMode = new DictType(_MateMode);
    public static final DictType UnmateReason = new DictType(_UnmateReason);
    public static final DictType BreedingExposeMode = new DictType(_BreedingExposeMode);
    public static final DictType UnnormalCalvReason = new DictType(_UnnormalCalvReason);
    public static final DictType NomateReason = new DictType(_NomateReason);
    public static final DictType DiseaseType = new DictType(_DiseaseType);
    public static final DictType Pathogens = new DictType(_Pathogens);
    public static final DictType MentalState = new DictType(_MentalState);
    public static final DictType DefecationCase = new DictType(_DefecationCase);
    public static final DictType ChangeGroupReason = new DictType(_ChangeGroupReason);
    public static final DictType DryType = new DictType(_DryType);
    public static final DictType AbnormalDryReason = new DictType(_AbnormalDryReason);
    public static final DictType DryAidDrug = new DictType(_DryAidDrug);
    public static final DictType PostpartumCare = new DictType(_PostpartumCare);
    public static final DictType HoofTreatment = new DictType(_HoofTreatment);
    public static final DictType DisinfectionDrug = new DictType(_DisinfectionDrug);
    public static final DictType MastitisPathogens = new DictType(_MastitisPathogens);
    public static final DictType LeftClass = new DictType(_LeftClass);
    public static final DictType LeftWhere = new DictType(_LeftWhere);
    public static final DictType LeftReason = new DictType(_LeftReason);
    public static final DictType ActiveEliminatedReason = new DictType(_ActiveEliminatedReason);
    public static final DictType DailyFeddingMilk = new DictType(_DailyFeddingMilk);
    public static final DictType GroCode = new DictType(_GroCode);
    public static final DictType RepCode = new DictType(_RepCode);
    public static final DictType CowColor = new DictType(_CowColor);
    public java.lang.String getValue() { return _value_;}
    public static DictType fromValue(java.lang.String value)
          throws java.lang.IllegalArgumentException {
        DictType enumeration = (DictType)
            _table_.get(value);
        if (enumeration==null) throw new java.lang.IllegalArgumentException();
        return enumeration;
    }
    public static DictType fromString(java.lang.String value)
          throws java.lang.IllegalArgumentException {
        return fromValue(value);
    }
    public boolean equals(java.lang.Object obj) {return (obj == this);}
    public int hashCode() { return toString().hashCode();}
    public java.lang.String toString() { return _value_;}
    public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
    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.EnumSerializer(
            _javaType, _xmlType);
    }
    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.EnumDeserializer(
            _javaType, _xmlType);
    }
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(DictType.class);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.brightdairy.com/", "DictType"));
    }
    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

}
