You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2006/09/26 13:47:27 UTC
svn commit: r450002 -
/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/collections/RemovalAwareVector.java
Author: arminw
Date: Tue Sep 26 04:47:26 2006
New Revision: 450002
URL: http://svn.apache.org/viewvc?view=rev&rev=450002
Log:
add comment, marker interface
Modified:
db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/collections/RemovalAwareVector.java
Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/collections/RemovalAwareVector.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/collections/RemovalAwareVector.java?view=diff&rev=450002&r1=450001&r2=450002
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/collections/RemovalAwareVector.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/collections/RemovalAwareVector.java Tue Sep 26 04:47:26 2006
@@ -23,11 +23,14 @@
import org.apache.ojb.broker.PersistenceBrokerException;
/**
- * This class
+ * This is a Vector based class that tracks removal and addition of elements.
+ * This tracking allow the PersistenceBroker to delete elements from
+ * the database that have been removed from the collection before a
+ * PB.store() orperation occurs.
*
* @version $Id: $
*/
-public class RemovalAwareVector extends ManageableVector
+public class RemovalAwareVector extends ManageableVector implements IRemovalAwareCollection
{
private Collection deletedObjects = new HashSet();
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org