wt.clients.prodmgmt
Class AllocatedPartItem
java.lang.Object
wt.clients.beans.explorer.WTBusinessObject
wt.clients.prodmgmt.PartItem
wt.clients.prodmgmt.ConfiguredPartItem
wt.clients.prodmgmt.AllocatedPartItem
- All Implemented Interfaces:
- Explorable, Identifiable, ReferenceHolder, Serializable
- public class AllocatedPartItem
- extends ConfiguredPartItem
PartItem
is a model class for manipulating WTPart objects.
It contains helper methods for manipulating attributes and relationships
of the WTPart class.
It extends wt.clients.beans.WTBusinessObject to allow easy manipulation in the
wt.clients.beans.WTExplorer.
Supported API: false
Extendable: false
- See Also:
WTPart
,
Serialized Form
Fields inherited from class wt.clients.prodmgmt.PartItem |
|
Methods inherited from class wt.clients.prodmgmt.ConfiguredPartItem |
getConfigurationItem, getOverride, getParentItem, getPathOccurrence, getUsesOccurrence, setConfigurationItem, setOverride, setParentItem, setPathOccurrence, setProductConfiguration, setUsesOccurrence |
Methods inherited from class wt.clients.prodmgmt.PartItem |
create, delete, dispatchRefresh, getBuildRule, getConfigSpecItem, getConfigurationSpec, getCreatedByPersonName, getCreationDate, getDefaultUnit, getDisplayIdentity, getExplorer, getFolder, getIdentity, getIteration, getIterationIdentifier, getLastUpdated, getLastUpdatedDate, getLifecycleName, getLifeCycleTemplateRef, getLocation, getModifiedByPersonName, getName, getNumber, getOrganization, getOrganizationUniqueId, getPart, getReferences, getResource, getRevision, getSource, getState, getStatusText, getTeamTemplateName, getTeamTemplateRef, getType, getUniqueIdentity, getUsedBy, getUsesInterfaceList, getVersion, getView, getViewName, init, isModified, isNew, isOccurrenceMode, setConfigSpecItem, setConfigurationSpec, setDefaultUnit, setExplorer, setFields, setFolder, setIteration, setLifeCycleTemplateRef, setLocation, setModified, setName, setNew, setNumber, setOrganization, setPart, setPartSimply, setRevision, setSource, setState, setStatusText, setTeamTemplateRef, setType, setView, setViewName, toString, update |
Methods inherited from class wt.clients.beans.explorer.WTBusinessObject |
getAttributeValue, getAttributeValue, getContents, getObject, getOpenIcon, getStandardIcon, setIdentity, setObject, setObject, setStandardIcon, setStandardIcon |
instance
InstanceItem instance
snPartInstance
WTSerialNumberedPartInstance snPartInstance
snMapping
SerialNumberMapping snMapping
AllocatedPartItem
public AllocatedPartItem()
throws WTException
- Constructs a new AllocatedPartItem.
- Throws:
WTException
AllocatedPartItem
public AllocatedPartItem(WTPart part)
- Constructs a new AllocatedPartItem.
- Parameters:
part
- the contained wt.part.WTPart.- See Also:
WTPart
setInstanceItem
public void setInstanceItem(InstanceItem instance)
- Sets the product configuration for this product.
setProductInstance
public void setProductInstance(WTProductInstance2 instance)
- Sets the product configuration for this product.
getInstanceItem
public InstanceItem getInstanceItem()
- Returns the product configuration for this product.
setSNPartInstance
public void setSNPartInstance(WTSerialNumberedPartInstance sn_part_instance)
getSNPartInstance
public WTSerialNumberedPartInstance getSNPartInstance()
setSNMapping
public void setSNMapping(SerialNumberMapping sn_mapping)
getSNMapping
public SerialNumberMapping getSNMapping()
getUses
public Explorable[] getUses()
throws WTException
- Returns an array of Explorable objects this PartItem uses.
- Specified by:
getUses
in interface Explorable
- Overrides:
getUses
in class ConfiguredPartItem
- Returns:
- an array of Explorable objects this PartItem uses.
- Throws:
WTException