package atlas.classifiers;
 
public class TransactionIndustryClassifier 
    implements java.io.Serializable, iapp.services.Classifier {
 
    public static final TransactionIndustryClassifier DIRECT_MARKETING = new TransactionIndustryClassifier("DM");
    public static final TransactionIndustryClassifier ECOMMERCE = new TransactionIndustryClassifier("EC");
    public static final TransactionIndustryClassifier RETAIL = new TransactionIndustryClassifier("RE");
    public static final TransactionIndustryClassifier INSTALLMENT = new TransactionIndustryClassifier("IP");
    public static final TransactionIndustryClassifier RECURRING = new TransactionIndustryClassifier("RP");
    public static final TransactionIndustryClassifier RESTAURANT = new TransactionIndustryClassifier("RS");
    public static final TransactionIndustryClassifier RETAIL_CARD_NOT_PRESENT = new TransactionIndustryClassifier("RX");
    public static final TransactionIndustryClassifier RESTAURANT_CARD_NOT_PRESENT = new TransactionIndustryClassifier("RN");
    public static final TransactionIndustryClassifier PETROLEUM = new TransactionIndustryClassifier("PT");
    public static final TransactionIndustryClassifier LODGING = new TransactionIndustryClassifier("LD");
    public static final TransactionIndustryClassifier CORPORATE_CREDIT_OR_DEBIT = new TransactionIndustryClassifier("CCD");
    public static final TransactionIndustryClassifier PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY = new TransactionIndustryClassifier("PPD");
    public static final TransactionIndustryClassifier POINT_OF_PURCHASE_ENTRY = new TransactionIndustryClassifier("POP");
    public static final TransactionIndustryClassifier TELEPHONE_INITIATED_ENTRY = new TransactionIndustryClassifier("TEL");
    public static final TransactionIndustryClassifier INTERNET_INITIATED_ENTRY = new TransactionIndustryClassifier("WEB");
    public static final TransactionIndustryClassifier CHECK21 = new TransactionIndustryClassifier("C21");
    public static final TransactionIndustryClassifier CAR_RENTAL = new TransactionIndustryClassifier("CR");
    public static final TransactionIndustryClassifier DIRECT_MARKETING = new TransactionIndustryClassifier("DM");
    public static final TransactionIndustryClassifier ECOMMERCE = new TransactionIndustryClassifier("EC");
    public static final TransactionIndustryClassifier RETAIL = new TransactionIndustryClassifier("RE");
    public static final TransactionIndustryClassifier INSTALLMENT = new TransactionIndustryClassifier("IP");
    public static final TransactionIndustryClassifier RECURRING = new TransactionIndustryClassifier("RP");
    public static final TransactionIndustryClassifier RESTAURANT = new TransactionIndustryClassifier("RS");
    public static final TransactionIndustryClassifier RETAIL_CARD_NOT_PRESENT = new TransactionIndustryClassifier("RX");
    public static final TransactionIndustryClassifier RESTAURANT_CARD_NOT_PRESENT = new TransactionIndustryClassifier("RN");
    public static final TransactionIndustryClassifier PETROLEUM = new TransactionIndustryClassifier("PT");
    public static final TransactionIndustryClassifier LODGING = new TransactionIndustryClassifier("LD");
    public static final TransactionIndustryClassifier CORPORATE_CREDIT_OR_DEBIT = new TransactionIndustryClassifier("CCD");
    public static final TransactionIndustryClassifier PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY = new TransactionIndustryClassifier("PPD");
    public static final TransactionIndustryClassifier POINT_OF_PURCHASE_ENTRY = new TransactionIndustryClassifier("POP");
    public static final TransactionIndustryClassifier TELEPHONE_INITIATED_ENTRY = new TransactionIndustryClassifier("TEL");
    public static final TransactionIndustryClassifier INTERNET_INITIATED_ENTRY = new TransactionIndustryClassifier("WEB");
    public static final TransactionIndustryClassifier CHECK21 = new TransactionIndustryClassifier("C21");
    public static final TransactionIndustryClassifier CAR_RENTAL = new TransactionIndustryClassifier("CR");
    public static final TransactionIndustryClassifier DIRECT_MARKETING = new TransactionIndustryClassifier("DM");
    public static final TransactionIndustryClassifier ECOMMERCE = new TransactionIndustryClassifier("EC");
    public static final TransactionIndustryClassifier RETAIL = new TransactionIndustryClassifier("RE");
    public static final TransactionIndustryClassifier INSTALLMENT = new TransactionIndustryClassifier("IP");
    public static final TransactionIndustryClassifier RECURRING = new TransactionIndustryClassifier("RP");
    public static final TransactionIndustryClassifier RESTAURANT = new TransactionIndustryClassifier("RS");
    public static final TransactionIndustryClassifier RETAIL_CARD_NOT_PRESENT = new TransactionIndustryClassifier("RX");
    public static final TransactionIndustryClassifier RESTAURANT_CARD_NOT_PRESENT = new TransactionIndustryClassifier("RN");
    public static final TransactionIndustryClassifier PETROLEUM = new TransactionIndustryClassifier("PT");
    public static final TransactionIndustryClassifier LODGING = new TransactionIndustryClassifier("LD");
    public static final TransactionIndustryClassifier CORPORATE_CREDIT_OR_DEBIT = new TransactionIndustryClassifier("CCD");
    public static final TransactionIndustryClassifier PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY = new TransactionIndustryClassifier("PPD");
    public static final TransactionIndustryClassifier POINT_OF_PURCHASE_ENTRY = new TransactionIndustryClassifier("POP");
    public static final TransactionIndustryClassifier TELEPHONE_INITIATED_ENTRY = new TransactionIndustryClassifier("TEL");
    public static final TransactionIndustryClassifier INTERNET_INITIATED_ENTRY = new TransactionIndustryClassifier("WEB");
    public static final TransactionIndustryClassifier CHECK21 = new TransactionIndustryClassifier("C21");
    public static final TransactionIndustryClassifier CAR_RENTAL = new TransactionIndustryClassifier("CR");
    public static final TransactionIndustryClassifier ANY = new TransactionIndustryClassifier("XX");
    public static final TransactionIndustryClassifier ANY = new TransactionIndustryClassifier("XX");
    public static final TransactionIndustryClassifier ANY = new TransactionIndustryClassifier("XX");
 
    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(DIRECT_MARKETING.value, DIRECT_MARKETING);
	literals.add(DIRECT_MARKETING.value);
	DIRECT_MARKETING.setName("DIRECT_MARKETING");
        names.add("DIRECT_MARKETING");
        values.put(ECOMMERCE.value, ECOMMERCE);
	literals.add(ECOMMERCE.value);
	ECOMMERCE.setName("ECOMMERCE");
        names.add("ECOMMERCE");
        values.put(RETAIL.value, RETAIL);
	literals.add(RETAIL.value);
	RETAIL.setName("RETAIL");
        names.add("RETAIL");
        values.put(INSTALLMENT.value, INSTALLMENT);
	literals.add(INSTALLMENT.value);
	INSTALLMENT.setName("INSTALLMENT");
        names.add("INSTALLMENT");
        values.put(RECURRING.value, RECURRING);
	literals.add(RECURRING.value);
	RECURRING.setName("RECURRING");
        names.add("RECURRING");
        values.put(RESTAURANT.value, RESTAURANT);
	literals.add(RESTAURANT.value);
	RESTAURANT.setName("RESTAURANT");
        names.add("RESTAURANT");
        values.put(RETAIL_CARD_NOT_PRESENT.value, RETAIL_CARD_NOT_PRESENT);
	literals.add(RETAIL_CARD_NOT_PRESENT.value);
	RETAIL_CARD_NOT_PRESENT.setName("RETAIL_CARD_NOT_PRESENT");
        names.add("RETAIL_CARD_NOT_PRESENT");
        values.put(RESTAURANT_CARD_NOT_PRESENT.value, RESTAURANT_CARD_NOT_PRESENT);
	literals.add(RESTAURANT_CARD_NOT_PRESENT.value);
	RESTAURANT_CARD_NOT_PRESENT.setName("RESTAURANT_CARD_NOT_PRESENT");
        names.add("RESTAURANT_CARD_NOT_PRESENT");
        values.put(PETROLEUM.value, PETROLEUM);
	literals.add(PETROLEUM.value);
	PETROLEUM.setName("PETROLEUM");
        names.add("PETROLEUM");
        values.put(LODGING.value, LODGING);
	literals.add(LODGING.value);
	LODGING.setName("LODGING");
        names.add("LODGING");
        values.put(CORPORATE_CREDIT_OR_DEBIT.value, CORPORATE_CREDIT_OR_DEBIT);
	literals.add(CORPORATE_CREDIT_OR_DEBIT.value);
	CORPORATE_CREDIT_OR_DEBIT.setName("CORPORATE_CREDIT_OR_DEBIT");
        names.add("CORPORATE_CREDIT_OR_DEBIT");
        values.put(PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.value, PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY);
	literals.add(PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.value);
	PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.setName("PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY");
        names.add("PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY");
        values.put(POINT_OF_PURCHASE_ENTRY.value, POINT_OF_PURCHASE_ENTRY);
	literals.add(POINT_OF_PURCHASE_ENTRY.value);
	POINT_OF_PURCHASE_ENTRY.setName("POINT_OF_PURCHASE_ENTRY");
        names.add("POINT_OF_PURCHASE_ENTRY");
        values.put(TELEPHONE_INITIATED_ENTRY.value, TELEPHONE_INITIATED_ENTRY);
	literals.add(TELEPHONE_INITIATED_ENTRY.value);
	TELEPHONE_INITIATED_ENTRY.setName("TELEPHONE_INITIATED_ENTRY");
        names.add("TELEPHONE_INITIATED_ENTRY");
        values.put(INTERNET_INITIATED_ENTRY.value, INTERNET_INITIATED_ENTRY);
	literals.add(INTERNET_INITIATED_ENTRY.value);
	INTERNET_INITIATED_ENTRY.setName("INTERNET_INITIATED_ENTRY");
        names.add("INTERNET_INITIATED_ENTRY");
        values.put(CHECK21.value, CHECK21);
	literals.add(CHECK21.value);
	CHECK21.setName("CHECK21");
        names.add("CHECK21");
        values.put(CAR_RENTAL.value, CAR_RENTAL);
	literals.add(CAR_RENTAL.value);
	CAR_RENTAL.setName("CAR_RENTAL");
        names.add("CAR_RENTAL");
        values.put(DIRECT_MARKETING.value, DIRECT_MARKETING);
	literals.add(DIRECT_MARKETING.value);
	DIRECT_MARKETING.setName("DIRECT_MARKETING");
        names.add("DIRECT_MARKETING");
        values.put(ECOMMERCE.value, ECOMMERCE);
	literals.add(ECOMMERCE.value);
	ECOMMERCE.setName("ECOMMERCE");
        names.add("ECOMMERCE");
        values.put(RETAIL.value, RETAIL);
	literals.add(RETAIL.value);
	RETAIL.setName("RETAIL");
        names.add("RETAIL");
        values.put(INSTALLMENT.value, INSTALLMENT);
	literals.add(INSTALLMENT.value);
	INSTALLMENT.setName("INSTALLMENT");
        names.add("INSTALLMENT");
        values.put(RECURRING.value, RECURRING);
	literals.add(RECURRING.value);
	RECURRING.setName("RECURRING");
        names.add("RECURRING");
        values.put(RESTAURANT.value, RESTAURANT);
	literals.add(RESTAURANT.value);
	RESTAURANT.setName("RESTAURANT");
        names.add("RESTAURANT");
        values.put(RETAIL_CARD_NOT_PRESENT.value, RETAIL_CARD_NOT_PRESENT);
	literals.add(RETAIL_CARD_NOT_PRESENT.value);
	RETAIL_CARD_NOT_PRESENT.setName("RETAIL_CARD_NOT_PRESENT");
        names.add("RETAIL_CARD_NOT_PRESENT");
        values.put(RESTAURANT_CARD_NOT_PRESENT.value, RESTAURANT_CARD_NOT_PRESENT);
	literals.add(RESTAURANT_CARD_NOT_PRESENT.value);
	RESTAURANT_CARD_NOT_PRESENT.setName("RESTAURANT_CARD_NOT_PRESENT");
        names.add("RESTAURANT_CARD_NOT_PRESENT");
        values.put(PETROLEUM.value, PETROLEUM);
	literals.add(PETROLEUM.value);
	PETROLEUM.setName("PETROLEUM");
        names.add("PETROLEUM");
        values.put(LODGING.value, LODGING);
	literals.add(LODGING.value);
	LODGING.setName("LODGING");
        names.add("LODGING");
        values.put(CORPORATE_CREDIT_OR_DEBIT.value, CORPORATE_CREDIT_OR_DEBIT);
	literals.add(CORPORATE_CREDIT_OR_DEBIT.value);
	CORPORATE_CREDIT_OR_DEBIT.setName("CORPORATE_CREDIT_OR_DEBIT");
        names.add("CORPORATE_CREDIT_OR_DEBIT");
        values.put(PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.value, PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY);
	literals.add(PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.value);
	PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.setName("PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY");
        names.add("PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY");
        values.put(POINT_OF_PURCHASE_ENTRY.value, POINT_OF_PURCHASE_ENTRY);
	literals.add(POINT_OF_PURCHASE_ENTRY.value);
	POINT_OF_PURCHASE_ENTRY.setName("POINT_OF_PURCHASE_ENTRY");
        names.add("POINT_OF_PURCHASE_ENTRY");
        values.put(TELEPHONE_INITIATED_ENTRY.value, TELEPHONE_INITIATED_ENTRY);
	literals.add(TELEPHONE_INITIATED_ENTRY.value);
	TELEPHONE_INITIATED_ENTRY.setName("TELEPHONE_INITIATED_ENTRY");
        names.add("TELEPHONE_INITIATED_ENTRY");
        values.put(INTERNET_INITIATED_ENTRY.value, INTERNET_INITIATED_ENTRY);
	literals.add(INTERNET_INITIATED_ENTRY.value);
	INTERNET_INITIATED_ENTRY.setName("INTERNET_INITIATED_ENTRY");
        names.add("INTERNET_INITIATED_ENTRY");
        values.put(CHECK21.value, CHECK21);
	literals.add(CHECK21.value);
	CHECK21.setName("CHECK21");
        names.add("CHECK21");
        values.put(CAR_RENTAL.value, CAR_RENTAL);
	literals.add(CAR_RENTAL.value);
	CAR_RENTAL.setName("CAR_RENTAL");
        names.add("CAR_RENTAL");
        values.put(DIRECT_MARKETING.value, DIRECT_MARKETING);
	literals.add(DIRECT_MARKETING.value);
	DIRECT_MARKETING.setName("DIRECT_MARKETING");
        names.add("DIRECT_MARKETING");
        values.put(ECOMMERCE.value, ECOMMERCE);
	literals.add(ECOMMERCE.value);
	ECOMMERCE.setName("ECOMMERCE");
        names.add("ECOMMERCE");
        values.put(RETAIL.value, RETAIL);
	literals.add(RETAIL.value);
	RETAIL.setName("RETAIL");
        names.add("RETAIL");
        values.put(INSTALLMENT.value, INSTALLMENT);
	literals.add(INSTALLMENT.value);
	INSTALLMENT.setName("INSTALLMENT");
        names.add("INSTALLMENT");
        values.put(RECURRING.value, RECURRING);
	literals.add(RECURRING.value);
	RECURRING.setName("RECURRING");
        names.add("RECURRING");
        values.put(RESTAURANT.value, RESTAURANT);
	literals.add(RESTAURANT.value);
	RESTAURANT.setName("RESTAURANT");
        names.add("RESTAURANT");
        values.put(RETAIL_CARD_NOT_PRESENT.value, RETAIL_CARD_NOT_PRESENT);
	literals.add(RETAIL_CARD_NOT_PRESENT.value);
	RETAIL_CARD_NOT_PRESENT.setName("RETAIL_CARD_NOT_PRESENT");
        names.add("RETAIL_CARD_NOT_PRESENT");
        values.put(RESTAURANT_CARD_NOT_PRESENT.value, RESTAURANT_CARD_NOT_PRESENT);
	literals.add(RESTAURANT_CARD_NOT_PRESENT.value);
	RESTAURANT_CARD_NOT_PRESENT.setName("RESTAURANT_CARD_NOT_PRESENT");
        names.add("RESTAURANT_CARD_NOT_PRESENT");
        values.put(PETROLEUM.value, PETROLEUM);
	literals.add(PETROLEUM.value);
	PETROLEUM.setName("PETROLEUM");
        names.add("PETROLEUM");
        values.put(LODGING.value, LODGING);
	literals.add(LODGING.value);
	LODGING.setName("LODGING");
        names.add("LODGING");
        values.put(CORPORATE_CREDIT_OR_DEBIT.value, CORPORATE_CREDIT_OR_DEBIT);
	literals.add(CORPORATE_CREDIT_OR_DEBIT.value);
	CORPORATE_CREDIT_OR_DEBIT.setName("CORPORATE_CREDIT_OR_DEBIT");
        names.add("CORPORATE_CREDIT_OR_DEBIT");
        values.put(PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.value, PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY);
	literals.add(PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.value);
	PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY.setName("PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY");
        names.add("PREARRANGED_PAYMENT_AND_DEPOSIT_ENTRY");
        values.put(POINT_OF_PURCHASE_ENTRY.value, POINT_OF_PURCHASE_ENTRY);
	literals.add(POINT_OF_PURCHASE_ENTRY.value);
	POINT_OF_PURCHASE_ENTRY.setName("POINT_OF_PURCHASE_ENTRY");
        names.add("POINT_OF_PURCHASE_ENTRY");
        values.put(TELEPHONE_INITIATED_ENTRY.value, TELEPHONE_INITIATED_ENTRY);
	literals.add(TELEPHONE_INITIATED_ENTRY.value);
	TELEPHONE_INITIATED_ENTRY.setName("TELEPHONE_INITIATED_ENTRY");
        names.add("TELEPHONE_INITIATED_ENTRY");
        values.put(INTERNET_INITIATED_ENTRY.value, INTERNET_INITIATED_ENTRY);
	literals.add(INTERNET_INITIATED_ENTRY.value);
	INTERNET_INITIATED_ENTRY.setName("INTERNET_INITIATED_ENTRY");
        names.add("INTERNET_INITIATED_ENTRY");
        values.put(CHECK21.value, CHECK21);
	literals.add(CHECK21.value);
	CHECK21.setName("CHECK21");
        names.add("CHECK21");
        values.put(CAR_RENTAL.value, CAR_RENTAL);
	literals.add(CAR_RENTAL.value);
	CAR_RENTAL.setName("CAR_RENTAL");
        names.add("CAR_RENTAL");
        values.put(ANY.value, ANY);
	literals.add(ANY.value);
	ANY.setName("ANY");
        names.add("ANY");
        values.put(ANY.value, ANY);
	literals.add(ANY.value);
	ANY.setName("ANY");
        names.add("ANY");
        values.put(ANY.value, ANY);
	literals.add(ANY.value);
	ANY.setName("ANY");
        names.add("ANY");
        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 TransactionIndustryClassifier() {}
 
    private TransactionIndustryClassifier(java.lang.String value) {
        this.value = value;
    }
 
	public String toString() {
        return java.lang.String.valueOf(value);
    }
 
    /**
     * Creates an instance of TransactionIndustryClassifier from <code>value</code>.
     *
     * @param value the value to create the TransactionIndustryClassifier from.
     */
    public static TransactionIndustryClassifier fromString(java.lang.String value) {
        if(value == null) return null;
		final TransactionIndustryClassifier typeValue = (TransactionIndustryClassifier) 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 isTransactionIndustryClassifier(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(((TransactionIndustryClassifier)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 TransactionIndustryClassifier && ((TransactionIndustryClassifier)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 TransactionIndustryClassifier.fromString(this.value);
    }
 
}