Class ContextType

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

public class ContextType extends EnumeratedType implements Serializable
ContextType indicates the Type of the ContextType.

Supported API: true

Extendable: false
See Also:
  • Field Details

    • ContextsIOwn

      public static final ContextType ContextsIOwn
      Static final constant

      Supported API: true
    • ContextsMemberOf

      public static final ContextType ContextsMemberOf
      Static final constant

      Supported API: true
    • ContextsCreated

      public static final ContextType ContextsCreated
      Static final constant

      Supported API: true
    • ContextsAccessTo

      public static final ContextType ContextsAccessTo
      Static final constant

      Supported API: true
    • Selected

      public static final ContextType Selected
      Static final constant

      Supported API: true
  • Method Details

    • toContextType

      public static ContextType toContextType(String internal_value) throws WTInvalidParameterException
      Returns the ContextType instance for the internal_value argument.

      Supported API: true
      Parameters:
      internal_value - The internal (persistent) value for a valid instance of ContextType.
      Returns:
      ContextType
      Throws:
      WTInvalidParameterException
    • getContextType

      public static ContextType getContextType()
      Returns the default value (instance) for the ContextType set.

      Supported API: true
      Returns:
      ContextType
    • getContextTypeSet

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

      Supported API: true
      Returns:
      ContextType[]
    • 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[]