package atlas.classifiers;
 
public class ReturnProfileClassifier 
    implements java.io.Serializable, iapp.services.Classifier {
 
    public static final ReturnProfileClassifier VANTIV_LOWELL = new ReturnProfileClassifier("LTL");
    public static final ReturnProfileClassifier BANK_OF_MONREAL = new ReturnProfileClassifier("BMO");
    public static final ReturnProfileClassifier PROFIT_STARS = new ReturnProfileClassifier("PSR");
    public static final ReturnProfileClassifier OPTIMAL_PAYMENTS = new ReturnProfileClassifier("OPR");
    public static final ReturnProfileClassifier PRO_PAY = new ReturnProfileClassifier("PRP");
    public static final ReturnProfileClassifier JPMORGAN_ISO = new ReturnProfileClassifier("JMI");
    public static final ReturnProfileClassifier PAYMENTUS = new ReturnProfileClassifier("PMS");
    public static final ReturnProfileClassifier UNI_PAY = new ReturnProfileClassifier("UNP");
    public static final ReturnProfileClassifier VANTIV_LOWELL = new ReturnProfileClassifier("LTL");
    public static final ReturnProfileClassifier BANK_OF_MONREAL = new ReturnProfileClassifier("BMO");
    public static final ReturnProfileClassifier PROFIT_STARS = new ReturnProfileClassifier("PSR");
    public static final ReturnProfileClassifier OPTIMAL_PAYMENTS = new ReturnProfileClassifier("OPR");
    public static final ReturnProfileClassifier PRO_PAY = new ReturnProfileClassifier("PRP");
    public static final ReturnProfileClassifier JPMORGAN_ISO = new ReturnProfileClassifier("JMI");
    public static final ReturnProfileClassifier PAYMENTUS = new ReturnProfileClassifier("PMS");
    public static final ReturnProfileClassifier UNI_PAY = new ReturnProfileClassifier("UNP");
    public static final ReturnProfileClassifier VANTIV_LOWELL = new ReturnProfileClassifier("LTL");
    public static final ReturnProfileClassifier BANK_OF_MONREAL = new ReturnProfileClassifier("BMO");
    public static final ReturnProfileClassifier PROFIT_STARS = new ReturnProfileClassifier("PSR");
    public static final ReturnProfileClassifier OPTIMAL_PAYMENTS = new ReturnProfileClassifier("OPR");
    public static final ReturnProfileClassifier PRO_PAY = new ReturnProfileClassifier("PRP");
    public static final ReturnProfileClassifier JPMORGAN_ISO = new ReturnProfileClassifier("JMI");
    public static final ReturnProfileClassifier PAYMENTUS = new ReturnProfileClassifier("PMS");
    public static final ReturnProfileClassifier UNI_PAY = new ReturnProfileClassifier("UNP");
    public static final ReturnProfileClassifier ORBITAL = new ReturnProfileClassifier("ORB");
    public static final ReturnProfileClassifier FISERV = new ReturnProfileClassifier("FSR");
    public static final ReturnProfileClassifier FISERV = new ReturnProfileClassifier("FSR");
    public static final ReturnProfileClassifier ORBITAL = new ReturnProfileClassifier("ORB");
    public static final ReturnProfileClassifier FISERV = new ReturnProfileClassifier("FSR");
    public static final ReturnProfileClassifier ORBITAL = new ReturnProfileClassifier("ORB");
    public static final ReturnProfileClassifier FIRST_DATA_TELECHECK = new ReturnProfileClassifier("FDT");
    public static final ReturnProfileClassifier FIRST_DATA_TELECHECK = new ReturnProfileClassifier("FDT");
    public static final ReturnProfileClassifier FIRST_DATA_TELECHECK = new ReturnProfileClassifier("FDT");
    public static final ReturnProfileClassifier PEOPLES_BANK = new ReturnProfileClassifier("PBC");
    public static final ReturnProfileClassifier PEOPLES_BANK = new ReturnProfileClassifier("PBC");
    public static final ReturnProfileClassifier PEOPLES_BANK = new ReturnProfileClassifier("PBC");
    public static final ReturnProfileClassifier ANB_B2B = new ReturnProfileClassifier("ANB");
    public static final ReturnProfileClassifier ANB_B2B = new ReturnProfileClassifier("ANB");
    public static final ReturnProfileClassifier ANB_B2B = new ReturnProfileClassifier("ANB");
 
    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(VANTIV_LOWELL.value, VANTIV_LOWELL);
	literals.add(VANTIV_LOWELL.value);
	VANTIV_LOWELL.setName("VANTIV_LOWELL");
        names.add("VANTIV_LOWELL");
        values.put(BANK_OF_MONREAL.value, BANK_OF_MONREAL);
	literals.add(BANK_OF_MONREAL.value);
	BANK_OF_MONREAL.setName("BANK_OF_MONREAL");
        names.add("BANK_OF_MONREAL");
        values.put(PROFIT_STARS.value, PROFIT_STARS);
	literals.add(PROFIT_STARS.value);
	PROFIT_STARS.setName("PROFIT_STARS");
        names.add("PROFIT_STARS");
        values.put(OPTIMAL_PAYMENTS.value, OPTIMAL_PAYMENTS);
	literals.add(OPTIMAL_PAYMENTS.value);
	OPTIMAL_PAYMENTS.setName("OPTIMAL_PAYMENTS");
        names.add("OPTIMAL_PAYMENTS");
        values.put(PRO_PAY.value, PRO_PAY);
	literals.add(PRO_PAY.value);
	PRO_PAY.setName("PRO_PAY");
        names.add("PRO_PAY");
        values.put(JPMORGAN_ISO.value, JPMORGAN_ISO);
	literals.add(JPMORGAN_ISO.value);
	JPMORGAN_ISO.setName("JPMORGAN_ISO");
        names.add("JPMORGAN_ISO");
        values.put(PAYMENTUS.value, PAYMENTUS);
	literals.add(PAYMENTUS.value);
	PAYMENTUS.setName("PAYMENTUS");
        names.add("PAYMENTUS");
        values.put(UNI_PAY.value, UNI_PAY);
	literals.add(UNI_PAY.value);
	UNI_PAY.setName("UNI_PAY");
        names.add("UNI_PAY");
        values.put(VANTIV_LOWELL.value, VANTIV_LOWELL);
	literals.add(VANTIV_LOWELL.value);
	VANTIV_LOWELL.setName("VANTIV_LOWELL");
        names.add("VANTIV_LOWELL");
        values.put(BANK_OF_MONREAL.value, BANK_OF_MONREAL);
	literals.add(BANK_OF_MONREAL.value);
	BANK_OF_MONREAL.setName("BANK_OF_MONREAL");
        names.add("BANK_OF_MONREAL");
        values.put(PROFIT_STARS.value, PROFIT_STARS);
	literals.add(PROFIT_STARS.value);
	PROFIT_STARS.setName("PROFIT_STARS");
        names.add("PROFIT_STARS");
        values.put(OPTIMAL_PAYMENTS.value, OPTIMAL_PAYMENTS);
	literals.add(OPTIMAL_PAYMENTS.value);
	OPTIMAL_PAYMENTS.setName("OPTIMAL_PAYMENTS");
        names.add("OPTIMAL_PAYMENTS");
        values.put(PRO_PAY.value, PRO_PAY);
	literals.add(PRO_PAY.value);
	PRO_PAY.setName("PRO_PAY");
        names.add("PRO_PAY");
        values.put(JPMORGAN_ISO.value, JPMORGAN_ISO);
	literals.add(JPMORGAN_ISO.value);
	JPMORGAN_ISO.setName("JPMORGAN_ISO");
        names.add("JPMORGAN_ISO");
        values.put(PAYMENTUS.value, PAYMENTUS);
	literals.add(PAYMENTUS.value);
	PAYMENTUS.setName("PAYMENTUS");
        names.add("PAYMENTUS");
        values.put(UNI_PAY.value, UNI_PAY);
	literals.add(UNI_PAY.value);
	UNI_PAY.setName("UNI_PAY");
        names.add("UNI_PAY");
        values.put(VANTIV_LOWELL.value, VANTIV_LOWELL);
	literals.add(VANTIV_LOWELL.value);
	VANTIV_LOWELL.setName("VANTIV_LOWELL");
        names.add("VANTIV_LOWELL");
        values.put(BANK_OF_MONREAL.value, BANK_OF_MONREAL);
	literals.add(BANK_OF_MONREAL.value);
	BANK_OF_MONREAL.setName("BANK_OF_MONREAL");
        names.add("BANK_OF_MONREAL");
        values.put(PROFIT_STARS.value, PROFIT_STARS);
	literals.add(PROFIT_STARS.value);
	PROFIT_STARS.setName("PROFIT_STARS");
        names.add("PROFIT_STARS");
        values.put(OPTIMAL_PAYMENTS.value, OPTIMAL_PAYMENTS);
	literals.add(OPTIMAL_PAYMENTS.value);
	OPTIMAL_PAYMENTS.setName("OPTIMAL_PAYMENTS");
        names.add("OPTIMAL_PAYMENTS");
        values.put(PRO_PAY.value, PRO_PAY);
	literals.add(PRO_PAY.value);
	PRO_PAY.setName("PRO_PAY");
        names.add("PRO_PAY");
        values.put(JPMORGAN_ISO.value, JPMORGAN_ISO);
	literals.add(JPMORGAN_ISO.value);
	JPMORGAN_ISO.setName("JPMORGAN_ISO");
        names.add("JPMORGAN_ISO");
        values.put(PAYMENTUS.value, PAYMENTUS);
	literals.add(PAYMENTUS.value);
	PAYMENTUS.setName("PAYMENTUS");
        names.add("PAYMENTUS");
        values.put(UNI_PAY.value, UNI_PAY);
	literals.add(UNI_PAY.value);
	UNI_PAY.setName("UNI_PAY");
        names.add("UNI_PAY");
        values.put(ORBITAL.value, ORBITAL);
	literals.add(ORBITAL.value);
	ORBITAL.setName("ORBITAL");
        names.add("ORBITAL");
        values.put(FISERV.value, FISERV);
	literals.add(FISERV.value);
	FISERV.setName("FISERV");
        names.add("FISERV");
        values.put(FISERV.value, FISERV);
	literals.add(FISERV.value);
	FISERV.setName("FISERV");
        names.add("FISERV");
        values.put(ORBITAL.value, ORBITAL);
	literals.add(ORBITAL.value);
	ORBITAL.setName("ORBITAL");
        names.add("ORBITAL");
        values.put(FISERV.value, FISERV);
	literals.add(FISERV.value);
	FISERV.setName("FISERV");
        names.add("FISERV");
        values.put(ORBITAL.value, ORBITAL);
	literals.add(ORBITAL.value);
	ORBITAL.setName("ORBITAL");
        names.add("ORBITAL");
        values.put(FIRST_DATA_TELECHECK.value, FIRST_DATA_TELECHECK);
	literals.add(FIRST_DATA_TELECHECK.value);
	FIRST_DATA_TELECHECK.setName("FIRST_DATA_TELECHECK");
        names.add("FIRST_DATA_TELECHECK");
        values.put(FIRST_DATA_TELECHECK.value, FIRST_DATA_TELECHECK);
	literals.add(FIRST_DATA_TELECHECK.value);
	FIRST_DATA_TELECHECK.setName("FIRST_DATA_TELECHECK");
        names.add("FIRST_DATA_TELECHECK");
        values.put(FIRST_DATA_TELECHECK.value, FIRST_DATA_TELECHECK);
	literals.add(FIRST_DATA_TELECHECK.value);
	FIRST_DATA_TELECHECK.setName("FIRST_DATA_TELECHECK");
        names.add("FIRST_DATA_TELECHECK");
        values.put(PEOPLES_BANK.value, PEOPLES_BANK);
	literals.add(PEOPLES_BANK.value);
	PEOPLES_BANK.setName("PEOPLES_BANK");
        names.add("PEOPLES_BANK");
        values.put(PEOPLES_BANK.value, PEOPLES_BANK);
	literals.add(PEOPLES_BANK.value);
	PEOPLES_BANK.setName("PEOPLES_BANK");
        names.add("PEOPLES_BANK");
        values.put(PEOPLES_BANK.value, PEOPLES_BANK);
	literals.add(PEOPLES_BANK.value);
	PEOPLES_BANK.setName("PEOPLES_BANK");
        names.add("PEOPLES_BANK");
        values.put(ANB_B2B.value, ANB_B2B);
	literals.add(ANB_B2B.value);
	ANB_B2B.setName("ANB_B2B");
        names.add("ANB_B2B");
        values.put(ANB_B2B.value, ANB_B2B);
	literals.add(ANB_B2B.value);
	ANB_B2B.setName("ANB_B2B");
        names.add("ANB_B2B");
        values.put(ANB_B2B.value, ANB_B2B);
	literals.add(ANB_B2B.value);
	ANB_B2B.setName("ANB_B2B");
        names.add("ANB_B2B");
        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 ReturnProfileClassifier() {}
 
    private ReturnProfileClassifier(java.lang.String value) {
        this.value = value;
    }
 
	public String toString() {
        return java.lang.String.valueOf(value);
    }
 
    /**
     * Creates an instance of ReturnProfileClassifier from <code>value</code>.
     *
     * @param value the value to create the ReturnProfileClassifier from.
     */
    public static ReturnProfileClassifier fromString(java.lang.String value) {
        if(value == null) return null;
		final ReturnProfileClassifier typeValue = (ReturnProfileClassifier) 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 isReturnProfileClassifier(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(((ReturnProfileClassifier)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 ReturnProfileClassifier && ((ReturnProfileClassifier)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 ReturnProfileClassifier.fromString(this.value);
    }
 
}