wt.configuration
Class TraceCode

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

public final class TraceCode
extends EnumeratedType
implements Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static TraceCode LOT_NUMBER
          Indicates that the object should be traced via a lot number.
static TraceCode LOT_SERIAL_NUMBER
          Indicates that the object should be traced via a lot/serial number.
static TraceCode SERIAL_NUMBER
          Indicates that the object should be traced via a serial number.
static TraceCode UNTRACED
          Indicates that the object should not be traced.
 
Fields inherited from interface wt.meta.EnumeratedType
DEFAULT_VALUE, ORDER, SELECTABLE
 
Method Summary
static TraceCode getTraceCodeDefault()
          Returns the default value (instance) for the TraceCode set.
static TraceCode[] getTraceCodeSet()
          Returns a copy of the set of valid values (instances) for the TraceCode class.
 EnumeratedType[] getValueSet()
          Returns a copy of the set of valid values (instances) for this instance, for the current user locale.
static TraceCode toTraceCode(String internal_value)
          Returns the TraceCode 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

UNTRACED

public static final TraceCode UNTRACED
Indicates that the object should not be traced.

Supported API: true


SERIAL_NUMBER

public static final TraceCode SERIAL_NUMBER
Indicates that the object should be traced via a serial number.

Supported API: true


LOT_NUMBER

public static final TraceCode LOT_NUMBER
Indicates that the object should be traced via a lot number.

Supported API: true


LOT_SERIAL_NUMBER

public static final TraceCode LOT_SERIAL_NUMBER
Indicates that the object should be traced via a lot/serial number.

Supported API: true

Method Detail

toTraceCode

public static TraceCode toTraceCode(String internal_value)
                             throws WTInvalidParameterException
Returns the TraceCode instance for the internal_value argument.

Supported API: true

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

getTraceCodeDefault

public static TraceCode getTraceCodeDefault()
Returns the default value (instance) for the TraceCode set.

Supported API: true

Returns:
TraceCode

getTraceCodeSet

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

Supported API: true

Returns:
TraceCode[]

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