com.samskivert.jdbc.depot.tests
Class TestRepository

java.lang.Object
  extended by com.samskivert.jdbc.depot.DepotRepository
      extended by com.samskivert.jdbc.depot.tests.TestRepository

public class TestRepository
extends DepotRepository

A test tool for the Depot repository services.


Field Summary
 
Fields inherited from class com.samskivert.jdbc.depot.DepotRepository
_ctx
 
Constructor Summary
TestRepository(PersistenceContext perCtx)
           
 
Method Summary
protected  void getManagedRecords(Set<Class<? extends PersistentRecord>> classes)
          Adds the persistent classes used by this repository to the supplied set.
static void main(String[] args)
           
 
Methods inherited from class com.samskivert.jdbc.depot.DepotRepository
delete, delete, delete, deleteAll, findAll, findAll, insert, load, load, load, load, load, requireNotComputed, store, update, update, updateLiteral, updateLiteral, updateLiteral, updateLiteral, updatePartial, updatePartial, updatePartial, updatePartial, updatePartial, updatePartial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRepository

public TestRepository(PersistenceContext perCtx)
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getManagedRecords

protected void getManagedRecords(Set<Class<? extends PersistentRecord>> classes)
Description copied from class: DepotRepository
Adds the persistent classes used by this repository to the supplied set.

Specified by:
getManagedRecords in class DepotRepository


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.