public enum PhaseType extends Enum<PhaseType>
| Enum Constant and Description |
|---|
DISCOUNT |
EVERGREEN |
FIXEDTERM |
TRIAL |
| Modifier and Type | Method and Description |
|---|---|
static PhaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhaseType TRIAL
public static final PhaseType DISCOUNT
public static final PhaseType FIXEDTERM
public static final PhaseType EVERGREEN
public static PhaseType[] values()
for (PhaseType c : PhaseType.values()) System.out.println(c);
public static PhaseType 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 © 2010-2015. All Rights Reserved.