package atlas.classifiers;
 
public class InteracTTIClassifier 
    implements java.io.Serializable, iapp.services.Classifier {
 
    public static final InteracTTIClassifier READER_WITH_DISPLAY_CAPABILITY = new InteracTTIClassifier("8");
    public static final InteracTTIClassifier INTERAC_CONTACT_APPLICATION_AVAILABLE = new InteracTTIClassifier("7");
    public static final InteracTTIClassifier INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL = new InteracTTIClassifier("6");
    public static final InteracTTIClassifier CDA_SUPPORTED = new InteracTTIClassifier("5");
    public static final InteracTTIClassifier OFFLINE_CAPABLE_TERMINAL = new InteracTTIClassifier("4");
    public static final InteracTTIClassifier ONLINE_PIN_SUPPORTED = new InteracTTIClassifier("3");
    public static final InteracTTIClassifier CONTACTLESS_ONLY_CAPABLE = new InteracTTIClassifier("18");
    public static final InteracTTIClassifier CONTACTLESS_AND_MAG_STRIPE_CAPABLE = new InteracTTIClassifier("17");
    public static final InteracTTIClassifier CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE = new InteracTTIClassifier("16");
    public static final InteracTTIClassifier CONTACTLESS_AND_CONTACT_CHIP_CAPABLE = new InteracTTIClassifier("15");
    public static final InteracTTIClassifier READER_WITH_DISPLAY_CAPABILITY = new InteracTTIClassifier("8");
    public static final InteracTTIClassifier INTERAC_CONTACT_APPLICATION_AVAILABLE = new InteracTTIClassifier("7");
    public static final InteracTTIClassifier INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL = new InteracTTIClassifier("6");
    public static final InteracTTIClassifier CDA_SUPPORTED = new InteracTTIClassifier("5");
    public static final InteracTTIClassifier OFFLINE_CAPABLE_TERMINAL = new InteracTTIClassifier("4");
    public static final InteracTTIClassifier ONLINE_PIN_SUPPORTED = new InteracTTIClassifier("3");
    public static final InteracTTIClassifier CONTACTLESS_ONLY_CAPABLE = new InteracTTIClassifier("18");
    public static final InteracTTIClassifier CONTACTLESS_AND_MAG_STRIPE_CAPABLE = new InteracTTIClassifier("17");
    public static final InteracTTIClassifier CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE = new InteracTTIClassifier("16");
    public static final InteracTTIClassifier CONTACTLESS_AND_CONTACT_CHIP_CAPABLE = new InteracTTIClassifier("15");
    public static final InteracTTIClassifier READER_WITH_DISPLAY_CAPABILITY = new InteracTTIClassifier("8");
    public static final InteracTTIClassifier INTERAC_CONTACT_APPLICATION_AVAILABLE = new InteracTTIClassifier("7");
    public static final InteracTTIClassifier INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL = new InteracTTIClassifier("6");
    public static final InteracTTIClassifier CDA_SUPPORTED = new InteracTTIClassifier("5");
    public static final InteracTTIClassifier OFFLINE_CAPABLE_TERMINAL = new InteracTTIClassifier("4");
    public static final InteracTTIClassifier ONLINE_PIN_SUPPORTED = new InteracTTIClassifier("3");
    public static final InteracTTIClassifier CONTACTLESS_ONLY_CAPABLE = new InteracTTIClassifier("18");
    public static final InteracTTIClassifier CONTACTLESS_AND_MAG_STRIPE_CAPABLE = new InteracTTIClassifier("17");
    public static final InteracTTIClassifier CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE = new InteracTTIClassifier("16");
    public static final InteracTTIClassifier CONTACTLESS_AND_CONTACT_CHIP_CAPABLE = new InteracTTIClassifier("15");
 
    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(READER_WITH_DISPLAY_CAPABILITY.value, READER_WITH_DISPLAY_CAPABILITY);
	literals.add(READER_WITH_DISPLAY_CAPABILITY.value);
	READER_WITH_DISPLAY_CAPABILITY.setName("READER_WITH_DISPLAY_CAPABILITY");
        names.add("READER_WITH_DISPLAY_CAPABILITY");
        values.put(INTERAC_CONTACT_APPLICATION_AVAILABLE.value, INTERAC_CONTACT_APPLICATION_AVAILABLE);
	literals.add(INTERAC_CONTACT_APPLICATION_AVAILABLE.value);
	INTERAC_CONTACT_APPLICATION_AVAILABLE.setName("INTERAC_CONTACT_APPLICATION_AVAILABLE");
        names.add("INTERAC_CONTACT_APPLICATION_AVAILABLE");
        values.put(INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.value, INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL);
	literals.add(INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.value);
	INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.setName("INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL");
        names.add("INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL");
        values.put(CDA_SUPPORTED.value, CDA_SUPPORTED);
	literals.add(CDA_SUPPORTED.value);
	CDA_SUPPORTED.setName("CDA_SUPPORTED");
        names.add("CDA_SUPPORTED");
        values.put(OFFLINE_CAPABLE_TERMINAL.value, OFFLINE_CAPABLE_TERMINAL);
	literals.add(OFFLINE_CAPABLE_TERMINAL.value);
	OFFLINE_CAPABLE_TERMINAL.setName("OFFLINE_CAPABLE_TERMINAL");
        names.add("OFFLINE_CAPABLE_TERMINAL");
        values.put(ONLINE_PIN_SUPPORTED.value, ONLINE_PIN_SUPPORTED);
	literals.add(ONLINE_PIN_SUPPORTED.value);
	ONLINE_PIN_SUPPORTED.setName("ONLINE_PIN_SUPPORTED");
        names.add("ONLINE_PIN_SUPPORTED");
        values.put(CONTACTLESS_ONLY_CAPABLE.value, CONTACTLESS_ONLY_CAPABLE);
	literals.add(CONTACTLESS_ONLY_CAPABLE.value);
	CONTACTLESS_ONLY_CAPABLE.setName("CONTACTLESS_ONLY_CAPABLE");
        names.add("CONTACTLESS_ONLY_CAPABLE");
        values.put(CONTACTLESS_AND_MAG_STRIPE_CAPABLE.value, CONTACTLESS_AND_MAG_STRIPE_CAPABLE);
	literals.add(CONTACTLESS_AND_MAG_STRIPE_CAPABLE.value);
	CONTACTLESS_AND_MAG_STRIPE_CAPABLE.setName("CONTACTLESS_AND_MAG_STRIPE_CAPABLE");
        names.add("CONTACTLESS_AND_MAG_STRIPE_CAPABLE");
        values.put(CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.value, CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE);
	literals.add(CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.value);
	CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.setName("CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE");
        names.add("CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE");
        values.put(CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.value, CONTACTLESS_AND_CONTACT_CHIP_CAPABLE);
	literals.add(CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.value);
	CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.setName("CONTACTLESS_AND_CONTACT_CHIP_CAPABLE");
        names.add("CONTACTLESS_AND_CONTACT_CHIP_CAPABLE");
        values.put(READER_WITH_DISPLAY_CAPABILITY.value, READER_WITH_DISPLAY_CAPABILITY);
	literals.add(READER_WITH_DISPLAY_CAPABILITY.value);
	READER_WITH_DISPLAY_CAPABILITY.setName("READER_WITH_DISPLAY_CAPABILITY");
        names.add("READER_WITH_DISPLAY_CAPABILITY");
        values.put(INTERAC_CONTACT_APPLICATION_AVAILABLE.value, INTERAC_CONTACT_APPLICATION_AVAILABLE);
	literals.add(INTERAC_CONTACT_APPLICATION_AVAILABLE.value);
	INTERAC_CONTACT_APPLICATION_AVAILABLE.setName("INTERAC_CONTACT_APPLICATION_AVAILABLE");
        names.add("INTERAC_CONTACT_APPLICATION_AVAILABLE");
        values.put(INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.value, INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL);
	literals.add(INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.value);
	INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.setName("INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL");
        names.add("INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL");
        values.put(CDA_SUPPORTED.value, CDA_SUPPORTED);
	literals.add(CDA_SUPPORTED.value);
	CDA_SUPPORTED.setName("CDA_SUPPORTED");
        names.add("CDA_SUPPORTED");
        values.put(OFFLINE_CAPABLE_TERMINAL.value, OFFLINE_CAPABLE_TERMINAL);
	literals.add(OFFLINE_CAPABLE_TERMINAL.value);
	OFFLINE_CAPABLE_TERMINAL.setName("OFFLINE_CAPABLE_TERMINAL");
        names.add("OFFLINE_CAPABLE_TERMINAL");
        values.put(ONLINE_PIN_SUPPORTED.value, ONLINE_PIN_SUPPORTED);
	literals.add(ONLINE_PIN_SUPPORTED.value);
	ONLINE_PIN_SUPPORTED.setName("ONLINE_PIN_SUPPORTED");
        names.add("ONLINE_PIN_SUPPORTED");
        values.put(CONTACTLESS_ONLY_CAPABLE.value, CONTACTLESS_ONLY_CAPABLE);
	literals.add(CONTACTLESS_ONLY_CAPABLE.value);
	CONTACTLESS_ONLY_CAPABLE.setName("CONTACTLESS_ONLY_CAPABLE");
        names.add("CONTACTLESS_ONLY_CAPABLE");
        values.put(CONTACTLESS_AND_MAG_STRIPE_CAPABLE.value, CONTACTLESS_AND_MAG_STRIPE_CAPABLE);
	literals.add(CONTACTLESS_AND_MAG_STRIPE_CAPABLE.value);
	CONTACTLESS_AND_MAG_STRIPE_CAPABLE.setName("CONTACTLESS_AND_MAG_STRIPE_CAPABLE");
        names.add("CONTACTLESS_AND_MAG_STRIPE_CAPABLE");
        values.put(CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.value, CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE);
	literals.add(CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.value);
	CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.setName("CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE");
        names.add("CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE");
        values.put(CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.value, CONTACTLESS_AND_CONTACT_CHIP_CAPABLE);
	literals.add(CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.value);
	CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.setName("CONTACTLESS_AND_CONTACT_CHIP_CAPABLE");
        names.add("CONTACTLESS_AND_CONTACT_CHIP_CAPABLE");
        values.put(READER_WITH_DISPLAY_CAPABILITY.value, READER_WITH_DISPLAY_CAPABILITY);
	literals.add(READER_WITH_DISPLAY_CAPABILITY.value);
	READER_WITH_DISPLAY_CAPABILITY.setName("READER_WITH_DISPLAY_CAPABILITY");
        names.add("READER_WITH_DISPLAY_CAPABILITY");
        values.put(INTERAC_CONTACT_APPLICATION_AVAILABLE.value, INTERAC_CONTACT_APPLICATION_AVAILABLE);
	literals.add(INTERAC_CONTACT_APPLICATION_AVAILABLE.value);
	INTERAC_CONTACT_APPLICATION_AVAILABLE.setName("INTERAC_CONTACT_APPLICATION_AVAILABLE");
        names.add("INTERAC_CONTACT_APPLICATION_AVAILABLE");
        values.put(INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.value, INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL);
	literals.add(INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.value);
	INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL.setName("INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL");
        names.add("INTERAC_CONTACT_APPLICATION_AT_OTHER_TERMINAL");
        values.put(CDA_SUPPORTED.value, CDA_SUPPORTED);
	literals.add(CDA_SUPPORTED.value);
	CDA_SUPPORTED.setName("CDA_SUPPORTED");
        names.add("CDA_SUPPORTED");
        values.put(OFFLINE_CAPABLE_TERMINAL.value, OFFLINE_CAPABLE_TERMINAL);
	literals.add(OFFLINE_CAPABLE_TERMINAL.value);
	OFFLINE_CAPABLE_TERMINAL.setName("OFFLINE_CAPABLE_TERMINAL");
        names.add("OFFLINE_CAPABLE_TERMINAL");
        values.put(ONLINE_PIN_SUPPORTED.value, ONLINE_PIN_SUPPORTED);
	literals.add(ONLINE_PIN_SUPPORTED.value);
	ONLINE_PIN_SUPPORTED.setName("ONLINE_PIN_SUPPORTED");
        names.add("ONLINE_PIN_SUPPORTED");
        values.put(CONTACTLESS_ONLY_CAPABLE.value, CONTACTLESS_ONLY_CAPABLE);
	literals.add(CONTACTLESS_ONLY_CAPABLE.value);
	CONTACTLESS_ONLY_CAPABLE.setName("CONTACTLESS_ONLY_CAPABLE");
        names.add("CONTACTLESS_ONLY_CAPABLE");
        values.put(CONTACTLESS_AND_MAG_STRIPE_CAPABLE.value, CONTACTLESS_AND_MAG_STRIPE_CAPABLE);
	literals.add(CONTACTLESS_AND_MAG_STRIPE_CAPABLE.value);
	CONTACTLESS_AND_MAG_STRIPE_CAPABLE.setName("CONTACTLESS_AND_MAG_STRIPE_CAPABLE");
        names.add("CONTACTLESS_AND_MAG_STRIPE_CAPABLE");
        values.put(CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.value, CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE);
	literals.add(CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.value);
	CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE.setName("CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE");
        names.add("CONTACTLESS_CONTACT_CHIP_AND_MAG_STRIPE_CAPABLE");
        values.put(CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.value, CONTACTLESS_AND_CONTACT_CHIP_CAPABLE);
	literals.add(CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.value);
	CONTACTLESS_AND_CONTACT_CHIP_CAPABLE.setName("CONTACTLESS_AND_CONTACT_CHIP_CAPABLE");
        names.add("CONTACTLESS_AND_CONTACT_CHIP_CAPABLE");
        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 InteracTTIClassifier() {}
 
    private InteracTTIClassifier(java.lang.String value) {
        this.value = value;
    }
 
	public String toString() {
        return java.lang.String.valueOf(value);
    }
 
    /**
     * Creates an instance of InteracTTIClassifier from <code>value</code>.
     *
     * @param value the value to create the InteracTTIClassifier from.
     */
    public static InteracTTIClassifier fromString(java.lang.String value) {
        if(value == null) return null;
		final InteracTTIClassifier typeValue = (InteracTTIClassifier) 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 isInteracTTIClassifier(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(((InteracTTIClassifier)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 InteracTTIClassifier && ((InteracTTIClassifier)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 InteracTTIClassifier.fromString(this.value);
    }
 
}