public enum ProjectStatus extends Enum<ProjectStatus>
Enum Constant and Description |
---|
CLOSED |
COMPLETED |
ESTIMATE |
ON_HOLD |
OPEN |
Modifier and Type | Method and Description |
---|---|
static ProjectStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectStatus OPEN
public static final ProjectStatus ON_HOLD
public static final ProjectStatus CLOSED
public static final ProjectStatus ESTIMATE
public static final ProjectStatus COMPLETED
public static ProjectStatus[] values()
for (ProjectStatus c : ProjectStatus.values()) System.out.println(c);
public static ProjectStatus 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–2016. All rights reserved.