Author: max.andersen(a)jboss.com
Date: 2006-11-14 08:07:25 -0500 (Tue, 14 Nov 2006)
New Revision: 10804
Added:
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/GetPropertyAnnotation.ftl
Modified:
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl
Log:
allow users to add their own getter-annotations more easily.
Added:
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/GetPropertyAnnotation.ftl
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/GetPropertyAnnotation.ftl 2006-11-14
13:06:47 UTC (rev 10803)
+++
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/GetPropertyAnnotation.ftl 2006-11-14
13:07:25 UTC (rev 10804)
@@ -0,0 +1 @@
+<#include "Ejb3PropertyGetAnnotation.ftl"/>
Modified:
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl
===================================================================
---
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl 2006-11-14
13:06:47 UTC (rev 10803)
+++
branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/PojoPropertyAccessors.ftl 2006-11-14
13:07:25 UTC (rev 10804)
@@ -6,7 +6,7 @@
* ${pojo.getFieldJavaDoc(property, 4)}
*/
</#if>
- <#include "Ejb3PropertyGetAnnotation.ftl"/>
+ <#include "GetPropertyAnnotation.ftl"/>
${pojo.getPropertyGetModifiers(property)} ${pojo.getJavaTypeName(property, jdk5)}
${pojo.getGetterSignature(property)}() {
return this.${property.name};
}
Show replies by date