package atlas.classifiers;
 
public class CaseClassifier 
    implements java.io.Serializable, iapp.services.Classifier {
 
    public static final CaseClassifier AIRLINE_CREDIT_REQUESTED = new CaseClassifier("AIRDS");
    public static final CaseClassifier AIRLINE_LOST_STOLEN_TICKET = new CaseClassifier("AIRLT");
    public static final CaseClassifier AIRLINE_RETURNED_TICKET = new CaseClassifier("AIRRT");
    public static final CaseClassifier AIRLINE_SUPPORT_OF_CHARGE = new CaseClassifier("AIRTB");
    public static final CaseClassifier RESERVATION_CANCELLATION = new CaseClassifier("AREXS");
    public static final CaseClassifier CAR_RENTAL = new CaseClassifier("CARRD");
    public static final CaseClassifier GOODS_SERVICES = new CaseClassifier("GSDIS");
    public static final CaseClassifier MERCHANDISE_NOT_RECEIVED = new CaseClassifier("NAXMG");
    public static final CaseClassifier MERCHANDISE_RETURNED = new CaseClassifier("NAXMR");
    public static final CaseClassifier GENERAL_DISPUTE = new CaseClassifier("SEDIS");
    public static final CaseClassifier FRAUD_DISPUTE = new CaseClassifier("FRAUD");
    public static final CaseClassifier COLLISION_DAMAGE_WAIVER_LIABILITY = new CaseClassifier("CRCDW");
    public static final CaseClassifier AIRLINE_CREDIT_REQUESTED = new CaseClassifier("AIRDS");
    public static final CaseClassifier AIRLINE_LOST_STOLEN_TICKET = new CaseClassifier("AIRLT");
    public static final CaseClassifier AIRLINE_RETURNED_TICKET = new CaseClassifier("AIRRT");
    public static final CaseClassifier AIRLINE_SUPPORT_OF_CHARGE = new CaseClassifier("AIRTB");
    public static final CaseClassifier RESERVATION_CANCELLATION = new CaseClassifier("AREXS");
    public static final CaseClassifier CAR_RENTAL = new CaseClassifier("CARRD");
    public static final CaseClassifier GOODS_SERVICES = new CaseClassifier("GSDIS");
    public static final CaseClassifier MERCHANDISE_NOT_RECEIVED = new CaseClassifier("NAXMG");
    public static final CaseClassifier MERCHANDISE_RETURNED = new CaseClassifier("NAXMR");
    public static final CaseClassifier GENERAL_DISPUTE = new CaseClassifier("SEDIS");
    public static final CaseClassifier FRAUD_DISPUTE = new CaseClassifier("FRAUD");
    public static final CaseClassifier COLLISION_DAMAGE_WAIVER_LIABILITY = new CaseClassifier("CRCDW");
    public static final CaseClassifier AIRLINE_CREDIT_REQUESTED = new CaseClassifier("AIRDS");
    public static final CaseClassifier AIRLINE_LOST_STOLEN_TICKET = new CaseClassifier("AIRLT");
    public static final CaseClassifier AIRLINE_RETURNED_TICKET = new CaseClassifier("AIRRT");
    public static final CaseClassifier AIRLINE_SUPPORT_OF_CHARGE = new CaseClassifier("AIRTB");
    public static final CaseClassifier RESERVATION_CANCELLATION = new CaseClassifier("AREXS");
    public static final CaseClassifier CAR_RENTAL = new CaseClassifier("CARRD");
    public static final CaseClassifier GOODS_SERVICES = new CaseClassifier("GSDIS");
    public static final CaseClassifier MERCHANDISE_NOT_RECEIVED = new CaseClassifier("NAXMG");
    public static final CaseClassifier MERCHANDISE_RETURNED = new CaseClassifier("NAXMR");
    public static final CaseClassifier GENERAL_DISPUTE = new CaseClassifier("SEDIS");
    public static final CaseClassifier FRAUD_DISPUTE = new CaseClassifier("FRAUD");
    public static final CaseClassifier COLLISION_DAMAGE_WAIVER_LIABILITY = new CaseClassifier("CRCDW");
 
    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(AIRLINE_CREDIT_REQUESTED.value, AIRLINE_CREDIT_REQUESTED);
	literals.add(AIRLINE_CREDIT_REQUESTED.value);
	AIRLINE_CREDIT_REQUESTED.setName("AIRLINE_CREDIT_REQUESTED");
        names.add("AIRLINE_CREDIT_REQUESTED");
        values.put(AIRLINE_LOST_STOLEN_TICKET.value, AIRLINE_LOST_STOLEN_TICKET);
	literals.add(AIRLINE_LOST_STOLEN_TICKET.value);
	AIRLINE_LOST_STOLEN_TICKET.setName("AIRLINE_LOST_STOLEN_TICKET");
        names.add("AIRLINE_LOST_STOLEN_TICKET");
        values.put(AIRLINE_RETURNED_TICKET.value, AIRLINE_RETURNED_TICKET);
	literals.add(AIRLINE_RETURNED_TICKET.value);
	AIRLINE_RETURNED_TICKET.setName("AIRLINE_RETURNED_TICKET");
        names.add("AIRLINE_RETURNED_TICKET");
        values.put(AIRLINE_SUPPORT_OF_CHARGE.value, AIRLINE_SUPPORT_OF_CHARGE);
	literals.add(AIRLINE_SUPPORT_OF_CHARGE.value);
	AIRLINE_SUPPORT_OF_CHARGE.setName("AIRLINE_SUPPORT_OF_CHARGE");
        names.add("AIRLINE_SUPPORT_OF_CHARGE");
        values.put(RESERVATION_CANCELLATION.value, RESERVATION_CANCELLATION);
	literals.add(RESERVATION_CANCELLATION.value);
	RESERVATION_CANCELLATION.setName("RESERVATION_CANCELLATION");
        names.add("RESERVATION_CANCELLATION");
        values.put(CAR_RENTAL.value, CAR_RENTAL);
	literals.add(CAR_RENTAL.value);
	CAR_RENTAL.setName("CAR_RENTAL");
        names.add("CAR_RENTAL");
        values.put(GOODS_SERVICES.value, GOODS_SERVICES);
	literals.add(GOODS_SERVICES.value);
	GOODS_SERVICES.setName("GOODS_SERVICES");
        names.add("GOODS_SERVICES");
        values.put(MERCHANDISE_NOT_RECEIVED.value, MERCHANDISE_NOT_RECEIVED);
	literals.add(MERCHANDISE_NOT_RECEIVED.value);
	MERCHANDISE_NOT_RECEIVED.setName("MERCHANDISE_NOT_RECEIVED");
        names.add("MERCHANDISE_NOT_RECEIVED");
        values.put(MERCHANDISE_RETURNED.value, MERCHANDISE_RETURNED);
	literals.add(MERCHANDISE_RETURNED.value);
	MERCHANDISE_RETURNED.setName("MERCHANDISE_RETURNED");
        names.add("MERCHANDISE_RETURNED");
        values.put(GENERAL_DISPUTE.value, GENERAL_DISPUTE);
	literals.add(GENERAL_DISPUTE.value);
	GENERAL_DISPUTE.setName("GENERAL_DISPUTE");
        names.add("GENERAL_DISPUTE");
        values.put(FRAUD_DISPUTE.value, FRAUD_DISPUTE);
	literals.add(FRAUD_DISPUTE.value);
	FRAUD_DISPUTE.setName("FRAUD_DISPUTE");
        names.add("FRAUD_DISPUTE");
        values.put(COLLISION_DAMAGE_WAIVER_LIABILITY.value, COLLISION_DAMAGE_WAIVER_LIABILITY);
	literals.add(COLLISION_DAMAGE_WAIVER_LIABILITY.value);
	COLLISION_DAMAGE_WAIVER_LIABILITY.setName("COLLISION_DAMAGE_WAIVER_LIABILITY");
        names.add("COLLISION_DAMAGE_WAIVER_LIABILITY");
        values.put(AIRLINE_CREDIT_REQUESTED.value, AIRLINE_CREDIT_REQUESTED);
	literals.add(AIRLINE_CREDIT_REQUESTED.value);
	AIRLINE_CREDIT_REQUESTED.setName("AIRLINE_CREDIT_REQUESTED");
        names.add("AIRLINE_CREDIT_REQUESTED");
        values.put(AIRLINE_LOST_STOLEN_TICKET.value, AIRLINE_LOST_STOLEN_TICKET);
	literals.add(AIRLINE_LOST_STOLEN_TICKET.value);
	AIRLINE_LOST_STOLEN_TICKET.setName("AIRLINE_LOST_STOLEN_TICKET");
        names.add("AIRLINE_LOST_STOLEN_TICKET");
        values.put(AIRLINE_RETURNED_TICKET.value, AIRLINE_RETURNED_TICKET);
	literals.add(AIRLINE_RETURNED_TICKET.value);
	AIRLINE_RETURNED_TICKET.setName("AIRLINE_RETURNED_TICKET");
        names.add("AIRLINE_RETURNED_TICKET");
        values.put(AIRLINE_SUPPORT_OF_CHARGE.value, AIRLINE_SUPPORT_OF_CHARGE);
	literals.add(AIRLINE_SUPPORT_OF_CHARGE.value);
	AIRLINE_SUPPORT_OF_CHARGE.setName("AIRLINE_SUPPORT_OF_CHARGE");
        names.add("AIRLINE_SUPPORT_OF_CHARGE");
        values.put(RESERVATION_CANCELLATION.value, RESERVATION_CANCELLATION);
	literals.add(RESERVATION_CANCELLATION.value);
	RESERVATION_CANCELLATION.setName("RESERVATION_CANCELLATION");
        names.add("RESERVATION_CANCELLATION");
        values.put(CAR_RENTAL.value, CAR_RENTAL);
	literals.add(CAR_RENTAL.value);
	CAR_RENTAL.setName("CAR_RENTAL");
        names.add("CAR_RENTAL");
        values.put(GOODS_SERVICES.value, GOODS_SERVICES);
	literals.add(GOODS_SERVICES.value);
	GOODS_SERVICES.setName("GOODS_SERVICES");
        names.add("GOODS_SERVICES");
        values.put(MERCHANDISE_NOT_RECEIVED.value, MERCHANDISE_NOT_RECEIVED);
	literals.add(MERCHANDISE_NOT_RECEIVED.value);
	MERCHANDISE_NOT_RECEIVED.setName("MERCHANDISE_NOT_RECEIVED");
        names.add("MERCHANDISE_NOT_RECEIVED");
        values.put(MERCHANDISE_RETURNED.value, MERCHANDISE_RETURNED);
	literals.add(MERCHANDISE_RETURNED.value);
	MERCHANDISE_RETURNED.setName("MERCHANDISE_RETURNED");
        names.add("MERCHANDISE_RETURNED");
        values.put(GENERAL_DISPUTE.value, GENERAL_DISPUTE);
	literals.add(GENERAL_DISPUTE.value);
	GENERAL_DISPUTE.setName("GENERAL_DISPUTE");
        names.add("GENERAL_DISPUTE");
        values.put(FRAUD_DISPUTE.value, FRAUD_DISPUTE);
	literals.add(FRAUD_DISPUTE.value);
	FRAUD_DISPUTE.setName("FRAUD_DISPUTE");
        names.add("FRAUD_DISPUTE");
        values.put(COLLISION_DAMAGE_WAIVER_LIABILITY.value, COLLISION_DAMAGE_WAIVER_LIABILITY);
	literals.add(COLLISION_DAMAGE_WAIVER_LIABILITY.value);
	COLLISION_DAMAGE_WAIVER_LIABILITY.setName("COLLISION_DAMAGE_WAIVER_LIABILITY");
        names.add("COLLISION_DAMAGE_WAIVER_LIABILITY");
        values.put(AIRLINE_CREDIT_REQUESTED.value, AIRLINE_CREDIT_REQUESTED);
	literals.add(AIRLINE_CREDIT_REQUESTED.value);
	AIRLINE_CREDIT_REQUESTED.setName("AIRLINE_CREDIT_REQUESTED");
        names.add("AIRLINE_CREDIT_REQUESTED");
        values.put(AIRLINE_LOST_STOLEN_TICKET.value, AIRLINE_LOST_STOLEN_TICKET);
	literals.add(AIRLINE_LOST_STOLEN_TICKET.value);
	AIRLINE_LOST_STOLEN_TICKET.setName("AIRLINE_LOST_STOLEN_TICKET");
        names.add("AIRLINE_LOST_STOLEN_TICKET");
        values.put(AIRLINE_RETURNED_TICKET.value, AIRLINE_RETURNED_TICKET);
	literals.add(AIRLINE_RETURNED_TICKET.value);
	AIRLINE_RETURNED_TICKET.setName("AIRLINE_RETURNED_TICKET");
        names.add("AIRLINE_RETURNED_TICKET");
        values.put(AIRLINE_SUPPORT_OF_CHARGE.value, AIRLINE_SUPPORT_OF_CHARGE);
	literals.add(AIRLINE_SUPPORT_OF_CHARGE.value);
	AIRLINE_SUPPORT_OF_CHARGE.setName("AIRLINE_SUPPORT_OF_CHARGE");
        names.add("AIRLINE_SUPPORT_OF_CHARGE");
        values.put(RESERVATION_CANCELLATION.value, RESERVATION_CANCELLATION);
	literals.add(RESERVATION_CANCELLATION.value);
	RESERVATION_CANCELLATION.setName("RESERVATION_CANCELLATION");
        names.add("RESERVATION_CANCELLATION");
        values.put(CAR_RENTAL.value, CAR_RENTAL);
	literals.add(CAR_RENTAL.value);
	CAR_RENTAL.setName("CAR_RENTAL");
        names.add("CAR_RENTAL");
        values.put(GOODS_SERVICES.value, GOODS_SERVICES);
	literals.add(GOODS_SERVICES.value);
	GOODS_SERVICES.setName("GOODS_SERVICES");
        names.add("GOODS_SERVICES");
        values.put(MERCHANDISE_NOT_RECEIVED.value, MERCHANDISE_NOT_RECEIVED);
	literals.add(MERCHANDISE_NOT_RECEIVED.value);
	MERCHANDISE_NOT_RECEIVED.setName("MERCHANDISE_NOT_RECEIVED");
        names.add("MERCHANDISE_NOT_RECEIVED");
        values.put(MERCHANDISE_RETURNED.value, MERCHANDISE_RETURNED);
	literals.add(MERCHANDISE_RETURNED.value);
	MERCHANDISE_RETURNED.setName("MERCHANDISE_RETURNED");
        names.add("MERCHANDISE_RETURNED");
        values.put(GENERAL_DISPUTE.value, GENERAL_DISPUTE);
	literals.add(GENERAL_DISPUTE.value);
	GENERAL_DISPUTE.setName("GENERAL_DISPUTE");
        names.add("GENERAL_DISPUTE");
        values.put(FRAUD_DISPUTE.value, FRAUD_DISPUTE);
	literals.add(FRAUD_DISPUTE.value);
	FRAUD_DISPUTE.setName("FRAUD_DISPUTE");
        names.add("FRAUD_DISPUTE");
        values.put(COLLISION_DAMAGE_WAIVER_LIABILITY.value, COLLISION_DAMAGE_WAIVER_LIABILITY);
	literals.add(COLLISION_DAMAGE_WAIVER_LIABILITY.value);
	COLLISION_DAMAGE_WAIVER_LIABILITY.setName("COLLISION_DAMAGE_WAIVER_LIABILITY");
        names.add("COLLISION_DAMAGE_WAIVER_LIABILITY");
        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 CaseClassifier() {}
 
    private CaseClassifier(java.lang.String value) {
        this.value = value;
    }
 
	public String toString() {
        return java.lang.String.valueOf(value);
    }
 
    /**
     * Creates an instance of CaseClassifier from <code>value</code>.
     *
     * @param value the value to create the CaseClassifier from.
     */
    public static CaseClassifier fromString(java.lang.String value) {
        if(value == null) return null;
		final CaseClassifier typeValue = (CaseClassifier) 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 isCaseClassifier(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(((CaseClassifier)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 CaseClassifier && ((CaseClassifier)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 CaseClassifier.fromString(this.value);
    }
 
}