db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1622330 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/bean/objectBeanMethods.vm
Date Wed, 03 Sep 2014 19:31:55 GMT
Author: tfischer
Date: Wed Sep  3 19:31:54 2014
New Revision: 1622330

URL: http://svn.apache.org/r1622330
Log:
TORQUE-317 generate correct bean code if complexObjectModel is false

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/bean/objectBeanMethods.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/bean/objectBeanMethods.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/bean/objectBeanMethods.vm?rev=1622330&r1=1622329&r2=1622330&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/bean/objectBeanMethods.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/dbObject/base/bean/objectBeanMethods.vm
Wed Sep  3 19:31:54 2014
@@ -24,10 +24,11 @@
 ## which was processed by the OMTransformer.  
 ##
     /**
-     * Creates a $beanClassName with the contents of this object
-#if ($complexObjectModel)
+     * Creates a $beanClassName with the contents of this object.
+#if ($complexObjectModel == "true")
      * This also creates beans for cached related objects, if they exist
 #end
+     *
      * @return a $beanClassName with the contents of this object
      */
     public $beanClassName getBean()
@@ -36,8 +37,9 @@
     }
 
     /**
-     * Creates a $beanClassName with the contents of this object
-     * intended for internal use only
+     * Creates a $beanClassName with the contents of this object.
+     * Intended for internal use only.
+     *
      * @param createdBeans a IdentityMap which maps objects
      *        to already created beans
      * @return a $beanClassName with the contents of this object



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message