package atlas.classifiers;
public class ProfileClassifier
implements java.io.Serializable, iapp.services.Classifier {
public static final ProfileClassifier REALTIME = new ProfileClassifier("R");
public static final ProfileClassifier BATCH = new ProfileClassifier("B");
public static final ProfileClassifier TOKENIZATION = new ProfileClassifier("T");
public static final ProfileClassifier ACCOUNT_UPDATE = new ProfileClassifier("U");
public static final ProfileClassifier CARDS_COST = new ProfileClassifier("C");
public static final ProfileClassifier CHARGEBACK = new ProfileClassifier("G");
public static final ProfileClassifier RETURNS = new ProfileClassifier("N");
public static final ProfileClassifier THREE_DSECURE = new ProfileClassifier("D");
public static final ProfileClassifier FRAUD = new ProfileClassifier("F");
public static final ProfileClassifier EMAIL = new ProfileClassifier("E");
public static final ProfileClassifier LETTER = new ProfileClassifier("L");
public static final ProfileClassifier PHONE_CALL = new ProfileClassifier("P");
public static final ProfileClassifier CREDIT_AGENCY = new ProfileClassifier("A");
public static final ProfileClassifier SKIP_TRACING = new ProfileClassifier("S");
public static final ProfileClassifier FULFILLMENT = new ProfileClassifier("M");
public static final ProfileClassifier PROVISIONING = new ProfileClassifier("V");
public static final ProfileClassifier REALTIME = new ProfileClassifier("R");
public static final ProfileClassifier BATCH = new ProfileClassifier("B");
public static final ProfileClassifier TOKENIZATION = new ProfileClassifier("T");
public static final ProfileClassifier ACCOUNT_UPDATE = new ProfileClassifier("U");
public static final ProfileClassifier CARDS_COST = new ProfileClassifier("C");
public static final ProfileClassifier CHARGEBACK = new ProfileClassifier("G");
public static final ProfileClassifier RETURNS = new ProfileClassifier("N");
public static final ProfileClassifier THREE_DSECURE = new ProfileClassifier("D");
public static final ProfileClassifier FRAUD = new ProfileClassifier("F");
public static final ProfileClassifier EMAIL = new ProfileClassifier("E");
public static final ProfileClassifier LETTER = new ProfileClassifier("L");
public static final ProfileClassifier PHONE_CALL = new ProfileClassifier("P");
public static final ProfileClassifier CREDIT_AGENCY = new ProfileClassifier("A");
public static final ProfileClassifier SKIP_TRACING = new ProfileClassifier("S");
public static final ProfileClassifier FULFILLMENT = new ProfileClassifier("M");
public static final ProfileClassifier PROVISIONING = new ProfileClassifier("V");
public static final ProfileClassifier REALTIME = new ProfileClassifier("R");
public static final ProfileClassifier BATCH = new ProfileClassifier("B");
public static final ProfileClassifier TOKENIZATION = new ProfileClassifier("T");
public static final ProfileClassifier ACCOUNT_UPDATE = new ProfileClassifier("U");
public static final ProfileClassifier CARDS_COST = new ProfileClassifier("C");
public static final ProfileClassifier CHARGEBACK = new ProfileClassifier("G");
public static final ProfileClassifier RETURNS = new ProfileClassifier("N");
public static final ProfileClassifier THREE_DSECURE = new ProfileClassifier("D");
public static final ProfileClassifier FRAUD = new ProfileClassifier("F");
public static final ProfileClassifier EMAIL = new ProfileClassifier("E");
public static final ProfileClassifier LETTER = new ProfileClassifier("L");
public static final ProfileClassifier PHONE_CALL = new ProfileClassifier("P");
public static final ProfileClassifier CREDIT_AGENCY = new ProfileClassifier("A");
public static final ProfileClassifier SKIP_TRACING = new ProfileClassifier("S");
public static final ProfileClassifier FULFILLMENT = new ProfileClassifier("M");
public static final ProfileClassifier PROVISIONING = new ProfileClassifier("V");
public static final ProfileClassifier REALTIME_CAPTURE = new ProfileClassifier("I");
public static final ProfileClassifier RECONCILIATION = new ProfileClassifier("O");
public static final ProfileClassifier REALTIME_CAPTURE = new ProfileClassifier("I");
public static final ProfileClassifier REALTIME_CAPTURE = new ProfileClassifier("I");
public static final ProfileClassifier RECONCILIATION = new ProfileClassifier("O");
public static final ProfileClassifier RECONCILIATION = new ProfileClassifier("O");
public static final ProfileClassifier VERIFICATION = new ProfileClassifier("H");
public static final ProfileClassifier RECONCILIATION = new ProfileClassifier("O");
public static final ProfileClassifier VERIFICATION = new ProfileClassifier("H");
public static final ProfileClassifier VERIFICATION = new ProfileClassifier("H");
public static final ProfileClassifier ACCOUNT_VERIFICATION = new ProfileClassifier("J");
public static final ProfileClassifier ACCOUNT_VERIFICATION = new ProfileClassifier("J");
public static final ProfileClassifier ACCOUNT_VERIFICATION = new ProfileClassifier("J");
public static final ProfileClassifier WALLET = new ProfileClassifier("W");
public static final ProfileClassifier SMS = new ProfileClassifier("Q");
public static final ProfileClassifier WALLET = new ProfileClassifier("W");
public static final ProfileClassifier SMS = new ProfileClassifier("Q");
public static final ProfileClassifier WALLET = new ProfileClassifier("W");
public static final ProfileClassifier SMS = new ProfileClassifier("Q");
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(REALTIME.value, REALTIME);
literals.add(REALTIME.value);
REALTIME.setName("REALTIME");
names.add("REALTIME");
values.put(BATCH.value, BATCH);
literals.add(BATCH.value);
BATCH.setName("BATCH");
names.add("BATCH");
values.put(TOKENIZATION.value, TOKENIZATION);
literals.add(TOKENIZATION.value);
TOKENIZATION.setName("TOKENIZATION");
names.add("TOKENIZATION");
values.put(ACCOUNT_UPDATE.value, ACCOUNT_UPDATE);
literals.add(ACCOUNT_UPDATE.value);
ACCOUNT_UPDATE.setName("ACCOUNT_UPDATE");
names.add("ACCOUNT_UPDATE");
values.put(CARDS_COST.value, CARDS_COST);
literals.add(CARDS_COST.value);
CARDS_COST.setName("CARDS_COST");
names.add("CARDS_COST");
values.put(CHARGEBACK.value, CHARGEBACK);
literals.add(CHARGEBACK.value);
CHARGEBACK.setName("CHARGEBACK");
names.add("CHARGEBACK");
values.put(RETURNS.value, RETURNS);
literals.add(RETURNS.value);
RETURNS.setName("RETURNS");
names.add("RETURNS");
values.put(THREE_DSECURE.value, THREE_DSECURE);
literals.add(THREE_DSECURE.value);
THREE_DSECURE.setName("THREE_DSECURE");
names.add("THREE_DSECURE");
values.put(FRAUD.value, FRAUD);
literals.add(FRAUD.value);
FRAUD.setName("FRAUD");
names.add("FRAUD");
values.put(EMAIL.value, EMAIL);
literals.add(EMAIL.value);
EMAIL.setName("EMAIL");
names.add("EMAIL");
values.put(LETTER.value, LETTER);
literals.add(LETTER.value);
LETTER.setName("LETTER");
names.add("LETTER");
values.put(PHONE_CALL.value, PHONE_CALL);
literals.add(PHONE_CALL.value);
PHONE_CALL.setName("PHONE_CALL");
names.add("PHONE_CALL");
values.put(CREDIT_AGENCY.value, CREDIT_AGENCY);
literals.add(CREDIT_AGENCY.value);
CREDIT_AGENCY.setName("CREDIT_AGENCY");
names.add("CREDIT_AGENCY");
values.put(SKIP_TRACING.value, SKIP_TRACING);
literals.add(SKIP_TRACING.value);
SKIP_TRACING.setName("SKIP_TRACING");
names.add("SKIP_TRACING");
values.put(FULFILLMENT.value, FULFILLMENT);
literals.add(FULFILLMENT.value);
FULFILLMENT.setName("FULFILLMENT");
names.add("FULFILLMENT");
values.put(PROVISIONING.value, PROVISIONING);
literals.add(PROVISIONING.value);
PROVISIONING.setName("PROVISIONING");
names.add("PROVISIONING");
values.put(REALTIME.value, REALTIME);
literals.add(REALTIME.value);
REALTIME.setName("REALTIME");
names.add("REALTIME");
values.put(BATCH.value, BATCH);
literals.add(BATCH.value);
BATCH.setName("BATCH");
names.add("BATCH");
values.put(TOKENIZATION.value, TOKENIZATION);
literals.add(TOKENIZATION.value);
TOKENIZATION.setName("TOKENIZATION");
names.add("TOKENIZATION");
values.put(ACCOUNT_UPDATE.value, ACCOUNT_UPDATE);
literals.add(ACCOUNT_UPDATE.value);
ACCOUNT_UPDATE.setName("ACCOUNT_UPDATE");
names.add("ACCOUNT_UPDATE");
values.put(CARDS_COST.value, CARDS_COST);
literals.add(CARDS_COST.value);
CARDS_COST.setName("CARDS_COST");
names.add("CARDS_COST");
values.put(CHARGEBACK.value, CHARGEBACK);
literals.add(CHARGEBACK.value);
CHARGEBACK.setName("CHARGEBACK");
names.add("CHARGEBACK");
values.put(RETURNS.value, RETURNS);
literals.add(RETURNS.value);
RETURNS.setName("RETURNS");
names.add("RETURNS");
values.put(THREE_DSECURE.value, THREE_DSECURE);
literals.add(THREE_DSECURE.value);
THREE_DSECURE.setName("THREE_DSECURE");
names.add("THREE_DSECURE");
values.put(FRAUD.value, FRAUD);
literals.add(FRAUD.value);
FRAUD.setName("FRAUD");
names.add("FRAUD");
values.put(EMAIL.value, EMAIL);
literals.add(EMAIL.value);
EMAIL.setName("EMAIL");
names.add("EMAIL");
values.put(LETTER.value, LETTER);
literals.add(LETTER.value);
LETTER.setName("LETTER");
names.add("LETTER");
values.put(PHONE_CALL.value, PHONE_CALL);
literals.add(PHONE_CALL.value);
PHONE_CALL.setName("PHONE_CALL");
names.add("PHONE_CALL");
values.put(CREDIT_AGENCY.value, CREDIT_AGENCY);
literals.add(CREDIT_AGENCY.value);
CREDIT_AGENCY.setName("CREDIT_AGENCY");
names.add("CREDIT_AGENCY");
values.put(SKIP_TRACING.value, SKIP_TRACING);
literals.add(SKIP_TRACING.value);
SKIP_TRACING.setName("SKIP_TRACING");
names.add("SKIP_TRACING");
values.put(FULFILLMENT.value, FULFILLMENT);
literals.add(FULFILLMENT.value);
FULFILLMENT.setName("FULFILLMENT");
names.add("FULFILLMENT");
values.put(PROVISIONING.value, PROVISIONING);
literals.add(PROVISIONING.value);
PROVISIONING.setName("PROVISIONING");
names.add("PROVISIONING");
values.put(REALTIME.value, REALTIME);
literals.add(REALTIME.value);
REALTIME.setName("REALTIME");
names.add("REALTIME");
values.put(BATCH.value, BATCH);
literals.add(BATCH.value);
BATCH.setName("BATCH");
names.add("BATCH");
values.put(TOKENIZATION.value, TOKENIZATION);
literals.add(TOKENIZATION.value);
TOKENIZATION.setName("TOKENIZATION");
names.add("TOKENIZATION");
values.put(ACCOUNT_UPDATE.value, ACCOUNT_UPDATE);
literals.add(ACCOUNT_UPDATE.value);
ACCOUNT_UPDATE.setName("ACCOUNT_UPDATE");
names.add("ACCOUNT_UPDATE");
values.put(CARDS_COST.value, CARDS_COST);
literals.add(CARDS_COST.value);
CARDS_COST.setName("CARDS_COST");
names.add("CARDS_COST");
values.put(CHARGEBACK.value, CHARGEBACK);
literals.add(CHARGEBACK.value);
CHARGEBACK.setName("CHARGEBACK");
names.add("CHARGEBACK");
values.put(RETURNS.value, RETURNS);
literals.add(RETURNS.value);
RETURNS.setName("RETURNS");
names.add("RETURNS");
values.put(THREE_DSECURE.value, THREE_DSECURE);
literals.add(THREE_DSECURE.value);
THREE_DSECURE.setName("THREE_DSECURE");
names.add("THREE_DSECURE");
values.put(FRAUD.value, FRAUD);
literals.add(FRAUD.value);
FRAUD.setName("FRAUD");
names.add("FRAUD");
values.put(EMAIL.value, EMAIL);
literals.add(EMAIL.value);
EMAIL.setName("EMAIL");
names.add("EMAIL");
values.put(LETTER.value, LETTER);
literals.add(LETTER.value);
LETTER.setName("LETTER");
names.add("LETTER");
values.put(PHONE_CALL.value, PHONE_CALL);
literals.add(PHONE_CALL.value);
PHONE_CALL.setName("PHONE_CALL");
names.add("PHONE_CALL");
values.put(CREDIT_AGENCY.value, CREDIT_AGENCY);
literals.add(CREDIT_AGENCY.value);
CREDIT_AGENCY.setName("CREDIT_AGENCY");
names.add("CREDIT_AGENCY");
values.put(SKIP_TRACING.value, SKIP_TRACING);
literals.add(SKIP_TRACING.value);
SKIP_TRACING.setName("SKIP_TRACING");
names.add("SKIP_TRACING");
values.put(FULFILLMENT.value, FULFILLMENT);
literals.add(FULFILLMENT.value);
FULFILLMENT.setName("FULFILLMENT");
names.add("FULFILLMENT");
values.put(PROVISIONING.value, PROVISIONING);
literals.add(PROVISIONING.value);
PROVISIONING.setName("PROVISIONING");
names.add("PROVISIONING");
values.put(REALTIME_CAPTURE.value, REALTIME_CAPTURE);
literals.add(REALTIME_CAPTURE.value);
REALTIME_CAPTURE.setName("REALTIME_CAPTURE");
names.add("REALTIME_CAPTURE");
values.put(RECONCILIATION.value, RECONCILIATION);
literals.add(RECONCILIATION.value);
RECONCILIATION.setName("RECONCILIATION");
names.add("RECONCILIATION");
values.put(REALTIME_CAPTURE.value, REALTIME_CAPTURE);
literals.add(REALTIME_CAPTURE.value);
REALTIME_CAPTURE.setName("REALTIME_CAPTURE");
names.add("REALTIME_CAPTURE");
values.put(REALTIME_CAPTURE.value, REALTIME_CAPTURE);
literals.add(REALTIME_CAPTURE.value);
REALTIME_CAPTURE.setName("REALTIME_CAPTURE");
names.add("REALTIME_CAPTURE");
values.put(RECONCILIATION.value, RECONCILIATION);
literals.add(RECONCILIATION.value);
RECONCILIATION.setName("RECONCILIATION");
names.add("RECONCILIATION");
values.put(RECONCILIATION.value, RECONCILIATION);
literals.add(RECONCILIATION.value);
RECONCILIATION.setName("RECONCILIATION");
names.add("RECONCILIATION");
values.put(VERIFICATION.value, VERIFICATION);
literals.add(VERIFICATION.value);
VERIFICATION.setName("VERIFICATION");
names.add("VERIFICATION");
values.put(RECONCILIATION.value, RECONCILIATION);
literals.add(RECONCILIATION.value);
RECONCILIATION.setName("RECONCILIATION");
names.add("RECONCILIATION");
values.put(VERIFICATION.value, VERIFICATION);
literals.add(VERIFICATION.value);
VERIFICATION.setName("VERIFICATION");
names.add("VERIFICATION");
values.put(VERIFICATION.value, VERIFICATION);
literals.add(VERIFICATION.value);
VERIFICATION.setName("VERIFICATION");
names.add("VERIFICATION");
values.put(ACCOUNT_VERIFICATION.value, ACCOUNT_VERIFICATION);
literals.add(ACCOUNT_VERIFICATION.value);
ACCOUNT_VERIFICATION.setName("ACCOUNT_VERIFICATION");
names.add("ACCOUNT_VERIFICATION");
values.put(ACCOUNT_VERIFICATION.value, ACCOUNT_VERIFICATION);
literals.add(ACCOUNT_VERIFICATION.value);
ACCOUNT_VERIFICATION.setName("ACCOUNT_VERIFICATION");
names.add("ACCOUNT_VERIFICATION");
values.put(ACCOUNT_VERIFICATION.value, ACCOUNT_VERIFICATION);
literals.add(ACCOUNT_VERIFICATION.value);
ACCOUNT_VERIFICATION.setName("ACCOUNT_VERIFICATION");
names.add("ACCOUNT_VERIFICATION");
values.put(WALLET.value, WALLET);
literals.add(WALLET.value);
WALLET.setName("WALLET");
names.add("WALLET");
values.put(SMS.value, SMS);
literals.add(SMS.value);
SMS.setName("SMS");
names.add("SMS");
values.put(WALLET.value, WALLET);
literals.add(WALLET.value);
WALLET.setName("WALLET");
names.add("WALLET");
values.put(SMS.value, SMS);
literals.add(SMS.value);
SMS.setName("SMS");
names.add("SMS");
values.put(WALLET.value, WALLET);
literals.add(WALLET.value);
WALLET.setName("WALLET");
names.add("WALLET");
values.put(SMS.value, SMS);
literals.add(SMS.value);
SMS.setName("SMS");
names.add("SMS");
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 ProfileClassifier() {}
private ProfileClassifier(java.lang.String value) {
this.value = value;
}
public String toString() {
return java.lang.String.valueOf(value);
}
/**
* Creates an instance of ProfileClassifier from <code>value</code>.
*
* @param value the value to create the ProfileClassifier from.
*/
public static ProfileClassifier fromString(java.lang.String value) {
if(value == null) return null;
final ProfileClassifier typeValue = (ProfileClassifier) 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 isProfileClassifier(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(((ProfileClassifier)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 ProfileClassifier && ((ProfileClassifier)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 ProfileClassifier.fromString(this.value);
}
}