wt.projmgmt.admin
Class ProjectPhase

java.lang.Object
  extended bywt.fc.EnumeratedType
      extended bywt.projmgmt.admin.ProjectPhase
All Implemented Interfaces:
EnumeratedType, LocalizableMessage, LocalizableMetadata, Message, Serializable

public class ProjectPhase
extends EnumeratedType
implements Serializable

ProjectPhase is a specialization of EnumeratedType to provide localizable phase values. The localized values for phase are maintained in a resource bundle ProjectPhaseRB, and its locale derivatives

Supported API: true

Extendable: false

See Also:
EnumeratedType, wt.projmgmt.admin.ProjectPhaseRB, Serialized Form

Nested Class Summary
 
Nested classes inherited from class wt.fc.EnumeratedType
 
Field Summary
static ProjectPhase ASSIGNMENT
          The Project Phase of Assignment

Supported API: false
static ProjectPhase CANCELLED
          The Project Phase of Cancelled

Supported API: false
private static String CLASS_RESOURCE
           
private static String CLASSNAME
           
static ProjectPhase COMPLETED
          The Project Phase of Completed

Supported API: false
static ProjectPhase DEVELOPMENT
          The Project Phase of Development

Supported API: false
static ProjectPhase KICKOFF
          The Project Phase of Kickoff

Supported API: false
private static Hashtable localeSets
           
static ProjectPhase PLANNING
          The Project Phase of Planning

Supported API: false
static ProjectPhase POSTMORTEM
          The Project Phase of Post Mortem

Supported API: false
private static String RESOURCE
           
static ProjectPhase SCOPING
          The Project Phase of Scoping

Supported API: false
private static EnumeratedType[] valueSet
           
static ProjectPhase WRAPUP
          The Project Phase of Wrap Up

Supported API: false
 
Fields inherited from class wt.fc.EnumeratedType
secretHandshake, SEP_CHAR
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Constructor Summary
protected ProjectPhase()
          Used by sub-classes that need a default constructor.
 
Method Summary
protected  EnumeratedType[] getLocaleSet(Locale locale)
          Returns the set of values (instances) for this instance, for the specified locale.
static ProjectPhase getProjectPhaseDefault()
          Returns the default value (instance) for the ProjectPhase set.
static ProjectPhase[] getProjectPhaseSet()
          Returns a copy of the set of valid values (instances) for the ProjectPhase 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 ProjectPhase newProjectPhase(int secretHandshake)
          Used by EnumeratedType for constructing instances of ProjectPhase, from a resource bundle.
static ProjectPhase toProjectPhase(String internal_value)
          Returns the ProjectPhase 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 wt.fc.EnumeratedType
defaultEnumeratedType, dynamicInstance, equals, getAbbreviatedDisplay, getComment, getComment, getDisplay, getDisplay, getFullDisplay, getInternalKey, getLocalizedMessage, getLocalizedValues, getLongDescription, getOrder, getSelectableValueSet, getShortDescription, getShortDescription, getStringValue, getStringValue, getValidSet, getValue, hashCode, instantiateSet, isDefaultValue, isDefaultValue, isPrimaryKey, isSelectable, main, readResolve, toEnumeratedType, toEnumeratedType, toEnumeratedType, toString, validateFriendship
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

CLASS_RESOURCE

private static final String CLASS_RESOURCE
See Also:
Constant Field Values

valueSet

private static final EnumeratedType[] valueSet

localeSets

private static Hashtable localeSets

KICKOFF

public static final ProjectPhase KICKOFF
The Project Phase of Kickoff

Supported API: false


SCOPING

public static final ProjectPhase SCOPING
The Project Phase of Scoping

Supported API: false


PLANNING

public static final ProjectPhase PLANNING
The Project Phase of Planning

Supported API: false


ASSIGNMENT

public static final ProjectPhase ASSIGNMENT
The Project Phase of Assignment

Supported API: false


DEVELOPMENT

public static final ProjectPhase DEVELOPMENT
The Project Phase of Development

Supported API: false


WRAPUP

public static final ProjectPhase WRAPUP
The Project Phase of Wrap Up

Supported API: false


COMPLETED

public static final ProjectPhase COMPLETED
The Project Phase of Completed

Supported API: false


POSTMORTEM

public static final ProjectPhase POSTMORTEM
The Project Phase of Post Mortem

Supported API: false


CANCELLED

public static final ProjectPhase CANCELLED
The Project Phase of Cancelled

Supported API: false

Constructor Detail

ProjectPhase

protected ProjectPhase()
Used by sub-classes that need a default constructor.

Supported API: false

Method Detail

newProjectPhase

public static ProjectPhase newProjectPhase(int secretHandshake)
                                    throws IllegalAccessException
Used by EnumeratedType for constructing instances of ProjectPhase, from a resource bundle.

Supported API: false

Parameters:
secretHandshake -
Returns:
ProjectPhase
Throws:
IllegalAccessException

toProjectPhase

public static ProjectPhase toProjectPhase(String internal_value)
                                   throws WTInvalidParameterException
Returns the ProjectPhase instance for the internal_value argument.

Supported API: true

Parameters:
internal_value - The internal (persistent) value for a valid instance of ProjectPhase.
Returns:
ProjectPhase
Throws:
WTInvalidParameterException

getProjectPhaseDefault

public static ProjectPhase getProjectPhaseDefault()
Returns the default value (instance) for the ProjectPhase set.

Supported API: true

Returns:
ProjectPhase

getProjectPhaseSet

public static ProjectPhase[] getProjectPhaseSet()
Returns a copy of the set of valid values (instances) for the ProjectPhase class.

Supported API: true

Returns:
ProjectPhase[]

getValueSet

public EnumeratedType[] getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale.

Supported API: true

Specified by:
getValueSet in class EnumeratedType
Returns:
EnumeratedType[]

valueSet

protected EnumeratedType[] valueSet()
Returns a reference to the set of valid values (instances) for this instance.

Supported API: false

Specified by:
valueSet in class EnumeratedType
Returns:
EnumeratedType[]

getLocaleSet

protected EnumeratedType[] getLocaleSet(Locale locale)
Returns the set of values (instances) for this instance, for the specified locale.

Supported API: false

Specified by:
getLocaleSet in class EnumeratedType
Parameters:
locale -
Returns:
EnumeratedType[]

initializeLocaleSet

private static EnumeratedType[] initializeLocaleSet(Locale locale)
                                             throws Throwable
Parameters:
locale -
Returns:
EnumeratedType[]
Throws:
Throwable