|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.prodmgmt.UsageItem
wt.clients.prodmgmt.ConfiguredUsageItem
ConfiguredUsageItem is a model class for manipulating WTPartUsageLinks.
ConfiguredUsageItem implements the wt.explorer.Explorable interface to allow for use in the WTExplorer.
It contains many methods which it delegates to the contained uses Part Item to allow for easy integration with the PartExplorer.
Supported API: false
Extendable: false
WTExplorer
,
PartItem
,
PartExplorer
,
WTPartUsageLink
Field Summary | |
private PartUsesOccurrence |
occurrence
|
Fields inherited from class wt.clients.prodmgmt.UsageItem |
df |
Constructor Summary | |
ConfiguredUsageItem()
Create an empty usage item. |
|
ConfiguredUsageItem(PartItem uses,
PartItem usedBy)
Create a usage item between the specified part items. |
|
ConfiguredUsageItem(PartItem uses,
PartItem usedBy,
WTPartUsageLink usage_link)
Create a usage item between the specified part items using the specified usage link. |
|
ConfiguredUsageItem(PartItem uses,
PartItem usedBy,
WTPartUsageLink usage_link,
PartUsesOccurrence occurrence)
Create a usage item between the specified part items using the specified usage link. |
Method Summary | |
PartUsesOccurrence |
getOccurrence()
Return the occurrenct of the uses part item |
String |
getOccurrenceName()
Return the view name of the uses part item |
void |
setOccurrence(PartUsesOccurrence occurrence)
Sett the view of the uses part item |
Methods inherited from class wt.clients.prodmgmt.UsageItem |
create, delete, getContents, getDecimalFormat, getId, getIdentity, getLastUpdatedDate, getLineNumber, getLineNumberString, getName, getNumber, getObject, getOpenIcon, getOrganizationUniqueId, getPartUsageLink, getQuantity, getQuantityString, getReferenceDesignator, getRevision, getStandardIcon, getState, getType, getUniqueIdentity, getUnitName, getUnits, getUsedBy, getUses, getUsesPart, getVersion, getView, getViewName, isModified, setLineNumber, setModified, setObject, setPartUsageLink, setQuantity, setUnit, setUsedBy, setUses, toString, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private PartUsesOccurrence occurrence
Constructor Detail |
public ConfiguredUsageItem()
public ConfiguredUsageItem(PartItem uses, PartItem usedBy)
uses
- the uses partusedBy
- the usedBy partpublic ConfiguredUsageItem(PartItem uses, PartItem usedBy, WTPartUsageLink usage_link)
uses
- the uses partusedBy
- the usedBy partusage_link
- the actual usage linkpublic ConfiguredUsageItem(PartItem uses, PartItem usedBy, WTPartUsageLink usage_link, PartUsesOccurrence occurrence)
uses
- the uses partusedBy
- the usedBy partusage_link
- the actual usage linkoccurrence
- the part occurrenceMethod Detail |
public void setOccurrence(PartUsesOccurrence occurrence)
public PartUsesOccurrence getOccurrence()
public String getOccurrenceName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |