wt.change2
Class Category

java.lang.Object
  extended bywt.fc.EnumeratedType
      extended bywt.change2.Category
All Implemented Interfaces:
EnumeratedType, LocalizableMessage, LocalizableMetadata, Message, Serializable

public class Category
extends EnumeratedType
implements Serializable

Category indicates the category of the WTChangeRequest2.

Supported API: true

Extendable: false

See Also:
WTChangeRequest2, Serialized Form

Nested Class Summary
 
Nested classes inherited from class wt.fc.EnumeratedType
 
Field Summary
private static String CLASS_RESOURCE
           
private static String CLASSNAME
           
static Category COST_REDUCTION
          Opportunity to reduce costs.
static Category DESIGN_ISSUE
          Design needs improvement.
static Category DOCUMENTATION_ISSUE
          Documentation issue

Supported API: true
private static Hashtable localeSets
           
static Category OTHER
          Catch all for other issues.
static Category PRODUCT_IMPROVEMENT
          Improvement to the product.
static Category QUALITY_IMPROVEMENT
          Quality needs improvement.
private static String RESOURCE
           
static Category SAFETY_ISSUE
          Affects safety.
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 Category()
          Used by sub-classes that need a default constructor.
 
Method Summary
static Category getCategoryDefault()
          Returns the default value (instance) for the Category set.
static Category[] getCategorySet()
          Returns a copy of the set of valid values (instances) for the Category class.
protected  EnumeratedType[] getLocaleSet(Locale locale)
          Returns the set of values (instances) for this instance, for the specified locale.
 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 Category newCategory(int secretHandshake)
          Used by EnumeratedType for constructing instances of Category, from a resource bundle.
static Category toCategory(String internal_value)
          Returns the Category 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

SAFETY_ISSUE

public static final Category SAFETY_ISSUE
Affects safety.

Supported API: true


COST_REDUCTION

public static final Category COST_REDUCTION
Opportunity to reduce costs.

Supported API: true


DESIGN_ISSUE

public static final Category DESIGN_ISSUE
Design needs improvement.

Supported API: true


QUALITY_IMPROVEMENT

public static final Category QUALITY_IMPROVEMENT
Quality needs improvement.

Supported API: true


DOCUMENTATION_ISSUE

public static final Category DOCUMENTATION_ISSUE
Documentation issue

Supported API: true


PRODUCT_IMPROVEMENT

public static final Category PRODUCT_IMPROVEMENT
Improvement to the product.

Supported API: true


OTHER

public static final Category OTHER
Catch all for other issues.

Supported API: true

Constructor Detail

Category

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

Supported API: false

Method Detail

newCategory

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

Supported API: false

Parameters:
secretHandshake -
Returns:
Category
Throws:
IllegalAccessException

toCategory

public static Category toCategory(String internal_value)
                           throws WTInvalidParameterException
Returns the Category instance for the internal_value argument.

Supported API: true

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

getCategoryDefault

public static Category getCategoryDefault()
Returns the default value (instance) for the Category set.

Supported API: true

Returns:
Category

getCategorySet

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

Supported API: true

Returns:
Category[]

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