Line | |
---|
1 | package dbnp.studycapturing |
---|
2 | |
---|
3 | import dbnp.data.Term |
---|
4 | |
---|
5 | /** |
---|
6 | * This domain class describes the subjects in a study. |
---|
7 | */ |
---|
8 | class Subject { |
---|
9 | |
---|
10 | String name |
---|
11 | Term species |
---|
12 | Map templateStringFields |
---|
13 | Map templateNumberFields |
---|
14 | Map templateStringListFields |
---|
15 | Map templateTermFields |
---|
16 | |
---|
17 | static hasMany = [ |
---|
18 | templateStringFields : String, |
---|
19 | templateNumberFields : float, |
---|
20 | templateStringListFields : String, |
---|
21 | templateTermFields : Term |
---|
22 | ] |
---|
23 | |
---|
24 | static constraints = { |
---|
25 | } |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.