wt.clients.prodmgmt
Class ConfiguredPartItem

java.lang.Object
  extended bywt.clients.beans.explorer.WTBusinessObject
      extended bywt.clients.prodmgmt.PartItem
          extended bywt.clients.prodmgmt.ConfiguredPartItem
All Implemented Interfaces:
Explorable, Identifiable, ReferenceHolder, Serializable
Direct Known Subclasses:
AllocatedPartItem

public class ConfiguredPartItem
extends PartItem

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

Field Summary
(package private)  ConfigurationItem configuration
           
(package private)  BaselineConfigurationOverride override
           
(package private)  WTBusinessObject parentItem
           
(package private)  PathOccurrence pathOccurrence
           
(package private)  UsesOccurrence usesOccurrence
           
 
Fields inherited from class wt.clients.prodmgmt.PartItem
 
Fields inherited from class wt.clients.beans.explorer.WTBusinessObject
 
Constructor Summary
ConfiguredPartItem()
          Constructs a new ConfiguredPartItem.
ConfiguredPartItem(WTPart part)
          Constructs a new ConfiguredPartItem.
 
Method Summary
 ConfigurationItem getConfigurationItem()
          Returns the product configuration for this product.
 BaselineConfigurationOverride getOverride()
          Gets the override for this product.
 WTBusinessObject getParentItem()
          Gets the parent path occurrence for this product.
 PathOccurrence getPathOccurrence()
          Gets the product path occurrence for this product.
 Explorable[] getUses()
          Returns an array of Explorable objects this PartItem uses.
 UsesOccurrence getUsesOccurrence()
          Gets the product uses occurrence for this product.
 void setConfigurationItem(ConfigurationItem configuration)
          Sets the product configuration for this product.
 void setOverride(BaselineConfigurationOverride override)
          Sets the override for this product.
 void setParentItem(WTBusinessObject parent_item)
          Sets the parent path occurrence for this product.
 void setPathOccurrence(PathOccurrence path_occurrence)
          Sets the product path occurrence for this product.
 void setProductConfiguration(WTProductConfiguration configuration)
          Sets the product configuration for this product.
 void setUsesOccurrence(UsesOccurrence uses_occurrence)
          Sets the product path occurrence for this product.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

configuration

ConfigurationItem configuration

parentItem

WTBusinessObject parentItem

pathOccurrence

PathOccurrence pathOccurrence

usesOccurrence

UsesOccurrence usesOccurrence

override

BaselineConfigurationOverride override
Constructor Detail

ConfiguredPartItem

public ConfiguredPartItem()
                   throws WTException
Constructs a new ConfiguredPartItem.

Throws:
WTException

ConfiguredPartItem

public ConfiguredPartItem(WTPart part)
Constructs a new ConfiguredPartItem.

Parameters:
part - the contained wt.part.WTPart.
See Also:
WTPart
Method Detail

setConfigurationItem

public void setConfigurationItem(ConfigurationItem configuration)
Sets the product configuration for this product.

Parameters:
configuration - the ConfigurationItem.

setProductConfiguration

public void setProductConfiguration(WTProductConfiguration configuration)
Sets the product configuration for this product.

Parameters:
configuration - the ConfigurationItem.

getConfigurationItem

public ConfigurationItem getConfigurationItem()
Returns the product configuration for this product.


setPathOccurrence

public void setPathOccurrence(PathOccurrence path_occurrence)
Sets the product path occurrence for this product.

See Also:
WTProductConfiguration

getPathOccurrence

public PathOccurrence getPathOccurrence()
Gets the product path occurrence for this product.

See Also:
WTProductConfiguration

setParentItem

public void setParentItem(WTBusinessObject parent_item)
Sets the parent path occurrence for this product.

See Also:
WTProductConfiguration

getParentItem

public WTBusinessObject getParentItem()
Gets the parent path occurrence for this product.

See Also:
WTProductConfiguration

setUsesOccurrence

public void setUsesOccurrence(UsesOccurrence uses_occurrence)
Sets the product path occurrence for this product.

See Also:
WTProductConfiguration

getUsesOccurrence

public UsesOccurrence getUsesOccurrence()
Gets the product uses occurrence for this product.

See Also:
WTProductConfiguration

setOverride

public void setOverride(BaselineConfigurationOverride override)
Sets the override for this product.

See Also:
WTProductConfiguration

getOverride

public BaselineConfigurationOverride getOverride()
Gets the override for this product.

See Also:
WTProductConfiguration

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 PartItem
Returns:
an array of Explorable objects this PartItem uses.
Throws:
WTException