com.ptc.windchill.suma.axl
Class AXLPreference

java.lang.Object
  extended by wt.fc.EnumeratedType
      extended by com.ptc.windchill.suma.axl.AXLPreference
All Implemented Interfaces:
Serializable, Comparable, EnumeratedType, LocalizableMetadata, LocalizableMessage, Message

public final class AXLPreference
extends EnumeratedType

Enumerated type that represents approval status of oem or supplier parts. AXLEntry has two int attributes amlPreference and avlPreference that correspond to the order attribute of AXLPreference. It is important that the order attribute of AXLPreference entries are not changed once AML/AVL data had been created because these values are persisted in database and changes to these values in the rInfo file may result in undesirable result.

Supported API: true

Extendable: false

See Also:
Serialized Form

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

toAXLPreference

public static AXLPreference toAXLPreference(String internal_value)
                                     throws WTInvalidParameterException
Returns the AXLPreference instance for the internal_value argument.

Supported API: true

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

getAXLPreferenceDefault

public static AXLPreference getAXLPreferenceDefault()
Returns the default value (instance) for the AXLPreference set.

Supported API: true

Returns:
AXLPreference

getAXLPreferenceSet

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

Supported API: true

Returns:
AXLPreference[]

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