source: trunk/grails-app/domain/dbnp/studycapturing/TemplateFieldListItem.groovy @ 959

Last change on this file since 959 was 959, checked in by j.a.m.wesbeek@…, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Date Rev
File size: 603 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * TemplateFieldListItem Domain Class. Used to represent the list items in a STRINGLIST TemplateField.
5 *
6 * Revision information:
7 * $Rev: 959 $
8 * $Author: j.a.m.wesbeek@umail.leidenuniv.nl $
9 * $Date: 2010-10-20 19:13:14 +0000 (wo, 20 okt 2010) $
10 */
11class TemplateFieldListItem implements Serializable {
12
13        // A TemplateFieldListItem always belongs to one TemplateField of TemplateFieldType STRINGLIST
14        static belongsTo = [parent : TemplateField]
15
16        /** The caption of the list item */
17        String name
18
19        static constraints = {
20        }
21
22        static mapping = {
23                name column:"templatefieldlistitemname"
24        }
25
26        String toString() {
27                return name;
28        }
29}
Note: See TracBrowser for help on using the repository browser.