wt.part
Class PartUsageInfo
java.lang.Object
wt.part.PartUsageInfo
- All Implemented Interfaces:
- Externalizable, Serializable
public class PartUsageInfo
- extends Object
- implements Externalizable
Represents usage information identified for export by the retrieveBomInformation
and retrieveBOMDifferences methods of the WTPartService.
Supported API: true
Extendable: false
- See Also:
- Serialized Form
|
Method Summary |
protected void |
consolidate(PartUsageInfo info)
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
LineNumber |
getLineNumber()
Gets the value of the attribute: lineNumber; The line number associated
with this part usage. |
WTPartMaster |
getPartMaster()
Gets the value of the attribute: partMaster; The part master associated
with this part usage. |
Quantity |
getQuantity()
Gets the value of the attribute: quantity; The quantity associated
with this part usage. |
Enumeration |
getRefDesAdditions()
Gets the value of the attribute: refDesAdditions; Represent the reference
designators that are being added to this part usage. |
Enumeration |
getRefDesDeletions()
Gets the value of the attribute: refDesDeletions; Represent the reference
designators that are being removed to this part usage. |
Enumeration |
getSubstPartsAdditions()
Gets the value of the attribute: substPartsAdditions; Represent the
substitute parts that are being added to this part usage. |
Enumeration |
getSubstPartsCommons()
Gets the value of the attribute: substPartsCommons; Represent the
substitute parts that are common to the part usages compared. |
Enumeration |
getSubstPartsDeletions()
Gets the value of the attribute: substPartsDeletions; Represent the
substitute parts that are being removed to this part usage. |
protected void |
initialize(WTPartUsageLink partUsageLink)
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
protected boolean |
isDifferent(PartUsageInfo info)
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
protected void |
processForAdd()
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
protected void |
processForChange()
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
protected void |
processForDelete()
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
protected void |
processForNoChange()
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
protected void |
processForReplace()
This method is intended to be overriden by a customizer that extends
PartUsageInfo. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPartMaster
public WTPartMaster getPartMaster()
- Gets the value of the attribute: partMaster; The part master associated
with this part usage.
Supported API: true
- Returns:
- WTPartMaster
getLineNumber
public LineNumber getLineNumber()
- Gets the value of the attribute: lineNumber; The line number associated
with this part usage. Set to null if the usage is not assigned a
line number.
Supported API: true
- Returns:
- LineNumber
getQuantity
public Quantity getQuantity()
- Gets the value of the attribute: quantity; The quantity associated
with this part usage. A null quantity indicates no quantity change
when used to indicate difference between two versions of a part.
Supported API: true
- Returns:
- Quantity
getRefDesAdditions
public Enumeration getRefDesAdditions()
- Gets the value of the attribute: refDesAdditions; Represent the reference
designators that are being added to this part usage. The value is
null if there are no reference designators being added.
Supported API: true
- Returns:
- Enumeration
getRefDesDeletions
public Enumeration getRefDesDeletions()
- Gets the value of the attribute: refDesDeletions; Represent the reference
designators that are being removed to this part usage. The value
is null if there are no reference designators being removed.
Supported API: true
- Returns:
- Enumeration
getSubstPartsAdditions
public Enumeration getSubstPartsAdditions()
- Gets the value of the attribute: substPartsAdditions; Represent the
substitute parts that are being added to this part usage. The value
is null if there are no substitute parts being added.
Supported API: true
- Returns:
- Enumeration
getSubstPartsDeletions
public Enumeration getSubstPartsDeletions()
- Gets the value of the attribute: substPartsDeletions; Represent the
substitute parts that are being removed to this part usage. The value
is null if there are no substitute parts being removed.
Supported API: true
- Returns:
- Enumeration
getSubstPartsCommons
public Enumeration getSubstPartsCommons()
- Gets the value of the attribute: substPartsCommons; Represent the
substitute parts that are common to the part usages compared. The
value is null if there are no substitute parts that are common.
Supported API: true
- Returns:
- Enumeration
initialize
protected void initialize(WTPartUsageLink partUsageLink)
throws WTException
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is available if initialization is required
for this object once it has been constructed. The customizer must
invoke this method for the superclass as its first statement.
Supported API: true
- Parameters:
partUsageLink -
- Throws:
WTException
consolidate
protected void consolidate(PartUsageInfo info)
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is used to consolidate any attributes defined
for a subclass of PartUsageInfo. The customizer must invoke this
method for the superclass as its first statement.
Supported API: true
- Parameters:
info -
isDifferent
protected boolean isDifferent(PartUsageInfo info)
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is available to determine whether this
PartUsageInfo is different when compared to the given PartUsageInfo
object passed as an arguement. The customizer must invoke this method
for the superclass as its first statement.
Supported API: true
- Parameters:
info -
- Returns:
- boolean
processForAdd
protected void processForAdd()
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is available should the information stored
in this object need to be processed in the event that the part usage
is for a BOM item addition. The customizer must invoke this method
for the superclass as its first statement.
Supported API: true
processForReplace
protected void processForReplace()
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is available should the information stored
in this object need to be processed in the event that the part usage
is for a BOM item replace. The customizer must invoke this method
for the superclass as its first statement.
Supported API: true
processForChange
protected void processForChange()
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is available should the information stored
in this object need to be processed in the event that the part usage
is for a BOM item change. The customizer must invoke this method
for the superclass as its first statement.
Supported API: true
processForDelete
protected void processForDelete()
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is available should the information stored
in this object need to be processed in the event that the part usage
is for a BOM item delete. The customizer must invoke this method
for the superclass as its first statement.
Supported API: true
processForNoChange
protected void processForNoChange()
- This method is intended to be overriden by a customizer that extends
PartUsageInfo. The method is available should the information stored
in this object need to be processed in the event that the part usage
is for a BOM item without changes. The customizer must invoke this
method for the superclass as its first statement.
Supported API: true