[jboss-cvs] jboss-seam/seam-gen/pojo ...

Max Rydahl Andersen mandersen at jboss.com
Thu Nov 9 10:41:40 EST 2006


  User: mandersen
  Date: 06/11/09 10:41:40

  Added:       seam-gen/pojo  GetPropertyAnnotation.ftl
  Log:
  seam-gen will now include @NotNull and @Length
  
  Revision  Changes    Path
  1.1      date: 2006/11/09 15:41:40;  author: mandersen;  state: Exp;jboss-seam/seam-gen/pojo/GetPropertyAnnotation.ftl
  
  Index: GetPropertyAnnotation.ftl
  ===================================================================
  <#include "Ejb3PropertyGetAnnotation.ftl"/>
  <#if !property.optional>
      @${pojo.importType("org.hibernate.validator.NotNull")}
  </#if>
  <#if property.columnSpan==1>
  <#assign column = property.getColumnIterator().next()/>
  <#if column.length!=255>
      @${pojo.importType("org.hibernate.validator.Length")}(max=${column.length?c})
  </#if>
  </#if>
  
  



More information about the jboss-cvs-commits mailing list