public enum XPFCustomerTypeEnum extends Enum<XPFCustomerTypeEnum>
Enum Constant and Description |
---|
ACCOUNT
The customer type - Account.
|
REGISTERED_USER
The customer type - Registered User.
|
SINGLE_SESSION_USER
The customer type - Single Session User.
|
Modifier and Type | Field and Description |
---|---|
private int |
ordinal
Integer value of the type.
|
private static long |
serialVersionUID |
Modifier and Type | Method and Description |
---|---|
static XPFCustomerTypeEnum |
valueOf(int ordinal)
Gets a customer type by integer value.
|
static XPFCustomerTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPFCustomerTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPFCustomerTypeEnum SINGLE_SESSION_USER
public static final XPFCustomerTypeEnum REGISTERED_USER
public static final XPFCustomerTypeEnum ACCOUNT
private static final long serialVersionUID
private final int ordinal
public static XPFCustomerTypeEnum[] values()
for (XPFCustomerTypeEnum c : XPFCustomerTypeEnum.values()) System.out.println(c);
public static XPFCustomerTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static XPFCustomerTypeEnum valueOf(int ordinal)
ordinal
- the customer type ordinal.Copyright © 2023. All rights reserved.