package atlas.classifiers;
public class OnboardingStageClassifier
implements java.io.Serializable, iapp.services.Classifier {
public static final OnboardingStageClassifier APPLICATION_SUBMISSION = new OnboardingStageClassifier("EA");
public static final OnboardingStageClassifier MERCHANT_VERIFICATION_REQUEST = new OnboardingStageClassifier("EV");
public static final OnboardingStageClassifier UNDERWRITING_MID_REQUEST = new OnboardingStageClassifier("ER");
public static final OnboardingStageClassifier UNDERWRITING_MID_RESPONSE = new OnboardingStageClassifier("ES");
public static final OnboardingStageClassifier MERCHANT_CONFIGURATION = new OnboardingStageClassifier("IM");
public static final OnboardingStageClassifier FTP_FOLDER_CONFIGURATION = new OnboardingStageClassifier("IF");
public static final OnboardingStageClassifier PROVIDER_PROFILES_CONFIGURATION = new OnboardingStageClassifier("IP");
public static final OnboardingStageClassifier MERCHANT_FEES_CONFIGURATION = new OnboardingStageClassifier("IE");
public static final OnboardingStageClassifier BILLING_SETTINGS_CONFIGURATION = new OnboardingStageClassifier("IB");
public static final OnboardingStageClassifier TERMINAL_CONFIGURATION = new OnboardingStageClassifier("IT");
public static final OnboardingStageClassifier MERCHANT_VERIFICATION_RESPONSE = new OnboardingStageClassifier("EC");
public static final OnboardingStageClassifier UNDERWRITING_MID_REJECTION = new OnboardingStageClassifier("EJ");
public static final OnboardingStageClassifier MANUAL_UNDERWRITING = new OnboardingStageClassifier("EU");
public static final OnboardingStageClassifier MANUAL_UNDERWRITING = new OnboardingStageClassifier("EU");
public static final OnboardingStageClassifier MANUAL_UNDERWRITING = new OnboardingStageClassifier("EU");
public static final OnboardingStageClassifier FEE_PROCESSOR_CONFIGURATION = new OnboardingStageClassifier("IC");
public static final OnboardingStageClassifier FEE_PROCESSOR_CONFIGURATION = new OnboardingStageClassifier("IC");
public static final OnboardingStageClassifier FEE_PROCESSOR_CONFIGURATION = new OnboardingStageClassifier("IC");
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(APPLICATION_SUBMISSION.value, APPLICATION_SUBMISSION);
literals.add(APPLICATION_SUBMISSION.value);
APPLICATION_SUBMISSION.setName("APPLICATION_SUBMISSION");
names.add("APPLICATION_SUBMISSION");
values.put(MERCHANT_VERIFICATION_REQUEST.value, MERCHANT_VERIFICATION_REQUEST);
literals.add(MERCHANT_VERIFICATION_REQUEST.value);
MERCHANT_VERIFICATION_REQUEST.setName("MERCHANT_VERIFICATION_REQUEST");
names.add("MERCHANT_VERIFICATION_REQUEST");
values.put(UNDERWRITING_MID_REQUEST.value, UNDERWRITING_MID_REQUEST);
literals.add(UNDERWRITING_MID_REQUEST.value);
UNDERWRITING_MID_REQUEST.setName("UNDERWRITING_MID_REQUEST");
names.add("UNDERWRITING_MID_REQUEST");
values.put(UNDERWRITING_MID_RESPONSE.value, UNDERWRITING_MID_RESPONSE);
literals.add(UNDERWRITING_MID_RESPONSE.value);
UNDERWRITING_MID_RESPONSE.setName("UNDERWRITING_MID_RESPONSE");
names.add("UNDERWRITING_MID_RESPONSE");
values.put(MERCHANT_CONFIGURATION.value, MERCHANT_CONFIGURATION);
literals.add(MERCHANT_CONFIGURATION.value);
MERCHANT_CONFIGURATION.setName("MERCHANT_CONFIGURATION");
names.add("MERCHANT_CONFIGURATION");
values.put(FTP_FOLDER_CONFIGURATION.value, FTP_FOLDER_CONFIGURATION);
literals.add(FTP_FOLDER_CONFIGURATION.value);
FTP_FOLDER_CONFIGURATION.setName("FTP_FOLDER_CONFIGURATION");
names.add("FTP_FOLDER_CONFIGURATION");
values.put(PROVIDER_PROFILES_CONFIGURATION.value, PROVIDER_PROFILES_CONFIGURATION);
literals.add(PROVIDER_PROFILES_CONFIGURATION.value);
PROVIDER_PROFILES_CONFIGURATION.setName("PROVIDER_PROFILES_CONFIGURATION");
names.add("PROVIDER_PROFILES_CONFIGURATION");
values.put(MERCHANT_FEES_CONFIGURATION.value, MERCHANT_FEES_CONFIGURATION);
literals.add(MERCHANT_FEES_CONFIGURATION.value);
MERCHANT_FEES_CONFIGURATION.setName("MERCHANT_FEES_CONFIGURATION");
names.add("MERCHANT_FEES_CONFIGURATION");
values.put(BILLING_SETTINGS_CONFIGURATION.value, BILLING_SETTINGS_CONFIGURATION);
literals.add(BILLING_SETTINGS_CONFIGURATION.value);
BILLING_SETTINGS_CONFIGURATION.setName("BILLING_SETTINGS_CONFIGURATION");
names.add("BILLING_SETTINGS_CONFIGURATION");
values.put(TERMINAL_CONFIGURATION.value, TERMINAL_CONFIGURATION);
literals.add(TERMINAL_CONFIGURATION.value);
TERMINAL_CONFIGURATION.setName("TERMINAL_CONFIGURATION");
names.add("TERMINAL_CONFIGURATION");
values.put(MERCHANT_VERIFICATION_RESPONSE.value, MERCHANT_VERIFICATION_RESPONSE);
literals.add(MERCHANT_VERIFICATION_RESPONSE.value);
MERCHANT_VERIFICATION_RESPONSE.setName("MERCHANT_VERIFICATION_RESPONSE");
names.add("MERCHANT_VERIFICATION_RESPONSE");
values.put(UNDERWRITING_MID_REJECTION.value, UNDERWRITING_MID_REJECTION);
literals.add(UNDERWRITING_MID_REJECTION.value);
UNDERWRITING_MID_REJECTION.setName("UNDERWRITING_MID_REJECTION");
names.add("UNDERWRITING_MID_REJECTION");
values.put(MANUAL_UNDERWRITING.value, MANUAL_UNDERWRITING);
literals.add(MANUAL_UNDERWRITING.value);
MANUAL_UNDERWRITING.setName("MANUAL_UNDERWRITING");
names.add("MANUAL_UNDERWRITING");
values.put(MANUAL_UNDERWRITING.value, MANUAL_UNDERWRITING);
literals.add(MANUAL_UNDERWRITING.value);
MANUAL_UNDERWRITING.setName("MANUAL_UNDERWRITING");
names.add("MANUAL_UNDERWRITING");
values.put(MANUAL_UNDERWRITING.value, MANUAL_UNDERWRITING);
literals.add(MANUAL_UNDERWRITING.value);
MANUAL_UNDERWRITING.setName("MANUAL_UNDERWRITING");
names.add("MANUAL_UNDERWRITING");
values.put(FEE_PROCESSOR_CONFIGURATION.value, FEE_PROCESSOR_CONFIGURATION);
literals.add(FEE_PROCESSOR_CONFIGURATION.value);
FEE_PROCESSOR_CONFIGURATION.setName("FEE_PROCESSOR_CONFIGURATION");
names.add("FEE_PROCESSOR_CONFIGURATION");
values.put(FEE_PROCESSOR_CONFIGURATION.value, FEE_PROCESSOR_CONFIGURATION);
literals.add(FEE_PROCESSOR_CONFIGURATION.value);
FEE_PROCESSOR_CONFIGURATION.setName("FEE_PROCESSOR_CONFIGURATION");
names.add("FEE_PROCESSOR_CONFIGURATION");
values.put(FEE_PROCESSOR_CONFIGURATION.value, FEE_PROCESSOR_CONFIGURATION);
literals.add(FEE_PROCESSOR_CONFIGURATION.value);
FEE_PROCESSOR_CONFIGURATION.setName("FEE_PROCESSOR_CONFIGURATION");
names.add("FEE_PROCESSOR_CONFIGURATION");
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 OnboardingStageClassifier() {}
private OnboardingStageClassifier(java.lang.String value) {
this.value = value;
}
public String toString() {
return java.lang.String.valueOf(value);
}
/**
* Creates an instance of OnboardingStageClassifier from <code>value</code>.
*
* @param value the value to create the OnboardingStageClassifier from.
*/
public static OnboardingStageClassifier fromString(java.lang.String value) {
if(value == null) return null;
final OnboardingStageClassifier typeValue = (OnboardingStageClassifier) 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 isOnboardingStageClassifier(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(((OnboardingStageClassifier)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 OnboardingStageClassifier && ((OnboardingStageClassifier)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 OnboardingStageClassifier.fromString(this.value);
}
}