Last change
on this file since 754 was
754,
checked in by keesvb, 12 years ago
|
big refactoring / change of the data model: implemented belongsTo everywhere where it should be, added comments to the domain classes, changed BootStrap? accordingly
|
-
Property svn:keywords set to
Date Rev Author
|
File size:
516 bytes
|
Line | |
---|
1 | package dbnp.studycapturing |
---|
2 | |
---|
3 | /** |
---|
4 | * TemplateFieldListItem Domain Class. Used to represent the list items in a STRINGLIST TemplateField. |
---|
5 | * |
---|
6 | * Revision information: |
---|
7 | * $Rev: 754 $ |
---|
8 | * $Author: keesvb $ |
---|
9 | * $Date: 2010-07-30 13:05:41 +0000 (vr, 30 jul 2010) $ |
---|
10 | */ |
---|
11 | class 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 | String toString() { |
---|
23 | return name; |
---|
24 | } |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.