package atlas.classifiers;
public class OperationType
implements java.io.Serializable, iapp.services.Classifier {
public static final OperationType BATCH_AUTORIZATION_CAPTURE = new OperationType("BAC");
public static final OperationType RETAIL_CAPTURE = new OperationType("RC");
public static final OperationType RETAIL_AUTHORIZATION = new OperationType("RA");
public static final OperationType COLLECTIONS_PROCESSING = new OperationType("CP");
public static final OperationType STATEMENT_PROCESSING = new OperationType("SP");
public static final OperationType EMAIL_AUTHORIZATION = new OperationType("EA");
public static final OperationType EMAIL_CAPTURE = new OperationType("EC");
public static final OperationType EMAIL_AUTHORIZATION_CAPTURE = new OperationType("EAC");
public static final OperationType CHARGEBACK_PROCESSING = new OperationType("CBP");
public static final OperationType TOKEN_REGISTRATION = new OperationType("TR");
public static final OperationType ACCOUNT_UPDATE = new OperationType("AU");
public static final OperationType SKIP_TRACING = new OperationType("ST");
public static final OperationType PROCESSING_COST = new OperationType("PC");
public static final OperationType BATCH_AUTORIZATION = new OperationType("BA");
public static final OperationType BATCH_CAPTURE = new OperationType("BC");
public static final OperationType PROVISIONING = new OperationType("PV");
public static final OperationType THREE_DSECURE = new OperationType("TDS");
public static final OperationType FULFILLMENT = new OperationType("FLM");
public static final OperationType CHARGEBACK_DOCUMENT_EXCHANGE = new OperationType("CDE");
public static final OperationType BATCH_AUTORIZATION_CAPTURE = new OperationType("BAC");
public static final OperationType RETAIL_CAPTURE = new OperationType("RC");
public static final OperationType RETAIL_AUTHORIZATION = new OperationType("RA");
public static final OperationType COLLECTIONS_PROCESSING = new OperationType("CP");
public static final OperationType STATEMENT_PROCESSING = new OperationType("SP");
public static final OperationType EMAIL_AUTHORIZATION = new OperationType("EA");
public static final OperationType EMAIL_CAPTURE = new OperationType("EC");
public static final OperationType EMAIL_AUTHORIZATION_CAPTURE = new OperationType("EAC");
public static final OperationType CHARGEBACK_PROCESSING = new OperationType("CBP");
public static final OperationType TOKEN_REGISTRATION = new OperationType("TR");
public static final OperationType ACCOUNT_UPDATE = new OperationType("AU");
public static final OperationType SKIP_TRACING = new OperationType("ST");
public static final OperationType PROCESSING_COST = new OperationType("PC");
public static final OperationType BATCH_AUTORIZATION = new OperationType("BA");
public static final OperationType BATCH_CAPTURE = new OperationType("BC");
public static final OperationType PROVISIONING = new OperationType("PV");
public static final OperationType THREE_DSECURE = new OperationType("TDS");
public static final OperationType FULFILLMENT = new OperationType("FLM");
public static final OperationType CHARGEBACK_DOCUMENT_EXCHANGE = new OperationType("CDE");
public static final OperationType BATCH_AUTORIZATION_CAPTURE = new OperationType("BAC");
public static final OperationType RETAIL_CAPTURE = new OperationType("RC");
public static final OperationType RETAIL_AUTHORIZATION = new OperationType("RA");
public static final OperationType COLLECTIONS_PROCESSING = new OperationType("CP");
public static final OperationType STATEMENT_PROCESSING = new OperationType("SP");
public static final OperationType EMAIL_AUTHORIZATION = new OperationType("EA");
public static final OperationType EMAIL_CAPTURE = new OperationType("EC");
public static final OperationType EMAIL_AUTHORIZATION_CAPTURE = new OperationType("EAC");
public static final OperationType CHARGEBACK_PROCESSING = new OperationType("CBP");
public static final OperationType TOKEN_REGISTRATION = new OperationType("TR");
public static final OperationType ACCOUNT_UPDATE = new OperationType("AU");
public static final OperationType SKIP_TRACING = new OperationType("ST");
public static final OperationType PROCESSING_COST = new OperationType("PC");
public static final OperationType BATCH_AUTORIZATION = new OperationType("BA");
public static final OperationType BATCH_CAPTURE = new OperationType("BC");
public static final OperationType PROVISIONING = new OperationType("PV");
public static final OperationType THREE_DSECURE = new OperationType("TDS");
public static final OperationType FULFILLMENT = new OperationType("FLM");
public static final OperationType CHARGEBACK_DOCUMENT_EXCHANGE = new OperationType("CDE");
public static final OperationType MERCHANT_CHARGE = new OperationType("MC");
public static final OperationType RECONCILIATION = new OperationType("RE");
public static final OperationType RECONCILIATION = new OperationType("RE");
public static final OperationType MERCHANT_CHARGE = new OperationType("MC");
public static final OperationType ONBOARDING_VERIFICATION = new OperationType("OV");
public static final OperationType RECONCILIATION = new OperationType("RE");
public static final OperationType MERCHANT_CHARGE = new OperationType("MC");
public static final OperationType ONBOARDING_VERIFICATION = new OperationType("OV");
public static final OperationType ONBOARDING_VERIFICATION = new OperationType("OV");
public static final OperationType SMS = new OperationType("SMS");
public static final OperationType SMS = new OperationType("SMS");
public static final OperationType SMS = new OperationType("SMS");
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(BATCH_AUTORIZATION_CAPTURE.value, BATCH_AUTORIZATION_CAPTURE);
literals.add(BATCH_AUTORIZATION_CAPTURE.value);
BATCH_AUTORIZATION_CAPTURE.setName("BATCH_AUTORIZATION_CAPTURE");
names.add("BATCH_AUTORIZATION_CAPTURE");
values.put(RETAIL_CAPTURE.value, RETAIL_CAPTURE);
literals.add(RETAIL_CAPTURE.value);
RETAIL_CAPTURE.setName("RETAIL_CAPTURE");
names.add("RETAIL_CAPTURE");
values.put(RETAIL_AUTHORIZATION.value, RETAIL_AUTHORIZATION);
literals.add(RETAIL_AUTHORIZATION.value);
RETAIL_AUTHORIZATION.setName("RETAIL_AUTHORIZATION");
names.add("RETAIL_AUTHORIZATION");
values.put(COLLECTIONS_PROCESSING.value, COLLECTIONS_PROCESSING);
literals.add(COLLECTIONS_PROCESSING.value);
COLLECTIONS_PROCESSING.setName("COLLECTIONS_PROCESSING");
names.add("COLLECTIONS_PROCESSING");
values.put(STATEMENT_PROCESSING.value, STATEMENT_PROCESSING);
literals.add(STATEMENT_PROCESSING.value);
STATEMENT_PROCESSING.setName("STATEMENT_PROCESSING");
names.add("STATEMENT_PROCESSING");
values.put(EMAIL_AUTHORIZATION.value, EMAIL_AUTHORIZATION);
literals.add(EMAIL_AUTHORIZATION.value);
EMAIL_AUTHORIZATION.setName("EMAIL_AUTHORIZATION");
names.add("EMAIL_AUTHORIZATION");
values.put(EMAIL_CAPTURE.value, EMAIL_CAPTURE);
literals.add(EMAIL_CAPTURE.value);
EMAIL_CAPTURE.setName("EMAIL_CAPTURE");
names.add("EMAIL_CAPTURE");
values.put(EMAIL_AUTHORIZATION_CAPTURE.value, EMAIL_AUTHORIZATION_CAPTURE);
literals.add(EMAIL_AUTHORIZATION_CAPTURE.value);
EMAIL_AUTHORIZATION_CAPTURE.setName("EMAIL_AUTHORIZATION_CAPTURE");
names.add("EMAIL_AUTHORIZATION_CAPTURE");
values.put(CHARGEBACK_PROCESSING.value, CHARGEBACK_PROCESSING);
literals.add(CHARGEBACK_PROCESSING.value);
CHARGEBACK_PROCESSING.setName("CHARGEBACK_PROCESSING");
names.add("CHARGEBACK_PROCESSING");
values.put(TOKEN_REGISTRATION.value, TOKEN_REGISTRATION);
literals.add(TOKEN_REGISTRATION.value);
TOKEN_REGISTRATION.setName("TOKEN_REGISTRATION");
names.add("TOKEN_REGISTRATION");
values.put(ACCOUNT_UPDATE.value, ACCOUNT_UPDATE);
literals.add(ACCOUNT_UPDATE.value);
ACCOUNT_UPDATE.setName("ACCOUNT_UPDATE");
names.add("ACCOUNT_UPDATE");
values.put(SKIP_TRACING.value, SKIP_TRACING);
literals.add(SKIP_TRACING.value);
SKIP_TRACING.setName("SKIP_TRACING");
names.add("SKIP_TRACING");
values.put(PROCESSING_COST.value, PROCESSING_COST);
literals.add(PROCESSING_COST.value);
PROCESSING_COST.setName("PROCESSING_COST");
names.add("PROCESSING_COST");
values.put(BATCH_AUTORIZATION.value, BATCH_AUTORIZATION);
literals.add(BATCH_AUTORIZATION.value);
BATCH_AUTORIZATION.setName("BATCH_AUTORIZATION");
names.add("BATCH_AUTORIZATION");
values.put(BATCH_CAPTURE.value, BATCH_CAPTURE);
literals.add(BATCH_CAPTURE.value);
BATCH_CAPTURE.setName("BATCH_CAPTURE");
names.add("BATCH_CAPTURE");
values.put(PROVISIONING.value, PROVISIONING);
literals.add(PROVISIONING.value);
PROVISIONING.setName("PROVISIONING");
names.add("PROVISIONING");
values.put(THREE_DSECURE.value, THREE_DSECURE);
literals.add(THREE_DSECURE.value);
THREE_DSECURE.setName("THREE_DSECURE");
names.add("THREE_DSECURE");
values.put(FULFILLMENT.value, FULFILLMENT);
literals.add(FULFILLMENT.value);
FULFILLMENT.setName("FULFILLMENT");
names.add("FULFILLMENT");
values.put(CHARGEBACK_DOCUMENT_EXCHANGE.value, CHARGEBACK_DOCUMENT_EXCHANGE);
literals.add(CHARGEBACK_DOCUMENT_EXCHANGE.value);
CHARGEBACK_DOCUMENT_EXCHANGE.setName("CHARGEBACK_DOCUMENT_EXCHANGE");
names.add("CHARGEBACK_DOCUMENT_EXCHANGE");
values.put(BATCH_AUTORIZATION_CAPTURE.value, BATCH_AUTORIZATION_CAPTURE);
literals.add(BATCH_AUTORIZATION_CAPTURE.value);
BATCH_AUTORIZATION_CAPTURE.setName("BATCH_AUTORIZATION_CAPTURE");
names.add("BATCH_AUTORIZATION_CAPTURE");
values.put(RETAIL_CAPTURE.value, RETAIL_CAPTURE);
literals.add(RETAIL_CAPTURE.value);
RETAIL_CAPTURE.setName("RETAIL_CAPTURE");
names.add("RETAIL_CAPTURE");
values.put(RETAIL_AUTHORIZATION.value, RETAIL_AUTHORIZATION);
literals.add(RETAIL_AUTHORIZATION.value);
RETAIL_AUTHORIZATION.setName("RETAIL_AUTHORIZATION");
names.add("RETAIL_AUTHORIZATION");
values.put(COLLECTIONS_PROCESSING.value, COLLECTIONS_PROCESSING);
literals.add(COLLECTIONS_PROCESSING.value);
COLLECTIONS_PROCESSING.setName("COLLECTIONS_PROCESSING");
names.add("COLLECTIONS_PROCESSING");
values.put(STATEMENT_PROCESSING.value, STATEMENT_PROCESSING);
literals.add(STATEMENT_PROCESSING.value);
STATEMENT_PROCESSING.setName("STATEMENT_PROCESSING");
names.add("STATEMENT_PROCESSING");
values.put(EMAIL_AUTHORIZATION.value, EMAIL_AUTHORIZATION);
literals.add(EMAIL_AUTHORIZATION.value);
EMAIL_AUTHORIZATION.setName("EMAIL_AUTHORIZATION");
names.add("EMAIL_AUTHORIZATION");
values.put(EMAIL_CAPTURE.value, EMAIL_CAPTURE);
literals.add(EMAIL_CAPTURE.value);
EMAIL_CAPTURE.setName("EMAIL_CAPTURE");
names.add("EMAIL_CAPTURE");
values.put(EMAIL_AUTHORIZATION_CAPTURE.value, EMAIL_AUTHORIZATION_CAPTURE);
literals.add(EMAIL_AUTHORIZATION_CAPTURE.value);
EMAIL_AUTHORIZATION_CAPTURE.setName("EMAIL_AUTHORIZATION_CAPTURE");
names.add("EMAIL_AUTHORIZATION_CAPTURE");
values.put(CHARGEBACK_PROCESSING.value, CHARGEBACK_PROCESSING);
literals.add(CHARGEBACK_PROCESSING.value);
CHARGEBACK_PROCESSING.setName("CHARGEBACK_PROCESSING");
names.add("CHARGEBACK_PROCESSING");
values.put(TOKEN_REGISTRATION.value, TOKEN_REGISTRATION);
literals.add(TOKEN_REGISTRATION.value);
TOKEN_REGISTRATION.setName("TOKEN_REGISTRATION");
names.add("TOKEN_REGISTRATION");
values.put(ACCOUNT_UPDATE.value, ACCOUNT_UPDATE);
literals.add(ACCOUNT_UPDATE.value);
ACCOUNT_UPDATE.setName("ACCOUNT_UPDATE");
names.add("ACCOUNT_UPDATE");
values.put(SKIP_TRACING.value, SKIP_TRACING);
literals.add(SKIP_TRACING.value);
SKIP_TRACING.setName("SKIP_TRACING");
names.add("SKIP_TRACING");
values.put(PROCESSING_COST.value, PROCESSING_COST);
literals.add(PROCESSING_COST.value);
PROCESSING_COST.setName("PROCESSING_COST");
names.add("PROCESSING_COST");
values.put(BATCH_AUTORIZATION.value, BATCH_AUTORIZATION);
literals.add(BATCH_AUTORIZATION.value);
BATCH_AUTORIZATION.setName("BATCH_AUTORIZATION");
names.add("BATCH_AUTORIZATION");
values.put(BATCH_CAPTURE.value, BATCH_CAPTURE);
literals.add(BATCH_CAPTURE.value);
BATCH_CAPTURE.setName("BATCH_CAPTURE");
names.add("BATCH_CAPTURE");
values.put(PROVISIONING.value, PROVISIONING);
literals.add(PROVISIONING.value);
PROVISIONING.setName("PROVISIONING");
names.add("PROVISIONING");
values.put(THREE_DSECURE.value, THREE_DSECURE);
literals.add(THREE_DSECURE.value);
THREE_DSECURE.setName("THREE_DSECURE");
names.add("THREE_DSECURE");
values.put(FULFILLMENT.value, FULFILLMENT);
literals.add(FULFILLMENT.value);
FULFILLMENT.setName("FULFILLMENT");
names.add("FULFILLMENT");
values.put(CHARGEBACK_DOCUMENT_EXCHANGE.value, CHARGEBACK_DOCUMENT_EXCHANGE);
literals.add(CHARGEBACK_DOCUMENT_EXCHANGE.value);
CHARGEBACK_DOCUMENT_EXCHANGE.setName("CHARGEBACK_DOCUMENT_EXCHANGE");
names.add("CHARGEBACK_DOCUMENT_EXCHANGE");
values.put(BATCH_AUTORIZATION_CAPTURE.value, BATCH_AUTORIZATION_CAPTURE);
literals.add(BATCH_AUTORIZATION_CAPTURE.value);
BATCH_AUTORIZATION_CAPTURE.setName("BATCH_AUTORIZATION_CAPTURE");
names.add("BATCH_AUTORIZATION_CAPTURE");
values.put(RETAIL_CAPTURE.value, RETAIL_CAPTURE);
literals.add(RETAIL_CAPTURE.value);
RETAIL_CAPTURE.setName("RETAIL_CAPTURE");
names.add("RETAIL_CAPTURE");
values.put(RETAIL_AUTHORIZATION.value, RETAIL_AUTHORIZATION);
literals.add(RETAIL_AUTHORIZATION.value);
RETAIL_AUTHORIZATION.setName("RETAIL_AUTHORIZATION");
names.add("RETAIL_AUTHORIZATION");
values.put(COLLECTIONS_PROCESSING.value, COLLECTIONS_PROCESSING);
literals.add(COLLECTIONS_PROCESSING.value);
COLLECTIONS_PROCESSING.setName("COLLECTIONS_PROCESSING");
names.add("COLLECTIONS_PROCESSING");
values.put(STATEMENT_PROCESSING.value, STATEMENT_PROCESSING);
literals.add(STATEMENT_PROCESSING.value);
STATEMENT_PROCESSING.setName("STATEMENT_PROCESSING");
names.add("STATEMENT_PROCESSING");
values.put(EMAIL_AUTHORIZATION.value, EMAIL_AUTHORIZATION);
literals.add(EMAIL_AUTHORIZATION.value);
EMAIL_AUTHORIZATION.setName("EMAIL_AUTHORIZATION");
names.add("EMAIL_AUTHORIZATION");
values.put(EMAIL_CAPTURE.value, EMAIL_CAPTURE);
literals.add(EMAIL_CAPTURE.value);
EMAIL_CAPTURE.setName("EMAIL_CAPTURE");
names.add("EMAIL_CAPTURE");
values.put(EMAIL_AUTHORIZATION_CAPTURE.value, EMAIL_AUTHORIZATION_CAPTURE);
literals.add(EMAIL_AUTHORIZATION_CAPTURE.value);
EMAIL_AUTHORIZATION_CAPTURE.setName("EMAIL_AUTHORIZATION_CAPTURE");
names.add("EMAIL_AUTHORIZATION_CAPTURE");
values.put(CHARGEBACK_PROCESSING.value, CHARGEBACK_PROCESSING);
literals.add(CHARGEBACK_PROCESSING.value);
CHARGEBACK_PROCESSING.setName("CHARGEBACK_PROCESSING");
names.add("CHARGEBACK_PROCESSING");
values.put(TOKEN_REGISTRATION.value, TOKEN_REGISTRATION);
literals.add(TOKEN_REGISTRATION.value);
TOKEN_REGISTRATION.setName("TOKEN_REGISTRATION");
names.add("TOKEN_REGISTRATION");
values.put(ACCOUNT_UPDATE.value, ACCOUNT_UPDATE);
literals.add(ACCOUNT_UPDATE.value);
ACCOUNT_UPDATE.setName("ACCOUNT_UPDATE");
names.add("ACCOUNT_UPDATE");
values.put(SKIP_TRACING.value, SKIP_TRACING);
literals.add(SKIP_TRACING.value);
SKIP_TRACING.setName("SKIP_TRACING");
names.add("SKIP_TRACING");
values.put(PROCESSING_COST.value, PROCESSING_COST);
literals.add(PROCESSING_COST.value);
PROCESSING_COST.setName("PROCESSING_COST");
names.add("PROCESSING_COST");
values.put(BATCH_AUTORIZATION.value, BATCH_AUTORIZATION);
literals.add(BATCH_AUTORIZATION.value);
BATCH_AUTORIZATION.setName("BATCH_AUTORIZATION");
names.add("BATCH_AUTORIZATION");
values.put(BATCH_CAPTURE.value, BATCH_CAPTURE);
literals.add(BATCH_CAPTURE.value);
BATCH_CAPTURE.setName("BATCH_CAPTURE");
names.add("BATCH_CAPTURE");
values.put(PROVISIONING.value, PROVISIONING);
literals.add(PROVISIONING.value);
PROVISIONING.setName("PROVISIONING");
names.add("PROVISIONING");
values.put(THREE_DSECURE.value, THREE_DSECURE);
literals.add(THREE_DSECURE.value);
THREE_DSECURE.setName("THREE_DSECURE");
names.add("THREE_DSECURE");
values.put(FULFILLMENT.value, FULFILLMENT);
literals.add(FULFILLMENT.value);
FULFILLMENT.setName("FULFILLMENT");
names.add("FULFILLMENT");
values.put(CHARGEBACK_DOCUMENT_EXCHANGE.value, CHARGEBACK_DOCUMENT_EXCHANGE);
literals.add(CHARGEBACK_DOCUMENT_EXCHANGE.value);
CHARGEBACK_DOCUMENT_EXCHANGE.setName("CHARGEBACK_DOCUMENT_EXCHANGE");
names.add("CHARGEBACK_DOCUMENT_EXCHANGE");
values.put(MERCHANT_CHARGE.value, MERCHANT_CHARGE);
literals.add(MERCHANT_CHARGE.value);
MERCHANT_CHARGE.setName("MERCHANT_CHARGE");
names.add("MERCHANT_CHARGE");
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(MERCHANT_CHARGE.value, MERCHANT_CHARGE);
literals.add(MERCHANT_CHARGE.value);
MERCHANT_CHARGE.setName("MERCHANT_CHARGE");
names.add("MERCHANT_CHARGE");
values.put(ONBOARDING_VERIFICATION.value, ONBOARDING_VERIFICATION);
literals.add(ONBOARDING_VERIFICATION.value);
ONBOARDING_VERIFICATION.setName("ONBOARDING_VERIFICATION");
names.add("ONBOARDING_VERIFICATION");
values.put(RECONCILIATION.value, RECONCILIATION);
literals.add(RECONCILIATION.value);
RECONCILIATION.setName("RECONCILIATION");
names.add("RECONCILIATION");
values.put(MERCHANT_CHARGE.value, MERCHANT_CHARGE);
literals.add(MERCHANT_CHARGE.value);
MERCHANT_CHARGE.setName("MERCHANT_CHARGE");
names.add("MERCHANT_CHARGE");
values.put(ONBOARDING_VERIFICATION.value, ONBOARDING_VERIFICATION);
literals.add(ONBOARDING_VERIFICATION.value);
ONBOARDING_VERIFICATION.setName("ONBOARDING_VERIFICATION");
names.add("ONBOARDING_VERIFICATION");
values.put(ONBOARDING_VERIFICATION.value, ONBOARDING_VERIFICATION);
literals.add(ONBOARDING_VERIFICATION.value);
ONBOARDING_VERIFICATION.setName("ONBOARDING_VERIFICATION");
names.add("ONBOARDING_VERIFICATION");
values.put(SMS.value, SMS);
literals.add(SMS.value);
SMS.setName("SMS");
names.add("SMS");
values.put(SMS.value, SMS);
literals.add(SMS.value);
SMS.setName("SMS");
names.add("SMS");
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 OperationType() {}
private OperationType(java.lang.String value) {
this.value = value;
}
public String toString() {
return java.lang.String.valueOf(value);
}
/**
* Creates an instance of OperationType from <code>value</code>.
*
* @param value the value to create the OperationType from.
*/
public static OperationType fromString(java.lang.String value) {
if(value == null) return null;
final OperationType typeValue = (OperationType) 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 isOperationType(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(((OperationType)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 OperationType && ((OperationType)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 OperationType.fromString(this.value);
}
}