public enum ProjectAllocationState extends java.lang.Enum<ProjectAllocationState>
| Enum Constant and Description |
|---|
NO_ALLOCATION
Estado de projeto sem alocação.
|
UNLOCKED_WITH_AREA_ALLOCATED
Estado de um projeto desbloqueado que usa uma área reservada.
|
WAITING_AREA_ALLOCATION
Estado de um projeto bloqueado devido a requisição de área.
|
WAITING_AREA_FREE
Estado de um projeto removido aguardando liberação de área.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Retorna o código do estado de alocação do projeto.
|
static ProjectAllocationState |
getProjectAllocationStateFromCode(int code)
Retorna uma instância de
ProjectAllocationState em função do código
de alocação do projeto. |
static ProjectAllocationState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProjectAllocationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectAllocationState WAITING_AREA_ALLOCATION
public static final ProjectAllocationState UNLOCKED_WITH_AREA_ALLOCATED
public static final ProjectAllocationState WAITING_AREA_FREE
public static final ProjectAllocationState NO_ALLOCATION
public static ProjectAllocationState[] values()
for (ProjectAllocationState c : ProjectAllocationState.values()) System.out.println(c);
public static ProjectAllocationState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public static ProjectAllocationState getProjectAllocationStateFromCode(int code)
ProjectAllocationState em função do código
de alocação do projeto.code - Código de alocação do projeto.ProjectAllocationState em função do código de
alocação do projeto.Copyright © 2016. All Rights Reserved.