com.sciapp.treetable.db
Class DefaultGroupCache
java.lang.Object
com.sciapp.table.cache.AbstractCache
com.sciapp.treetable.db.AbstractGroupCache
com.sciapp.treetable.db.DefaultGroupCache
- All Implemented Interfaces:
- Cache, TreeTableCache
public class DefaultGroupCache
- extends AbstractGroupCache
DefaultGroupCache assumes that the row objects are an Object array.
Therefore the convertObject method casts the supplied object to an Object array
and returns the first element.
|
Method Summary |
Object |
convertObject(Object rowObject)
Converts the object rowObject, as received from the database, and returns the result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGroupCache
public DefaultGroupCache(CacheableTreeTableModel model)
- Constructs a DefaultGroupCache.
DefaultGroupCache
public DefaultGroupCache(CacheableTreeTableModel model,
int chunkSize,
int maximumCacheSize)
- Constructs a DefaultGroupCache.
convertObject
public Object convertObject(Object rowObject)
- Converts the object
rowObject, as received from the database, and returns the result.
- Specified by:
convertObject in class AbstractGroupCache
- Parameters:
rowObject - the object as received from the database.
- Returns:
- the converted object.