public enum CustomerStatus extends Enum<CustomerStatus>
Enum Constant and Description |
---|
CLOSED_LOST |
CONTACTED |
CUSTOMER |
IMPORTED_LEAD |
NOT_CONTACTED |
Modifier and Type | Method and Description |
---|---|
static CustomerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerStatus IMPORTED_LEAD
public static final CustomerStatus NOT_CONTACTED
public static final CustomerStatus CONTACTED
public static final CustomerStatus CUSTOMER
public static final CustomerStatus CLOSED_LOST
public static CustomerStatus[] values()
for (CustomerStatus c : CustomerStatus.values()) System.out.println(c);
public static CustomerStatus 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 nullCopyright © 2018 Magnolia International Ltd.. All rights reserved.