Author: max.andersen(a)jboss.com
Date: 2006-12-15 04:55:36 -0500 (Fri, 15 Dec 2006)
New Revision: 10997
Modified:
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoConstructors.ftl
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoFields.ftl
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl
Log:
less bling-bling for gavin
Modified: branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoConstructors.ftl
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoConstructors.ftl 2006-12-15
09:55:11 UTC (rev 10996)
+++
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoConstructors.ftl 2006-12-15
09:55:36 UTC (rev 10997)
@@ -1,10 +1,9 @@
- // Constructors
- /** default constructor */
+<#-- /** default constructor */ -->
public ${pojo.getDeclarationName()}() {
}
-<#if pojo.needsMinimalConstructor()> /** minimal constructor */
+<#if pojo.needsMinimalConstructor()> <#-- /** minimal constructor */ -->
public
${pojo.getDeclarationName()}(${c2j.asParameterList(pojo.getPropertyClosureForMinimalConstructor(),
jdk5, pojo)}) {
<#if pojo.isSubclass() &&
!pojo.getPropertyClosureForSuperclassMinimalConstructor().isEmpty()>
super(${c2j.asArgumentList(pojo.getPropertyClosureForSuperclassMinimalConstructor())});
@@ -15,7 +14,7 @@
}
</#if>
<#if pojo.needsFullConstructor()>
- /** full constructor */
+<#-- /** full constructor */ -->
public
${pojo.getDeclarationName()}(${c2j.asParameterList(pojo.getPropertyClosureForFullConstructor(),
jdk5, pojo)}) {
<#if pojo.isSubclass() &&
!pojo.getPropertyClosureForSuperclassFullConstructor().isEmpty()>
super(${c2j.asArgumentList(pojo.getPropertyClosureForSuperclassFullConstructor())});
Modified: branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoFields.ftl
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoFields.ftl 2006-12-15
09:55:11 UTC (rev 10996)
+++ branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoFields.ftl 2006-12-15
09:55:36 UTC (rev 10997)
@@ -1,4 +1,4 @@
- // Fields
+<#-- // Fields -->
<#foreach field in pojo.getAllPropertiesIterator()><#if
pojo.getMetaAttribAsBool(field, "gen-property", true)> <#if
pojo.hasMetaAttribute(field, "field-description")> /**
${pojo.getFieldJavaDoc(field, 0)}
Modified:
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl 2006-12-15
09:55:11 UTC (rev 10996)
+++
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl 2006-12-15
09:55:36 UTC (rev 10997)
@@ -1,4 +1,4 @@
- // Property accessors
+<#-- // Property accessors -->
<#foreach property in pojo.getAllPropertiesIterator()>
<#if pojo.getMetaAttribAsBool(property, "gen-property", true)>
<#if pojo.hasFieldJavaDoc(property)>
Show replies by date