Last change
on this file since 138 was
138,
checked in by duh, 13 years ago
|
- added development version of wizard subjects page and logic
- modified some domain classes (again, who reverted them?) to implement Serializable
|
File size:
527 bytes
|
Line | |
---|
1 | package dbnp.studycapturing |
---|
2 | import dbnp.data.Term |
---|
3 | |
---|
4 | /** |
---|
5 | * This domain class describes the subjects in a study. |
---|
6 | * |
---|
7 | * Revision information: |
---|
8 | * $Rev$ |
---|
9 | * $Author$ |
---|
10 | * $Date$ |
---|
11 | */ |
---|
12 | class Subject implements Serializable { |
---|
13 | String name |
---|
14 | Term species |
---|
15 | Map templateStringFields |
---|
16 | Map templateNumberFields |
---|
17 | Map templateStringListFields |
---|
18 | Map templateTermFields |
---|
19 | |
---|
20 | static hasMany = [ |
---|
21 | templateStringFields: String, |
---|
22 | templateNumberFields: float, |
---|
23 | templateStringListFields: String, |
---|
24 | templateTermFields: Term |
---|
25 | ] |
---|
26 | |
---|
27 | static constraints = { |
---|
28 | } |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.