wt.part
Class Source

java.lang.Object
  extended by wt.fc.EnumeratedType
      extended by wt.part.Source
All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

public final class Source
extends EnumeratedType
implements Serializable

The Source is an EnumeratedType used to specify that an object is either made internally (MAKE) or purchased (BUY).

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static Source BUY
          BUY indicates that the object is purchased.
static Source BUY_SINGLE_SOURCE
          

Supported API: true
static Source MAKE
          MAKE indicates that an object is made.
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Method Summary
static Source getSourceDefault()
          Returns the default value (instance) for the Source set.
static Source[] getSourceSet()
          Returns a copy of the set of valid values (instances) for the Source class.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static Source toSource(String internal_value)
          Returns the Source 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
 

Field Detail

MAKE

public static final Source MAKE
MAKE indicates that an object is made.

Supported API: true


BUY

public static final Source BUY
BUY indicates that the object is purchased.

Supported API: true


BUY_SINGLE_SOURCE

public static final Source BUY_SINGLE_SOURCE


Supported API: true

Method Detail

toSource

public static Source toSource(String internal_value)
                       throws WTInvalidParameterException
Returns the Source instance for the internal_value argument.

Supported API: true

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

getSourceDefault

public static Source getSourceDefault()
Returns the default value (instance) for the Source set.

Supported API: true

Returns:
Source

getSourceSet

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

Supported API: true

Returns:
Source[]

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