package atlas.classifiers;
 
public class RetailIso8583ProfileClassifier 
    implements java.io.Serializable, iapp.services.Classifier {
 
    public static final RetailIso8583ProfileClassifier FIRST_DATA_NASHVILE = new RetailIso8583ProfileClassifier("SH");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_NORTH = new RetailIso8583ProfileClassifier("NR");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_BUY_PASS = new RetailIso8583ProfileClassifier("BP");
    public static final RetailIso8583ProfileClassifier PAYMENTECH = new RetailIso8583ProfileClassifier("PT");
    public static final RetailIso8583ProfileClassifier GLOBAL_PAYMENTS_EAST = new RetailIso8583ProfileClassifier("GP");
    public static final RetailIso8583ProfileClassifier VANTIV = new RetailIso8583ProfileClassifier("VT");
    public static final RetailIso8583ProfileClassifier WORLD_PAY = new RetailIso8583ProfileClassifier("WP");
    public static final RetailIso8583ProfileClassifier AMERICAN_EXPRESS = new RetailIso8583ProfileClassifier("AX");
    public static final RetailIso8583ProfileClassifier ELAVON = new RetailIso8583ProfileClassifier("LV");
    public static final RetailIso8583ProfileClassifier ELAVON_EU = new RetailIso8583ProfileClassifier("LE");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_OMPI_PAY = new RetailIso8583ProfileClassifier("OP");
    public static final RetailIso8583ProfileClassifier BANCOMER = new RetailIso8583ProfileClassifier("BN");
    public static final RetailIso8583ProfileClassifier ELAVON_EU = new RetailIso8583ProfileClassifier("LE");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_NASHVILE = new RetailIso8583ProfileClassifier("SH");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_NORTH = new RetailIso8583ProfileClassifier("NR");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_BUY_PASS = new RetailIso8583ProfileClassifier("BP");
    public static final RetailIso8583ProfileClassifier PAYMENTECH = new RetailIso8583ProfileClassifier("PT");
    public static final RetailIso8583ProfileClassifier GLOBAL_PAYMENTS_EAST = new RetailIso8583ProfileClassifier("GP");
    public static final RetailIso8583ProfileClassifier VANTIV = new RetailIso8583ProfileClassifier("VT");
    public static final RetailIso8583ProfileClassifier WORLD_PAY = new RetailIso8583ProfileClassifier("WP");
    public static final RetailIso8583ProfileClassifier AMERICAN_EXPRESS = new RetailIso8583ProfileClassifier("AX");
    public static final RetailIso8583ProfileClassifier ELAVON = new RetailIso8583ProfileClassifier("LV");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_OMPI_PAY = new RetailIso8583ProfileClassifier("OP");
    public static final RetailIso8583ProfileClassifier BANCOMER = new RetailIso8583ProfileClassifier("BN");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_NASHVILE = new RetailIso8583ProfileClassifier("SH");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_NORTH = new RetailIso8583ProfileClassifier("NR");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_BUY_PASS = new RetailIso8583ProfileClassifier("BP");
    public static final RetailIso8583ProfileClassifier PAYMENTECH = new RetailIso8583ProfileClassifier("PT");
    public static final RetailIso8583ProfileClassifier GLOBAL_PAYMENTS_EAST = new RetailIso8583ProfileClassifier("GP");
    public static final RetailIso8583ProfileClassifier VANTIV = new RetailIso8583ProfileClassifier("VT");
    public static final RetailIso8583ProfileClassifier WORLD_PAY = new RetailIso8583ProfileClassifier("WP");
    public static final RetailIso8583ProfileClassifier AMERICAN_EXPRESS = new RetailIso8583ProfileClassifier("AX");
    public static final RetailIso8583ProfileClassifier ELAVON = new RetailIso8583ProfileClassifier("LV");
    public static final RetailIso8583ProfileClassifier FIRST_DATA_OMPI_PAY = new RetailIso8583ProfileClassifier("OP");
    public static final RetailIso8583ProfileClassifier BANCOMER = new RetailIso8583ProfileClassifier("BN");
    public static final RetailIso8583ProfileClassifier ELAVON_EU = new RetailIso8583ProfileClassifier("LE");
    public static final RetailIso8583ProfileClassifier ELAVON = new RetailIso8583ProfileClassifier("LV");
    public static final RetailIso8583ProfileClassifier ELAVON = new RetailIso8583ProfileClassifier("LV");
    public static final RetailIso8583ProfileClassifier ELAVON = new RetailIso8583ProfileClassifier("LV");
 
    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(FIRST_DATA_NASHVILE.value, FIRST_DATA_NASHVILE);
	literals.add(FIRST_DATA_NASHVILE.value);
	FIRST_DATA_NASHVILE.setName("FIRST_DATA_NASHVILE");
        names.add("FIRST_DATA_NASHVILE");
        values.put(FIRST_DATA_NORTH.value, FIRST_DATA_NORTH);
	literals.add(FIRST_DATA_NORTH.value);
	FIRST_DATA_NORTH.setName("FIRST_DATA_NORTH");
        names.add("FIRST_DATA_NORTH");
        values.put(FIRST_DATA_BUY_PASS.value, FIRST_DATA_BUY_PASS);
	literals.add(FIRST_DATA_BUY_PASS.value);
	FIRST_DATA_BUY_PASS.setName("FIRST_DATA_BUY_PASS");
        names.add("FIRST_DATA_BUY_PASS");
        values.put(PAYMENTECH.value, PAYMENTECH);
	literals.add(PAYMENTECH.value);
	PAYMENTECH.setName("PAYMENTECH");
        names.add("PAYMENTECH");
        values.put(GLOBAL_PAYMENTS_EAST.value, GLOBAL_PAYMENTS_EAST);
	literals.add(GLOBAL_PAYMENTS_EAST.value);
	GLOBAL_PAYMENTS_EAST.setName("GLOBAL_PAYMENTS_EAST");
        names.add("GLOBAL_PAYMENTS_EAST");
        values.put(VANTIV.value, VANTIV);
	literals.add(VANTIV.value);
	VANTIV.setName("VANTIV");
        names.add("VANTIV");
        values.put(WORLD_PAY.value, WORLD_PAY);
	literals.add(WORLD_PAY.value);
	WORLD_PAY.setName("WORLD_PAY");
        names.add("WORLD_PAY");
        values.put(AMERICAN_EXPRESS.value, AMERICAN_EXPRESS);
	literals.add(AMERICAN_EXPRESS.value);
	AMERICAN_EXPRESS.setName("AMERICAN_EXPRESS");
        names.add("AMERICAN_EXPRESS");
        values.put(ELAVON.value, ELAVON);
	literals.add(ELAVON.value);
	ELAVON.setName("ELAVON");
        names.add("ELAVON");
        values.put(ELAVON_EU.value, ELAVON_EU);
	literals.add(ELAVON_EU.value);
	ELAVON_EU.setName("ELAVON_EU");
        names.add("ELAVON_EU");
        values.put(FIRST_DATA_OMPI_PAY.value, FIRST_DATA_OMPI_PAY);
	literals.add(FIRST_DATA_OMPI_PAY.value);
	FIRST_DATA_OMPI_PAY.setName("FIRST_DATA_OMPI_PAY");
        names.add("FIRST_DATA_OMPI_PAY");
        values.put(BANCOMER.value, BANCOMER);
	literals.add(BANCOMER.value);
	BANCOMER.setName("BANCOMER");
        names.add("BANCOMER");
        values.put(ELAVON_EU.value, ELAVON_EU);
	literals.add(ELAVON_EU.value);
	ELAVON_EU.setName("ELAVON_EU");
        names.add("ELAVON_EU");
        values.put(FIRST_DATA_NASHVILE.value, FIRST_DATA_NASHVILE);
	literals.add(FIRST_DATA_NASHVILE.value);
	FIRST_DATA_NASHVILE.setName("FIRST_DATA_NASHVILE");
        names.add("FIRST_DATA_NASHVILE");
        values.put(FIRST_DATA_NORTH.value, FIRST_DATA_NORTH);
	literals.add(FIRST_DATA_NORTH.value);
	FIRST_DATA_NORTH.setName("FIRST_DATA_NORTH");
        names.add("FIRST_DATA_NORTH");
        values.put(FIRST_DATA_BUY_PASS.value, FIRST_DATA_BUY_PASS);
	literals.add(FIRST_DATA_BUY_PASS.value);
	FIRST_DATA_BUY_PASS.setName("FIRST_DATA_BUY_PASS");
        names.add("FIRST_DATA_BUY_PASS");
        values.put(PAYMENTECH.value, PAYMENTECH);
	literals.add(PAYMENTECH.value);
	PAYMENTECH.setName("PAYMENTECH");
        names.add("PAYMENTECH");
        values.put(GLOBAL_PAYMENTS_EAST.value, GLOBAL_PAYMENTS_EAST);
	literals.add(GLOBAL_PAYMENTS_EAST.value);
	GLOBAL_PAYMENTS_EAST.setName("GLOBAL_PAYMENTS_EAST");
        names.add("GLOBAL_PAYMENTS_EAST");
        values.put(VANTIV.value, VANTIV);
	literals.add(VANTIV.value);
	VANTIV.setName("VANTIV");
        names.add("VANTIV");
        values.put(WORLD_PAY.value, WORLD_PAY);
	literals.add(WORLD_PAY.value);
	WORLD_PAY.setName("WORLD_PAY");
        names.add("WORLD_PAY");
        values.put(AMERICAN_EXPRESS.value, AMERICAN_EXPRESS);
	literals.add(AMERICAN_EXPRESS.value);
	AMERICAN_EXPRESS.setName("AMERICAN_EXPRESS");
        names.add("AMERICAN_EXPRESS");
        values.put(ELAVON.value, ELAVON);
	literals.add(ELAVON.value);
	ELAVON.setName("ELAVON");
        names.add("ELAVON");
        values.put(FIRST_DATA_OMPI_PAY.value, FIRST_DATA_OMPI_PAY);
	literals.add(FIRST_DATA_OMPI_PAY.value);
	FIRST_DATA_OMPI_PAY.setName("FIRST_DATA_OMPI_PAY");
        names.add("FIRST_DATA_OMPI_PAY");
        values.put(BANCOMER.value, BANCOMER);
	literals.add(BANCOMER.value);
	BANCOMER.setName("BANCOMER");
        names.add("BANCOMER");
        values.put(FIRST_DATA_NASHVILE.value, FIRST_DATA_NASHVILE);
	literals.add(FIRST_DATA_NASHVILE.value);
	FIRST_DATA_NASHVILE.setName("FIRST_DATA_NASHVILE");
        names.add("FIRST_DATA_NASHVILE");
        values.put(FIRST_DATA_NORTH.value, FIRST_DATA_NORTH);
	literals.add(FIRST_DATA_NORTH.value);
	FIRST_DATA_NORTH.setName("FIRST_DATA_NORTH");
        names.add("FIRST_DATA_NORTH");
        values.put(FIRST_DATA_BUY_PASS.value, FIRST_DATA_BUY_PASS);
	literals.add(FIRST_DATA_BUY_PASS.value);
	FIRST_DATA_BUY_PASS.setName("FIRST_DATA_BUY_PASS");
        names.add("FIRST_DATA_BUY_PASS");
        values.put(PAYMENTECH.value, PAYMENTECH);
	literals.add(PAYMENTECH.value);
	PAYMENTECH.setName("PAYMENTECH");
        names.add("PAYMENTECH");
        values.put(GLOBAL_PAYMENTS_EAST.value, GLOBAL_PAYMENTS_EAST);
	literals.add(GLOBAL_PAYMENTS_EAST.value);
	GLOBAL_PAYMENTS_EAST.setName("GLOBAL_PAYMENTS_EAST");
        names.add("GLOBAL_PAYMENTS_EAST");
        values.put(VANTIV.value, VANTIV);
	literals.add(VANTIV.value);
	VANTIV.setName("VANTIV");
        names.add("VANTIV");
        values.put(WORLD_PAY.value, WORLD_PAY);
	literals.add(WORLD_PAY.value);
	WORLD_PAY.setName("WORLD_PAY");
        names.add("WORLD_PAY");
        values.put(AMERICAN_EXPRESS.value, AMERICAN_EXPRESS);
	literals.add(AMERICAN_EXPRESS.value);
	AMERICAN_EXPRESS.setName("AMERICAN_EXPRESS");
        names.add("AMERICAN_EXPRESS");
        values.put(ELAVON.value, ELAVON);
	literals.add(ELAVON.value);
	ELAVON.setName("ELAVON");
        names.add("ELAVON");
        values.put(FIRST_DATA_OMPI_PAY.value, FIRST_DATA_OMPI_PAY);
	literals.add(FIRST_DATA_OMPI_PAY.value);
	FIRST_DATA_OMPI_PAY.setName("FIRST_DATA_OMPI_PAY");
        names.add("FIRST_DATA_OMPI_PAY");
        values.put(BANCOMER.value, BANCOMER);
	literals.add(BANCOMER.value);
	BANCOMER.setName("BANCOMER");
        names.add("BANCOMER");
        values.put(ELAVON_EU.value, ELAVON_EU);
	literals.add(ELAVON_EU.value);
	ELAVON_EU.setName("ELAVON_EU");
        names.add("ELAVON_EU");
        values.put(ELAVON.value, ELAVON);
	literals.add(ELAVON.value);
	ELAVON.setName("ELAVON");
        names.add("ELAVON");
        values.put(ELAVON.value, ELAVON);
	literals.add(ELAVON.value);
	ELAVON.setName("ELAVON");
        names.add("ELAVON");
        values.put(ELAVON.value, ELAVON);
	literals.add(ELAVON.value);
	ELAVON.setName("ELAVON");
        names.add("ELAVON");
        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 RetailIso8583ProfileClassifier() {}
 
    private RetailIso8583ProfileClassifier(java.lang.String value) {
        this.value = value;
    }
 
	public String toString() {
        return java.lang.String.valueOf(value);
    }
 
    /**
     * Creates an instance of RetailIso8583ProfileClassifier from <code>value</code>.
     *
     * @param value the value to create the RetailIso8583ProfileClassifier from.
     */
    public static RetailIso8583ProfileClassifier fromString(java.lang.String value) {
        if(value == null) return null;
		final RetailIso8583ProfileClassifier typeValue = (RetailIso8583ProfileClassifier) 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 isRetailIso8583ProfileClassifier(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(((RetailIso8583ProfileClassifier)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 RetailIso8583ProfileClassifier && ((RetailIso8583ProfileClassifier)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 RetailIso8583ProfileClassifier.fromString(this.value);
    }
 
}