Documented some return values.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1824 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-04-13 18:41:46 +00:00
parent a1f2a34090
commit e6c4008258
@@ -56,8 +56,11 @@ public abstract class JORARepository extends SimpleRepository
}
/**
* Inserts the supplied object into the specified table. The table
* must be configured to store items of the supplied type.
* Inserts the supplied object into the specified table. The table must be
* configured to store items of the supplied type.
*
* @return a call to {@link DatabaseLiaison#lastInsertedId} made
* immediately following the insert.
*/
protected <T> int insert (final Table<T> table, final T object)
throws PersistenceException
@@ -75,6 +78,8 @@ public abstract class JORARepository extends SimpleRepository
/**
* Updates the supplied object in the specified table. The table must
* be configured to store items of the supplied type.
*
* @return the number of rows modified by the update.
*/
protected <T> int update (final Table<T> table, final T object)
throws PersistenceException