package atlas.classifiers;
 
public class TypeService 
    implements java.io.Serializable, iapp.services.Classifier {
 
    public static final TypeService RETAIL = new TypeService("RETAIL");
    public static final TypeService CC_BATCH = new TypeService("CCBATCH");
    public static final TypeService EFT_BATCH = new TypeService("EFTBATCH");
    public static final TypeService COLLECTIONS = new TypeService("COLLECTIONS");
    public static final TypeService STATEMENT = new TypeService("STATEMENT");
    public static final TypeService CHARGEBACK = new TypeService("CHARGEBACK");
    public static final TypeService TOKEN_REGISTER = new TypeService("TOKEN_REGISTER");
    public static final TypeService ACCOUNT_UPDATER = new TypeService("ACCOUNT_UPDATER");
    public static final TypeService SKIP_TRACING = new TypeService("SKIP_TRACING");
    public static final TypeService PROCESSING_COST = new TypeService("PROCESSING_COST");
    public static final TypeService PROVISIONING = new TypeService("PROVISIONING");
    public static final TypeService THREE_DSECURE = new TypeService("THREE_D_SECURE");
    public static final TypeService FULFILLMENT = new TypeService("FULFILLMENT");
    public static final TypeService RETAIL = new TypeService("RETAIL");
    public static final TypeService CC_BATCH = new TypeService("CCBATCH");
    public static final TypeService EFT_BATCH = new TypeService("EFTBATCH");
    public static final TypeService COLLECTIONS = new TypeService("COLLECTIONS");
    public static final TypeService STATEMENT = new TypeService("STATEMENT");
    public static final TypeService CHARGEBACK = new TypeService("CHARGEBACK");
    public static final TypeService TOKEN_REGISTER = new TypeService("TOKEN_REGISTER");
    public static final TypeService ACCOUNT_UPDATER = new TypeService("ACCOUNT_UPDATER");
    public static final TypeService SKIP_TRACING = new TypeService("SKIP_TRACING");
    public static final TypeService PROCESSING_COST = new TypeService("PROCESSING_COST");
    public static final TypeService PROVISIONING = new TypeService("PROVISIONING");
    public static final TypeService THREE_DSECURE = new TypeService("THREE_D_SECURE");
    public static final TypeService FULFILLMENT = new TypeService("FULFILLMENT");
    public static final TypeService RETAIL = new TypeService("RETAIL");
    public static final TypeService CC_BATCH = new TypeService("CCBATCH");
    public static final TypeService EFT_BATCH = new TypeService("EFTBATCH");
    public static final TypeService COLLECTIONS = new TypeService("COLLECTIONS");
    public static final TypeService STATEMENT = new TypeService("STATEMENT");
    public static final TypeService CHARGEBACK = new TypeService("CHARGEBACK");
    public static final TypeService TOKEN_REGISTER = new TypeService("TOKEN_REGISTER");
    public static final TypeService ACCOUNT_UPDATER = new TypeService("ACCOUNT_UPDATER");
    public static final TypeService SKIP_TRACING = new TypeService("SKIP_TRACING");
    public static final TypeService PROCESSING_COST = new TypeService("PROCESSING_COST");
    public static final TypeService PROVISIONING = new TypeService("PROVISIONING");
    public static final TypeService THREE_DSECURE = new TypeService("THREE_D_SECURE");
    public static final TypeService FULFILLMENT = new TypeService("FULFILLMENT");
    public static final TypeService RECONCILIATION = new TypeService("RECONCILIATION");
    public static final TypeService RECONCILIATION = new TypeService("RECONCILIATION");
    public static final TypeService RECONCILIATION = new TypeService("RECONCILIATION");
    public static final TypeService RECONCILIATION = new TypeService("RECONCILIATION");
    public static final TypeService VERIFICATION = new TypeService("VERIFICATION");
    public static final TypeService VERIFICATION = new TypeService("VERIFICATION");
    public static final TypeService VERIFICATION = new TypeService("VERIFICATION");
    public static final TypeService SMS = new TypeService("SMS");
    public static final TypeService SMS = new TypeService("SMS");
    public static final TypeService SMS = new TypeService("SMS");
 
    private static final java.util.Map values = new java.util.TreeMap();
    private static java.util.List literals = new java.util.ArrayList(3);
    private static java.util.List names = new java.util.ArrayList(3);
 
    /**
     * Initializes the values.
     */
    static {
        values.put(RETAIL.value, RETAIL);
	literals.add(RETAIL.value);
	RETAIL.setName("RETAIL");
        names.add("RETAIL");
        values.put(CC_BATCH.value, CC_BATCH);
	literals.add(CC_BATCH.value);
	CC_BATCH.setName("CC_BATCH");
        names.add("CC_BATCH");
        values.put(EFT_BATCH.value, EFT_BATCH);
	literals.add(EFT_BATCH.value);
	EFT_BATCH.setName("EFT_BATCH");
        names.add("EFT_BATCH");
        values.put(COLLECTIONS.value, COLLECTIONS);
	literals.add(COLLECTIONS.value);
	COLLECTIONS.setName("COLLECTIONS");
        names.add("COLLECTIONS");
        values.put(STATEMENT.value, STATEMENT);
	literals.add(STATEMENT.value);
	STATEMENT.setName("STATEMENT");
        names.add("STATEMENT");
        values.put(CHARGEBACK.value, CHARGEBACK);
	literals.add(CHARGEBACK.value);
	CHARGEBACK.setName("CHARGEBACK");
        names.add("CHARGEBACK");
        values.put(TOKEN_REGISTER.value, TOKEN_REGISTER);
	literals.add(TOKEN_REGISTER.value);
	TOKEN_REGISTER.setName("TOKEN_REGISTER");
        names.add("TOKEN_REGISTER");
        values.put(ACCOUNT_UPDATER.value, ACCOUNT_UPDATER);
	literals.add(ACCOUNT_UPDATER.value);
	ACCOUNT_UPDATER.setName("ACCOUNT_UPDATER");
        names.add("ACCOUNT_UPDATER");
        values.put(SKIP_TRACING.value, SKIP_TRACING);
	literals.add(SKIP_TRACING.value);
	SKIP_TRACING.setName("SKIP_TRACING");
        names.add("SKIP_TRACING");
        values.put(PROCESSING_COST.value, PROCESSING_COST);
	literals.add(PROCESSING_COST.value);
	PROCESSING_COST.setName("PROCESSING_COST");
        names.add("PROCESSING_COST");
        values.put(PROVISIONING.value, PROVISIONING);
	literals.add(PROVISIONING.value);
	PROVISIONING.setName("PROVISIONING");
        names.add("PROVISIONING");
        values.put(THREE_DSECURE.value, THREE_DSECURE);
	literals.add(THREE_DSECURE.value);
	THREE_DSECURE.setName("THREE_DSECURE");
        names.add("THREE_DSECURE");
        values.put(FULFILLMENT.value, FULFILLMENT);
	literals.add(FULFILLMENT.value);
	FULFILLMENT.setName("FULFILLMENT");
        names.add("FULFILLMENT");
        values.put(RETAIL.value, RETAIL);
	literals.add(RETAIL.value);
	RETAIL.setName("RETAIL");
        names.add("RETAIL");
        values.put(CC_BATCH.value, CC_BATCH);
	literals.add(CC_BATCH.value);
	CC_BATCH.setName("CC_BATCH");
        names.add("CC_BATCH");
        values.put(EFT_BATCH.value, EFT_BATCH);
	literals.add(EFT_BATCH.value);
	EFT_BATCH.setName("EFT_BATCH");
        names.add("EFT_BATCH");
        values.put(COLLECTIONS.value, COLLECTIONS);
	literals.add(COLLECTIONS.value);
	COLLECTIONS.setName("COLLECTIONS");
        names.add("COLLECTIONS");
        values.put(STATEMENT.value, STATEMENT);
	literals.add(STATEMENT.value);
	STATEMENT.setName("STATEMENT");
        names.add("STATEMENT");
        values.put(CHARGEBACK.value, CHARGEBACK);
	literals.add(CHARGEBACK.value);
	CHARGEBACK.setName("CHARGEBACK");
        names.add("CHARGEBACK");
        values.put(TOKEN_REGISTER.value, TOKEN_REGISTER);
	literals.add(TOKEN_REGISTER.value);
	TOKEN_REGISTER.setName("TOKEN_REGISTER");
        names.add("TOKEN_REGISTER");
        values.put(ACCOUNT_UPDATER.value, ACCOUNT_UPDATER);
	literals.add(ACCOUNT_UPDATER.value);
	ACCOUNT_UPDATER.setName("ACCOUNT_UPDATER");
        names.add("ACCOUNT_UPDATER");
        values.put(SKIP_TRACING.value, SKIP_TRACING);
	literals.add(SKIP_TRACING.value);
	SKIP_TRACING.setName("SKIP_TRACING");
        names.add("SKIP_TRACING");
        values.put(PROCESSING_COST.value, PROCESSING_COST);
	literals.add(PROCESSING_COST.value);
	PROCESSING_COST.setName("PROCESSING_COST");
        names.add("PROCESSING_COST");
        values.put(PROVISIONING.value, PROVISIONING);
	literals.add(PROVISIONING.value);
	PROVISIONING.setName("PROVISIONING");
        names.add("PROVISIONING");
        values.put(THREE_DSECURE.value, THREE_DSECURE);
	literals.add(THREE_DSECURE.value);
	THREE_DSECURE.setName("THREE_DSECURE");
        names.add("THREE_DSECURE");
        values.put(FULFILLMENT.value, FULFILLMENT);
	literals.add(FULFILLMENT.value);
	FULFILLMENT.setName("FULFILLMENT");
        names.add("FULFILLMENT");
        values.put(RETAIL.value, RETAIL);
	literals.add(RETAIL.value);
	RETAIL.setName("RETAIL");
        names.add("RETAIL");
        values.put(CC_BATCH.value, CC_BATCH);
	literals.add(CC_BATCH.value);
	CC_BATCH.setName("CC_BATCH");
        names.add("CC_BATCH");
        values.put(EFT_BATCH.value, EFT_BATCH);
	literals.add(EFT_BATCH.value);
	EFT_BATCH.setName("EFT_BATCH");
        names.add("EFT_BATCH");
        values.put(COLLECTIONS.value, COLLECTIONS);
	literals.add(COLLECTIONS.value);
	COLLECTIONS.setName("COLLECTIONS");
        names.add("COLLECTIONS");
        values.put(STATEMENT.value, STATEMENT);
	literals.add(STATEMENT.value);
	STATEMENT.setName("STATEMENT");
        names.add("STATEMENT");
        values.put(CHARGEBACK.value, CHARGEBACK);
	literals.add(CHARGEBACK.value);
	CHARGEBACK.setName("CHARGEBACK");
        names.add("CHARGEBACK");
        values.put(TOKEN_REGISTER.value, TOKEN_REGISTER);
	literals.add(TOKEN_REGISTER.value);
	TOKEN_REGISTER.setName("TOKEN_REGISTER");
        names.add("TOKEN_REGISTER");
        values.put(ACCOUNT_UPDATER.value, ACCOUNT_UPDATER);
	literals.add(ACCOUNT_UPDATER.value);
	ACCOUNT_UPDATER.setName("ACCOUNT_UPDATER");
        names.add("ACCOUNT_UPDATER");
        values.put(SKIP_TRACING.value, SKIP_TRACING);
	literals.add(SKIP_TRACING.value);
	SKIP_TRACING.setName("SKIP_TRACING");
        names.add("SKIP_TRACING");
        values.put(PROCESSING_COST.value, PROCESSING_COST);
	literals.add(PROCESSING_COST.value);
	PROCESSING_COST.setName("PROCESSING_COST");
        names.add("PROCESSING_COST");
        values.put(PROVISIONING.value, PROVISIONING);
	literals.add(PROVISIONING.value);
	PROVISIONING.setName("PROVISIONING");
        names.add("PROVISIONING");
        values.put(THREE_DSECURE.value, THREE_DSECURE);
	literals.add(THREE_DSECURE.value);
	THREE_DSECURE.setName("THREE_DSECURE");
        names.add("THREE_DSECURE");
        values.put(FULFILLMENT.value, FULFILLMENT);
	literals.add(FULFILLMENT.value);
	FULFILLMENT.setName("FULFILLMENT");
        names.add("FULFILLMENT");
        values.put(RECONCILIATION.value, RECONCILIATION);
	literals.add(RECONCILIATION.value);
	RECONCILIATION.setName("RECONCILIATION");
        names.add("RECONCILIATION");
        values.put(RECONCILIATION.value, RECONCILIATION);
	literals.add(RECONCILIATION.value);
	RECONCILIATION.setName("RECONCILIATION");
        names.add("RECONCILIATION");
        values.put(RECONCILIATION.value, RECONCILIATION);
	literals.add(RECONCILIATION.value);
	RECONCILIATION.setName("RECONCILIATION");
        names.add("RECONCILIATION");
        values.put(RECONCILIATION.value, RECONCILIATION);
	literals.add(RECONCILIATION.value);
	RECONCILIATION.setName("RECONCILIATION");
        names.add("RECONCILIATION");
        values.put(VERIFICATION.value, VERIFICATION);
	literals.add(VERIFICATION.value);
	VERIFICATION.setName("VERIFICATION");
        names.add("VERIFICATION");
        values.put(VERIFICATION.value, VERIFICATION);
	literals.add(VERIFICATION.value);
	VERIFICATION.setName("VERIFICATION");
        names.add("VERIFICATION");
        values.put(VERIFICATION.value, VERIFICATION);
	literals.add(VERIFICATION.value);
	VERIFICATION.setName("VERIFICATION");
        names.add("VERIFICATION");
        values.put(SMS.value, SMS);
	literals.add(SMS.value);
	SMS.setName("SMS");
        names.add("SMS");
        values.put(SMS.value, SMS);
	literals.add(SMS.value);
	SMS.setName("SMS");
        names.add("SMS");
        values.put(SMS.value, SMS);
	literals.add(SMS.value);
	SMS.setName("SMS");
        names.add("SMS");
        literals = java.util.Collections.unmodifiableList(literals);
        names = java.util.Collections.unmodifiableList(names);
    }
 
	private java.lang.String value;
	private java.lang.String name;
 
	/**
     * The default constructor allowing super classes to access it.
     */
    protected TypeService() {}
 
    private TypeService(java.lang.String value) {
        this.value = value;
    }
 
	public String toString() {
        return java.lang.String.valueOf(value);
    }
 
    /**
     * Creates an instance of TypeService from <code>value</code>.
     *
     * @param value the value to create the TypeService from.
     */
    public static TypeService fromString(java.lang.String value) {
        if(value == null) return null;
		final TypeService typeValue = (TypeService) values.get(value);
        if (typeValue == null) {
            throw new IllegalArgumentException("invalid value '" + value + "', possible values are: " + literals);
        }
        return typeValue;
    }
 
	/**
	* Checks correct value for the classifier
	*/
	public boolean isTypeService(java.lang.String value){
	  return (value == null || values.get(value) != null);
	}
    /**
     * Get/set for value
     */
    public java.lang.String getValue() {
        return this.value;
    }
    public java.lang.String getName() {
        return this.name;
    }
    /**
     * Get/set for name
     */
    private void setName(java.lang.String name) {
        this.name = name;
    }
    /**
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    public int compareTo(Object that)
    {
        return (this == that) ? 0 : this.getValue().compareTo(((TypeService)that).getValue());
    }
 
    public static java.util.Map getValues() {
        return values;
    }
 
    /**
     * Returns an unmodifiable list containing the literals that are known by this enumeration.
     *
     * @return A List containing the actual literals defined by this enumeration, this list
     *         can not be modified.
     */
    public static java.util.List literals() {
        return literals;
    }
 
    /**
     * Returns an unmodifiable list containing the names of the literals that are known
     * by this enumeration.
     *
     * @return A List containing the actual names of the literals defined by this
     *         enumeration, this list can not be modified.
     */
    public static java.util.List names() {
        return names;
    }
 
    /**
     * @see java.lang.Object#equals(java.lang.Object)
     */
    public boolean equals(Object object) {
        return (this == object)
            || (object instanceof TypeService && ((TypeService)object).getValue().equals(
                this.getValue()));
    }
 
    /**
     * @see java.lang.Object#hashCode()
     */
    public int hashCode() {
        return this.getValue().hashCode();
    }
 
    /**
     * This method allows the deserialization of an instance of this enumeration type to return the actual instance
     * that will be the singleton for the JVM in which the current thread is running.
     * <p/>
     * Doing this will allow users to safely use the equality operator <code>==</code> for enumerations because
     * a regular deserialized object is always a newly constructed instance and will therefore never be
     * an existing reference; it is this <code>readResolve()</code> method which will intercept the deserialization
     * process in order to return the proper singleton reference.
     */
    private java.lang.Object readResolve() throws java.io.ObjectStreamException {
        return TypeService.fromString(this.value);
    }
 
}