wt.projmgmt.resource
Class AccrualType

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

public class AccrualType
extends EnumeratedType
implements Serializable

The AccrualType class enumerates the various times when the work spent in a resource is accrued. The possibilities are the following:



Supported API: true

Extendable: false

See Also:
CostResource, Serialized Form

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

toAccrualType

public static AccrualType toAccrualType(String internal_value)
                                 throws WTInvalidParameterException
Returns the AccrualType instance for the internal_value argument.

Supported API: true

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

getAccrualTypeDefault

public static AccrualType getAccrualTypeDefault()
Returns the default value (instance) for the AccrualType set.

Supported API: true

Returns:
AccrualType

getAccrualTypeSet

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

Supported API: true

Returns:
AccrualType[]

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