public static enum DtoConstants.DtoState extends Enum<DtoConstants.DtoState>
Enum Constant and Description |
---|
ACTIVE |
APPROVED |
DRAFT |
ENROUTE |
RETIRED |
SAVED |
SUBMITTED |
SUPERSEDED |
SUSPENDED |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsString(String state) |
static DtoConstants.DtoState |
getNextState(String state)
This is used to determine the next state.
|
static String |
getNextStateAsString(String state) |
static DtoConstants.DtoState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DtoConstants.DtoState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtoConstants.DtoState DRAFT
public static final DtoConstants.DtoState SUBMITTED
public static final DtoConstants.DtoState APPROVED
public static final DtoConstants.DtoState ACTIVE
public static final DtoConstants.DtoState SUSPENDED
public static final DtoConstants.DtoState RETIRED
public static final DtoConstants.DtoState SUPERSEDED
public static final DtoConstants.DtoState SAVED
public static final DtoConstants.DtoState ENROUTE
public static DtoConstants.DtoState[] values()
for (DtoConstants.DtoState c : DtoConstants.DtoState.values()) System.out.println(c);
public static DtoConstants.DtoState 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 boolean equalsString(String state)
public static DtoConstants.DtoState getNextState(String state)
state
- public static String getNextStateAsString(String state)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.