com.ptc.windchill.counterpart.metadata.qom
Class cApplyQuantityOfMeasure

java.lang.Object
  extended bycom.ptc.windchill.counterpart.metadata.cApply
      extended bycom.ptc.windchill.counterpart.metadata.qom.cApplyQuantityOfMeasure

public class cApplyQuantityOfMeasure
extends cApply

User: efraimovich Date: Jan 9, 2003


Field Summary
private static String CLASSNAME
           
private static boolean DEBUG
           
private static DebugWriter LOG
           
 
Fields inherited from class com.ptc.windchill.counterpart.metadata.cApply
fCpNameComparator, fCpObjsToAdd, fCpObjsToChange, fErrors, fWtNameComparator, fWtObjsSearchMap, fWtObjsToChange, fWtObjsToDel
 
Constructor Summary
cApplyQuantityOfMeasure(ArrayList initialCpObjs, ArrayList initialWtObjs)
           
 
Method Summary
protected  boolean areIdentical(cEntry wtObj, Object cpObj)
           
protected  boolean canApply(nitidus.sil.be.core.iEntry obj)
           
protected  boolean canUpdate(cEntry wtObj, nitidus.sil.be.core.iEntry cpObj)
           
protected  int compareByName(cEntry wtObj, Object cpObj)
           
protected  cEntry create(Object obj)
          add new QoM systems to WT DB
protected  void delete(cEntry obj)
           
protected  void fileError(cEntry entry, int confl, String referToID, String comment)
           
protected  void fileError(nitidus.sil.be.core.iEntry entry, int confl, String referToID, String comment)
           
protected  void fileWarning(nitidus.sil.be.core.iEntry entry, int confl, String referToID, String comment)
           
protected  void update(cEntry wtObj, Object cpObj)
           
protected  void updateID(cEntry wtObj)
           
 
Methods inherited from class com.ptc.windchill.counterpart.metadata.cApply
createObjects, deleteObjects, eraseFromAddList, getErrors, getWtObjsSearchMap, isInAddList, prepare, preUpdate, preUpdate, searchEntryInMap, setInUse, setInUse, setInUseReferringRecords, updateObjects, updateSearchMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

private static final String CLASSNAME

DEBUG

private static final boolean DEBUG

LOG

private static final DebugWriter LOG
Constructor Detail

cApplyQuantityOfMeasure

public cApplyQuantityOfMeasure(ArrayList initialCpObjs,
                               ArrayList initialWtObjs)
Method Detail

create

protected cEntry create(Object obj)
add new QoM systems to WT DB

Specified by:
create in class cApply

delete

protected void delete(cEntry obj)
Specified by:
delete in class cApply

canUpdate

protected boolean canUpdate(cEntry wtObj,
                            nitidus.sil.be.core.iEntry cpObj)
Overrides:
canUpdate in class cApply

canApply

protected boolean canApply(nitidus.sil.be.core.iEntry obj)
Overrides:
canApply in class cApply

update

protected void update(cEntry wtObj,
                      Object cpObj)
Specified by:
update in class cApply

updateID

protected void updateID(cEntry wtObj)
Specified by:
updateID in class cApply

areIdentical

protected boolean areIdentical(cEntry wtObj,
                               Object cpObj)
Specified by:
areIdentical in class cApply

compareByName

protected int compareByName(cEntry wtObj,
                            Object cpObj)
Specified by:
compareByName in class cApply

fileError

protected void fileError(cEntry entry,
                         int confl,
                         String referToID,
                         String comment)
Specified by:
fileError in class cApply
See Also:
cApply.fileError(com.ptc.windchill.counterpart.metadata.cEntry, int, java.lang.String, java.lang.String)

fileError

protected void fileError(nitidus.sil.be.core.iEntry entry,
                         int confl,
                         String referToID,
                         String comment)
Specified by:
fileError in class cApply
See Also:
cApply.fileError(com.ptc.windchill.counterpart.metadata.cEntry, int, java.lang.String, java.lang.String)

fileWarning

protected void fileWarning(nitidus.sil.be.core.iEntry entry,
                           int confl,
                           String referToID,
                           String comment)