|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.EnumeratedType
wt.projmgmt.admin.ProjectState
ProjectState is a specialization of EnumeratedType
to provide
localizable state values. The localized values for project state are
maintained in a resource bundle ProjectStateRB
, and its
locale derivatives
Supported API: false
Extendable: false
EnumeratedType
,
wt.projmgmt.admin.ProjectStateRB
,
Serialized FormNested Class Summary |
Nested classes inherited from class wt.fc.EnumeratedType |
|
Field Summary | |
static ProjectState |
CANCELLED
The Project State of Cancelled Supported API: false |
private static String |
CLASS_RESOURCE
|
private static String |
CLASSNAME
|
static ProjectState |
COMPLETED
The Project State of Completed Supported API: false |
static ProjectState |
DEFINED
The Project State of Defined Supported API: false |
static ProjectState |
DELETED
Supported API: false |
private static Hashtable |
localeSets
|
private static String |
RESOURCE
|
static ProjectState |
RUNNING
The Project State of Running Supported API: false |
static ProjectState |
SUSPENDED
The Project State of Suspended Supported API: false |
private static EnumeratedType[] |
valueSet
|
Fields inherited from class wt.fc.EnumeratedType |
secretHandshake, SEP_CHAR |
Fields inherited from interface wt.meta.EnumeratedType |
DEFAULT_VALUE, ORDER, SELECTABLE |
Constructor Summary | |
protected |
ProjectState()
Used by sub-classes that need a default constructor. |
Method Summary | |
ContainerTeamManagedState |
asCtmState()
Returns the {@link wt.inf.team.ContainerTeamManagedState) project state that corresponds to the object. |
protected EnumeratedType[] |
getLocaleSet(Locale locale)
Returns the set of values (instances) for this instance, for the specified locale. |
static ProjectState |
getProjectState(ContainerTeamManagedState ctm_state)
Returns the project state that corresponds to the {@link wt.inf.team.ContainerTeamManagedState) passed as argument. |
static ProjectState |
getProjectStateDefault()
Returns the default value (instance) for the ProjectState set. |
static ProjectState[] |
getProjectStateSet()
Returns a copy of the set of valid values (instances) for the ProjectState class. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
private static EnumeratedType[] |
initializeLocaleSet(Locale locale)
|
static ProjectState |
newProjectState(int secretHandshake)
Used by EnumeratedType for constructing instances of ProjectState, from a resource bundle. |
static ProjectState |
toProjectState(String internal_value)
Returns the ProjectState instance for the internal_value argument. |
protected EnumeratedType[] |
valueSet()
Returns a reference to the set of valid values (instances) for this instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String CLASS_RESOURCE
private static final EnumeratedType[] valueSet
private static Hashtable localeSets
public static final ProjectState DEFINED
public static final ProjectState RUNNING
public static final ProjectState COMPLETED
public static final ProjectState SUSPENDED
public static final ProjectState CANCELLED
public static final ProjectState DELETED
Constructor Detail |
protected ProjectState()
Method Detail |
public static ProjectState newProjectState(int secretHandshake) throws IllegalAccessException
secretHandshake
-
IllegalAccessException
public static ProjectState toProjectState(String internal_value) throws WTInvalidParameterException
internal_value
- The internal (persistent) value for a valid instance of ProjectState.
WTInvalidParameterException
public static ProjectState getProjectStateDefault()
public static ProjectState[] getProjectStateSet()
public EnumeratedType[] getValueSet()
getValueSet
in class EnumeratedType
protected EnumeratedType[] valueSet()
valueSet
in class EnumeratedType
protected EnumeratedType[] getLocaleSet(Locale locale)
getLocaleSet
in class EnumeratedType
locale
-
private static EnumeratedType[] initializeLocaleSet(Locale locale) throws Throwable
locale
-
Throwable
public ContainerTeamManagedState asCtmState()
public static ProjectState getProjectState(ContainerTeamManagedState ctm_state)
ctm_state
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |