wt.projmgmt.admin
Class ProjectCategory

java.lang.Object
  extended by wt.fc.EnumeratedType
      extended by wt.projmgmt.admin.ProjectCategory
All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

public class ProjectCategory
extends EnumeratedType
implements Serializable

ProjectCategory is a specialization of EnumeratedType to provide localizable category values. The localized values for categories are maintained in a resource bundle ProjectCategoryRB, and its locale derivatives

Supported API: true

Extendable: false

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

Field Summary
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Method Summary
static ProjectCategory getProjectCategoryDefault()
          Returns the default value (instance) for the ProjectCategory set.
static ProjectCategory[] getProjectCategorySet()
          Returns a copy of the set of valid values (instances) for the ProjectCategory class.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static ProjectCategory toProjectCategory(String internal_value)
          Returns the ProjectCategory 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
 

Method Detail

toProjectCategory

public static ProjectCategory toProjectCategory(String internal_value)
                                         throws WTInvalidParameterException
Returns the ProjectCategory instance for the internal_value argument.

Supported API: true

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

getProjectCategoryDefault

public static ProjectCategory getProjectCategoryDefault()
Returns the default value (instance) for the ProjectCategory set.

Supported API: true

Returns:
ProjectCategory

getProjectCategorySet

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

Supported API: true

Returns:
ProjectCategory[]

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[]