/**
 * ObjectType.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.genesyslab.gis.services.statistic.types;

public class ObjectType implements java.io.Serializable {
    private java.lang.String _value_;
    private static java.util.HashMap _table_ = new java.util.HashMap();

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

    public static final java.lang.String _Agent = "Agent";
    public static final java.lang.String _Place = "Place";
    public static final java.lang.String _RegDN = "RegDN";
    public static final java.lang.String _Queue = "Queue";
    public static final java.lang.String _RoutePoint = "RoutePoint";
    public static final java.lang.String _GroupAgents = "GroupAgents";
    public static final java.lang.String _GroupPlaces = "GroupPlaces";
    public static final java.lang.String _GroupQueues = "GroupQueues";
    public static final java.lang.String _Tenant = "Tenant";
    public static final java.lang.String _Strategy = "Strategy";
    public static final java.lang.String _Campaign = "Campaign";
    public static final java.lang.String _CallingList = "CallingList";
    public static final java.lang.String _StagingArea = "StagingArea";
    public static final java.lang.String _CampaignGroup = "CampaignGroup";
    public static final java.lang.String _CampaignCallingList = "CampaignCallingList";
    public static final ObjectType Agent = new ObjectType(_Agent);
    public static final ObjectType Place = new ObjectType(_Place);
    public static final ObjectType RegDN = new ObjectType(_RegDN);
    public static final ObjectType Queue = new ObjectType(_Queue);
    public static final ObjectType RoutePoint = new ObjectType(_RoutePoint);
    public static final ObjectType GroupAgents = new ObjectType(_GroupAgents);
    public static final ObjectType GroupPlaces = new ObjectType(_GroupPlaces);
    public static final ObjectType GroupQueues = new ObjectType(_GroupQueues);
    public static final ObjectType Tenant = new ObjectType(_Tenant);
    public static final ObjectType Strategy = new ObjectType(_Strategy);
    public static final ObjectType Campaign = new ObjectType(_Campaign);
    public static final ObjectType CallingList = new ObjectType(_CallingList);
    public static final ObjectType StagingArea = new ObjectType(_StagingArea);
    public static final ObjectType CampaignGroup = new ObjectType(_CampaignGroup);
    public static final ObjectType CampaignCallingList = new ObjectType(_CampaignCallingList);
    public java.lang.String getValue() { return _value_;}
    public static ObjectType fromValue(java.lang.String value)
          throws java.lang.IllegalArgumentException {
        ObjectType enumeration = (ObjectType)
            _table_.get(value);
        if (enumeration==null) throw new java.lang.IllegalArgumentException();
        return enumeration;
    }
    public static ObjectType 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(ObjectType.class);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.genesyslab.com/services/statservice/types/2002/03", "objectType"));
    }
    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

}
