wt.pds
Class AbstractPersistableList

java.lang.Object
  extended bywt.pds.AbstractPersistableList
All Implemented Interfaces:
PersistableList
Direct Known Subclasses:
MultiplePersistableList, SinglePersistableList

public abstract class AbstractPersistableList
extends Object
implements PersistableList

This abstract class provides common implementation for a list of Persistables.


Field Summary
static Object CREATE_STAMP_MAP_KEY
           
private  Timestamp createStamp
           
private  Map createStampMap
           
static Object MODIFY_STAMP_MAP_KEY
           
private  Timestamp modifyStamp
           
private  Map modifyStampMap
           
 
Constructor Summary
protected AbstractPersistableList(Timestamp a_createStamp, Timestamp a_modifyStamp)
           
 
Method Summary
 ClassInfo getClassInfo()
           
 Timestamp getCreateStamp(int a_index)
           
 Timestamp getModifyStamp(int a_index)
           
 Persistable getNonUpdated(int[] a_rowCounts)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.pds.PersistableList
getCount, getObject
 

Field Detail

CREATE_STAMP_MAP_KEY

public static final Object CREATE_STAMP_MAP_KEY

MODIFY_STAMP_MAP_KEY

public static final Object MODIFY_STAMP_MAP_KEY

createStamp

private Timestamp createStamp

modifyStamp

private Timestamp modifyStamp

createStampMap

private Map createStampMap

modifyStampMap

private Map modifyStampMap
Constructor Detail

AbstractPersistableList

protected AbstractPersistableList(Timestamp a_createStamp,
                                  Timestamp a_modifyStamp)
                           throws WTException
Method Detail

getClassInfo

public ClassInfo getClassInfo()
                       throws WTException
Specified by:
getClassInfo in interface PersistableList
Throws:
WTException

getNonUpdated

public Persistable getNonUpdated(int[] a_rowCounts)
Specified by:
getNonUpdated in interface PersistableList

getCreateStamp

public Timestamp getCreateStamp(int a_index)
Specified by:
getCreateStamp in interface PersistableList

getModifyStamp

public Timestamp getModifyStamp(int a_index)
Specified by:
getModifyStamp in interface PersistableList

toString

public String toString()