public enum XPFCustomerStatusEnum extends Enum<XPFCustomerStatusEnum>
Enum Constant and Description |
---|
STATUS_ACTIVE
The status - Active.
|
STATUS_DISABLED
The status - Disabled.
|
STATUS_PENDING_APPROVAL
The status - Pending Approval.
|
STATUS_SUSPENDED
The status - Suspended.
|
Modifier and Type | Field and Description |
---|---|
private Integer |
status
Integer value of the status.
|
Modifier and Type | Method and Description |
---|---|
static XPFCustomerStatusEnum |
valueOf(Integer status)
Gets a customer status by integer value.
|
static XPFCustomerStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPFCustomerStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPFCustomerStatusEnum STATUS_ACTIVE
public static final XPFCustomerStatusEnum STATUS_DISABLED
public static final XPFCustomerStatusEnum STATUS_PENDING_APPROVAL
public static final XPFCustomerStatusEnum STATUS_SUSPENDED
private final Integer status
public static XPFCustomerStatusEnum[] values()
for (XPFCustomerStatusEnum c : XPFCustomerStatusEnum.values()) System.out.println(c);
public static XPFCustomerStatusEnum 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 XPFCustomerStatusEnum valueOf(Integer status)
status
- the customer status.Copyright © 2023. All rights reserved.