Changeset 661 for trunk/grails-app/domain
- Timestamp:
- Jul 19, 2010, 4:10:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/TemplateEntity.groovy
r572 r661 658 658 } 659 659 } 660 661 /** 662 * Look up the type of a certain template subject field 663 * @param String fieldName The name of the template field 664 * @return String The type (static member of TemplateFieldType) of the field, or null of the field does not exist 665 */ 666 def TemplateFieldType getFieldType(String fieldName) { 667 def field = this.giveFields().find { 668 it.name == fieldName 669 } 670 field?.type 671 } 660 672 }
Note: See TracChangeset
for help on using the changeset viewer.