From: Vance K. <va...@us...> - 2006-01-25 02:46:42
|
User: vancek Date: 06/01/24 18:46:36 Modified: andromda-ejb3/src/main/resources/templates/ejb3 Entity.vsl Log: used allInstanceAttributes for constructor Revision Changes Path 1.7 +2 -3 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Entity.vsl Index: Entity.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Entity.vsl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -w -r1.6 -r1.7 --- Entity.vsl 23 Jan 2006 05:43:43 -0000 1.6 +++ Entity.vsl 25 Jan 2006 02:46:35 -0000 1.7 @@ -40,15 +40,14 @@ } ## Autogenerate a constructor implementation with all attributes. -#set ($instanceAttributes = $transform.filterByVisibility($entity.instanceAttributes, "public")) #set ($allAttributes = $transform.filterByVisibility($entity.allInstanceAttributes, "public")) #if ($entity.syntheticCreateMethodAllowed) /** - * Implementation for the main constructor with all POJO attributes. + * Implementation for the constructor with all POJO attributes. * This method sets all POJO fields defined in this/super class to the * values provided by the parameters. * -#**##foreach($attribute in $transform.filterUpdatableAttributes($instanceAttributes)) +#**##foreach($attribute in $transform.filterUpdatableAttributes($allAttributes)) * @param $attribute.name Value for the ${attribute.name} property #**##end */ |