public static enum Project.ProjectStatus extends Enum<Project.ProjectStatus>
| Modifier and Type | Method and Description |
|---|---|
static Project.ProjectStatus |
fromStatusCode(short statusCode) |
short |
statusCode() |
static Project.ProjectStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.ProjectStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.ProjectStatus DELETED
public static final Project.ProjectStatus ARCHIVE
public static final Project.ProjectStatus ACTIVE
public static Project.ProjectStatus[] values()
for (Project.ProjectStatus c : Project.ProjectStatus.values()) System.out.println(c);
public static Project.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 nullpublic short statusCode()
public static Project.ProjectStatus fromStatusCode(short statusCode)
Copyright © 2017. All Rights Reserved.