Enum Constant and Description |
---|
APPROVED
APPROVED - indikerer at der er tale om "noget" der skal være/blive godkendt/vedtaget
|
CANCELLED
CANCELLED - indikerer at der er tale om "noget" der skal være/er aflyst
|
DRAFT
DRAFT - indikerer at der er tale om "noget" der skal være/er en kladde
|
DRAFTAPPROVED
DRAFTAPPROVED - indikerer at der er tale om "noget" der skal være/blive godkendt/vedtaget
|
DRAFTCANCELLED
DRAFTCANCELLED - indikerer at der er tale om "noget" der skal være/er aflyst
|
DRAFTPROPOSAL
DRAFTPROPOSAL
|
NEW
NEW - hjælpetilstand for noget som endnu ikke er persisteret
|
PROPOSAL
PROPOSAL - indikerer at der er tale om "noget" der skal være/er et forslag
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
java.lang.Integer |
getCodeNumber() |
java.lang.String |
getCodeToUpper() |
static PlanState |
getState(java.lang.String status,
java.lang.Integer pstatus) |
java.lang.String |
getText() |
boolean |
isCancelled() |
boolean |
isDraft() |
static PlanState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlanState |
valueOfCode(char code) |
static PlanState |
valueOfCode(java.lang.Integer iCode) |
static PlanState |
valueOfCode(java.lang.Object sCode) |
static PlanState |
valueOfCode(java.lang.String sCode) |
static PlanState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanState NEW
public static final PlanState DRAFT
public static final PlanState PROPOSAL
public static final PlanState APPROVED
public static final PlanState CANCELLED
public static final PlanState DRAFTAPPROVED
public static final PlanState DRAFTCANCELLED
public static final PlanState DRAFTPROPOSAL
public static PlanState[] values()
for (PlanState c : PlanState.values()) System.out.println(c);
public static PlanState 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 static PlanState getState(java.lang.String status, java.lang.Integer pstatus)
public static PlanState valueOfCode(java.lang.Object sCode)
public static PlanState valueOfCode(java.lang.String sCode)
public static PlanState valueOfCode(char code)
public static PlanState valueOfCode(java.lang.Integer iCode)
public boolean isDraft()
public boolean isCancelled()
public java.lang.String getCode()
public java.lang.String getCodeToUpper()
public java.lang.Integer getCodeNumber()
public java.lang.String getText()