public static enum Project.BudgetMethod extends Enum<Project.BudgetMethod>
| Enum Constant and Description |
|---|
HOURS_PER_PERSON |
HOURS_PER_PROJECT |
HOURS_PER_TASK |
NO_BUDGET |
TOTAL_PROJECT_FEES |
| Modifier and Type | Method and Description |
|---|---|
static Project.BudgetMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.BudgetMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.BudgetMethod HOURS_PER_PROJECT
public static final Project.BudgetMethod TOTAL_PROJECT_FEES
public static final Project.BudgetMethod HOURS_PER_TASK
public static final Project.BudgetMethod HOURS_PER_PERSON
public static final Project.BudgetMethod NO_BUDGET
public static Project.BudgetMethod[] values()
for (Project.BudgetMethod c : Project.BudgetMethod.values()) System.out.println(c);
public static Project.BudgetMethod 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 null