|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.EnumeratedType
wt.lifecycle.State
public class State
State is a specialization of EnumeratedType to provide localizable
state values. The localized values for states are maintained in a resource
bundle StateRB, and its locale derivatives
Released is a required state.
Supported API: true
Extendable: false
EnumeratedType,
wt.lifecycle.StateRB,
Serialized Form| Field Summary | |
|---|---|
static State |
INWORK
Static final constant Supported API: true |
static State |
RELEASED
Static final constant Supported API: true |
static State |
UNDERREVIEW
Static final constant Supported API: true |
| Fields inherited from interface wt.meta.EnumeratedType |
|---|
DEFAULT_VALUE, ORDER, SELECTABLE |
| Method Summary | |
|---|---|
static State |
getStateDefault()
Returns the default value (instance) for the State set. |
static State[] |
getStateSet()
Returns a copy of the set of valid values (instances) for the State class. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
static State |
toState(String internal_value)
Returns the State instance for the internal_value argument. |
| Methods inherited from class wt.fc.EnumeratedType |
|---|
equals, getAbbreviatedDisplay, getDisplay, getDisplay, getFullDisplay, getLocalizedMessage, getLongDescription, getOrder, getSelectableValueSet, getShortDescription, getStringValue, getStringValue, hashCode, isDefaultValue, isDefaultValue, isSelectable, main, toEnumeratedType, toEnumeratedType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final State INWORK
public static final State UNDERREVIEW
public static final State RELEASED
| Method Detail |
|---|
public static State toState(String internal_value)
throws WTInvalidParameterException
internal_value - The internal (persistent) value for a valid instance of State.
WTInvalidParameterExceptionpublic static State getStateDefault()
public static State[] getStateSet()
public EnumeratedType[] getValueSet()
getValueSet in class EnumeratedType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||