wt.projmgmt.admin
Class ProjectCategory

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

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

Nested Class Summary
 
Nested classes inherited from class wt.fc.EnumeratedType
 
Field Summary
static ProjectCategory ACCOUNTING
          The Project Category of Accounting

Supported API: false
static ProjectCategory ADMINISTRATION
          The Project Category of Administration

Supported API: false
static ProjectCategory ADVERTISING
          The Project Category of Advertising

Supported API: false
private static String CLASS_RESOURCE
           
private static String CLASSNAME
           
static ProjectCategory CUSTOMER
          The Project Category of Customer

Supported API: false
static ProjectCategory DEFAULT
          The Project Category of Default

Supported API: false
static ProjectCategory ENGINEERING
          The Project Category of Engineering

Supported API: false
static ProjectCategory FACILITIES
          The Project Category of Facilities

Supported API: false
static ProjectCategory FINANCE
          The Project Category of Finance

Supported API: false
static ProjectCategory HUMAN_RESOURCES
          The Project Category of Human Resources

Supported API: false
static ProjectCategory INFORMATION_TECHNOLOGY
          The Project Category of Information Technology

Supported API: false
static ProjectCategory LEGAL
          The Project Category of Legal

Supported API: false
private static Hashtable localeSets
           
static ProjectCategory MANUFACTURING
          The Project Category of Manufacturing

Supported API: false
static ProjectCategory MARKETING
          The Project Category of Marketing

Supported API: false
static ProjectCategory PARTNER
          The Project Category of Partner

Supported API: false
static ProjectCategory PROCUREMENT
          The Project Category of Procurement

Supported API: false
static ProjectCategory QUALITY
          The Project Category of Quality

Supported API: false
static ProjectCategory RESEARCH_DEVELOPMENT
          The Project Category of Research & Development

Supported API: false
private static String RESOURCE
           
static ProjectCategory SALES
          The Project Category of Sales

Supported API: false
static ProjectCategory SERVICE
          The Project Category of Service

Supported API: false
static ProjectCategory SUPPLIER
          The Project Category of Supplier

Supported API: false
static ProjectCategory SUPPORT
          The Project Category of Support

Supported API: false
static ProjectCategory TEMPLATE
          The Project Category of Template

Supported API: false
static ProjectCategory TRAINING
          The Project Category of Training

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 ProjectCategory()
          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 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.
private static EnumeratedType[] initializeLocaleSet(Locale locale)
           
static ProjectCategory newProjectCategory(int secretHandshake)
          Used by EnumeratedType for constructing instances of ProjectCategory, from a resource bundle.
static ProjectCategory toProjectCategory(String internal_value)
          Returns the ProjectCategory 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

DEFAULT

public static final ProjectCategory DEFAULT
The Project Category of Default

Supported API: false


ACCOUNTING

public static final ProjectCategory ACCOUNTING
The Project Category of Accounting

Supported API: false


ADMINISTRATION

public static final ProjectCategory ADMINISTRATION
The Project Category of Administration

Supported API: false


ADVERTISING

public static final ProjectCategory ADVERTISING
The Project Category of Advertising

Supported API: false


CUSTOMER

public static final ProjectCategory CUSTOMER
The Project Category of Customer

Supported API: false


ENGINEERING

public static final ProjectCategory ENGINEERING
The Project Category of Engineering

Supported API: false


FACILITIES

public static final ProjectCategory FACILITIES
The Project Category of Facilities

Supported API: false


FINANCE

public static final ProjectCategory FINANCE
The Project Category of Finance

Supported API: false


HUMAN_RESOURCES

public static final ProjectCategory HUMAN_RESOURCES
The Project Category of Human Resources

Supported API: false


INFORMATION_TECHNOLOGY

public static final ProjectCategory INFORMATION_TECHNOLOGY
The Project Category of Information Technology

Supported API: false


LEGAL

public static final ProjectCategory LEGAL
The Project Category of Legal

Supported API: false


MANUFACTURING

public static final ProjectCategory MANUFACTURING
The Project Category of Manufacturing

Supported API: false


MARKETING

public static final ProjectCategory MARKETING
The Project Category of Marketing

Supported API: false


PARTNER

public static final ProjectCategory PARTNER
The Project Category of Partner

Supported API: false


PROCUREMENT

public static final ProjectCategory PROCUREMENT
The Project Category of Procurement

Supported API: false


QUALITY

public static final ProjectCategory QUALITY
The Project Category of Quality

Supported API: false


RESEARCH_DEVELOPMENT

public static final ProjectCategory RESEARCH_DEVELOPMENT
The Project Category of Research & Development

Supported API: false


SALES

public static final ProjectCategory SALES
The Project Category of Sales

Supported API: false


SERVICE

public static final ProjectCategory SERVICE
The Project Category of Service

Supported API: false


SUPPLIER

public static final ProjectCategory SUPPLIER
The Project Category of Supplier

Supported API: false


SUPPORT

public static final ProjectCategory SUPPORT
The Project Category of Support

Supported API: false


TEMPLATE

public static final ProjectCategory TEMPLATE
The Project Category of Template

Supported API: false


TRAINING

public static final ProjectCategory TRAINING
The Project Category of Training

Supported API: false

Constructor Detail

ProjectCategory

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

Supported API: false

Method Detail

newProjectCategory

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

Supported API: false

Parameters:
secretHandshake -
Returns:
ProjectCategory
Throws:
IllegalAccessException

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

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