You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2012/12/10 22:33:40 UTC
svn commit: r1419795 - in
/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer:
base/setAndSaveReferencing.vm impl/base/setAndSaveReferencing.vm
Author: tfischer
Date: Mon Dec 10 21:33:39 2012
New Revision: 1419795
URL: http://svn.apache.org/viewvc?rev=1419795&view=rev
Log:
TORQUE-182 improve generated javadoc
Modified:
db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/setAndSaveReferencing.vm
db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/setAndSaveReferencing.vm
Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/setAndSaveReferencing.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/setAndSaveReferencing.vm?rev=1419795&r1=1419794&r2=1419795&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/setAndSaveReferencing.vm (original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/setAndSaveReferencing.vm Mon Dec 10 21:33:39 2012
@@ -36,19 +36,22 @@
* This means the following is done:
* <ul>
* <li>
- * The current collection of linked objects with the same primary keys as
- * in toSave are read from the database into the list intersection.
+ * The current collection of objects which are linked to toLinkTo
+ * and which are also in the list toSave is read from the database
+ * into the list intersection.
* </li>
* <li>
* All objects in toSave which are not in intersection are inserted.
* </li>
* <li>
- * All objects in intersection are updated with the corresponding values
- * in toSave and saved.
+ * All objects in intersection are updated with the
+ * corresponding values in toSave and saved.
* </li>
* <li>
- * All objects in the database which are not in toSave are deleted.
+ * All objects in the database which are linked to toLinkTo but are
+ * not in toSave are deleted from the database.
* </li>
+ * </ul>
*
* @param toLinkTo the object which collections should be set with the
* values in toSave.
@@ -71,19 +74,22 @@
* This means the following is done:
* <ul>
* <li>
- * The current collection of linked objects with the same primary keys as
- * in toSave are read from the database into the list intersection.
+ * The current collection of objects which are linked to toLinkTo
+ * and which are also in the list toSave is read from the database
+ * into the list intersection.
* </li>
* <li>
* All objects in toSave which are not in intersection are inserted.
* </li>
* <li>
- * All objects in intersection are updated with the corresponding values
- * in toSave and saved.
+ * All objects in intersection are updated with the
+ * corresponding values in toSave and saved.
* </li>
* <li>
- * All objects in the database which are not in toSave are deleted.
+ * All objects in the database which are linked to toLinkTo but are
+ * not in toSave are deleted from the database.
* </li>
+ * </ul>
*
* @param toLinkTo the object which collections should be set with the
* values in toSave.
Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/setAndSaveReferencing.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/setAndSaveReferencing.vm?rev=1419795&r1=1419794&r2=1419795&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/setAndSaveReferencing.vm (original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/setAndSaveReferencing.vm Mon Dec 10 21:33:39 2012
@@ -43,19 +43,22 @@
* This means the following is done:
* <ul>
* <li>
- * The current collection of linked objects with the same primary keys as
- * in toSave are read from the database into the list intersection.
+ * The current collection of objects which are linked to toLinkTo
+ * and which are also in the list toSave is read from the database
+ * into the list intersection.
* </li>
* <li>
* All objects in toSave which are not in intersection are inserted.
* </li>
* <li>
- * All objects in intersection are updated with the corresponding values
- * in toSave and saved.
+ * All objects in intersection are updated with the
+ * corresponding values in toSave and saved.
* </li>
* <li>
- * All objects in the database which are not in toSave are deleted.
+ * All objects in the database which are linked to toLinkTo but are
+ * not in toSave are deleted from the database.
* </li>
+ * </ul>
*
* @param toLinkTo the object which collections should be set with the
* values in toSave.
@@ -93,19 +96,22 @@
* This means the following is done:
* <ul>
* <li>
- * The current collection of linked objects with the same primary keys as
- * in toSave are read from the database into the list intersection.
+ * The current collection of objects which are linked to toLinkTo
+ * and which are also in the list toSave is read from the database
+ * into the list intersection.
* </li>
* <li>
* All objects in toSave which are not in intersection are inserted.
* </li>
* <li>
- * All objects in intersection are updated with the corresponding values
- * in toSave and saved.
+ * All objects in intersection are updated with the
+ * corresponding values in toSave and saved.
* </li>
* <li>
- * All objects in the database which are not in toSave are deleted.
+ * All objects in the database which are linked to toLinkTo but are
+ * not in toSave are deleted from the database.
* </li>
+ * </ul>
*
* @param toLinkTo the object which collections should be set with the
* values in toSave.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org