wt.projmgmt.resource
Class CalendarType

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

public class CalendarType
extends EnumeratedType
implements Serializable

The CalendarType class enumerates the possible time constraints for person resources. For example, how many hours per day, from which hour to which hour, which days are worked, etc, The possibilities are the following:

Not exposed in Netmarkets 1.0/Windchill 6.0.

Supported API: true

Extendable: false

See Also:
PersonResource, Serialized Form

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

toCalendarType

public static CalendarType toCalendarType(String internal_value)
                                   throws WTInvalidParameterException
Returns the CalendarType instance for the internal_value argument.

Supported API: true

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

getCalendarTypeDefault

public static CalendarType getCalendarTypeDefault()
Returns the default value (instance) for the CalendarType set.

Supported API: true

Returns:
CalendarType

getCalendarTypeSet

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

Supported API: true

Returns:
CalendarType[]

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