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-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org

Reply via email to