|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.part.PartUsageInfo
Represents usage information identified for export by the retrieveBomInformation
and retrieveBOMDifferences methods of the WTPartService.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static ApplicationContextServices |
delegateFactory
|
static long |
EXTERNALIZATION_VERSION_UID
|
private boolean |
hasQuantityChanged
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private Quantity |
orgQuantity
|
private WTPartUsageLink |
partUsageLink
|
private Enumeration |
refDesAdditions
|
private Enumeration |
refDesDeletions
|
private Vector |
refDesItems
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private Vector |
substParts
|
private Enumeration |
substPartsAdditions
|
private Enumeration |
substPartsCommons
|
private Enumeration |
substPartsDeletions
|
Constructor Summary | |
PartUsageInfo()
|
Method Summary | |
protected static Hashtable |
buildHashtable(WTPart part,
boolean ignoreLineNumbers)
|
protected void |
clearQuantity()
|
protected void |
consolidate(PartUsageInfo info)
This method is intended to be overriden by a customizer that extends PartUsageInfo. |
protected boolean |
diffQuantity(PartUsageInfo info)
|
protected boolean |
diffRefDes(PartUsageInfo info)
|
protected boolean |
diffSubstParts(PartUsageInfo info)
|
protected Object |
getKey()
|
LineNumber |
getLineNumber()
Gets the value of the attribute: lineNumber; The line number associated with this part usage. |
Quantity |
getOrgQuantity()
|
WTPartMaster |
getPartMaster()
Gets the value of the attribute: partMaster; The part master associated with this part usage. |
protected WTPartUsageLink |
getPartUsageLink()
Gets the value of the attribute: partUsageLink; The WTPartUsageLink that was used to construct this PartUsageInfo. |
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. |
protected Vector |
getRefDesItems()
|
protected Vector |
getSubstParts()
|
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. |
boolean |
hasQuantityChanged()
|
protected boolean |
hasSamePartMaster(PartUsageInfo info)
|
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. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(PartUsageInfo thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
protected void |
setRefDesAdditions()
|
protected void |
setRefDesDeletions()
|
protected void |
setSubstPartsAdditions()
|
protected void |
setSubstPartsCommons()
|
protected void |
setSubstPartsDeletions()
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WTPartUsageLink partUsageLink
private Enumeration refDesAdditions
private Enumeration refDesDeletions
private Enumeration substPartsAdditions
private Enumeration substPartsDeletions
private Enumeration substPartsCommons
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private Quantity orgQuantity
private boolean hasQuantityChanged
private Vector refDesItems
private Vector substParts
private static final ApplicationContextServices delegateFactory
Constructor Detail |
public PartUsageInfo()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(PartUsageInfo thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
protected WTPartUsageLink getPartUsageLink()
public WTPartMaster getPartMaster()
public LineNumber getLineNumber()
public Quantity getQuantity()
public Enumeration getRefDesAdditions()
public Enumeration getRefDesDeletions()
public Enumeration getSubstPartsAdditions()
public Enumeration getSubstPartsDeletions()
public Enumeration getSubstPartsCommons()
protected void initialize(WTPartUsageLink partUsageLink) throws WTException
partUsageLink
-
WTException
protected void consolidate(PartUsageInfo info)
info
- protected boolean isDifferent(PartUsageInfo info)
info
-
protected void processForAdd()
protected void processForReplace()
protected void processForChange()
protected void processForDelete()
protected void processForNoChange()
public boolean hasQuantityChanged()
public Quantity getOrgQuantity()
protected void clearQuantity()
protected Vector getRefDesItems()
protected Vector getSubstParts()
protected void setRefDesAdditions()
protected void setRefDesDeletions()
protected void setSubstPartsAdditions()
protected void setSubstPartsDeletions()
protected void setSubstPartsCommons()
protected Object getKey()
protected boolean hasSamePartMaster(PartUsageInfo info)
protected boolean diffQuantity(PartUsageInfo info)
protected boolean diffRefDes(PartUsageInfo info)
protected boolean diffSubstParts(PartUsageInfo info)
protected static Hashtable buildHashtable(WTPart part, boolean ignoreLineNumbers) throws WTException, LineNumberUsageException
WTException
LineNumberUsageException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |