source: trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy @ 138

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
RevLine 
[77]1package dbnp.studycapturing
[106]2import dbnp.data.Term
3
[84]4/**
5 * This domain class describes the subjects in a study.
[138]6 *
7 * Revision information:
8 * $Rev$
9 * $Author$
10 * $Date$
[84]11 */
[138]12class Subject implements Serializable {
[136]13        String name
14        Term species
15        Map templateStringFields
16        Map templateNumberFields
17        Map templateStringListFields
18        Map templateTermFields
[77]19
[136]20        static hasMany = [
[138]21                templateStringFields: String,
22                templateNumberFields: float,
23                templateStringListFields: String,
24                templateTermFields: Term
[136]25        ]
[138]26
[136]27        static constraints = {
28        }
[77]29}
Note: See TracBrowser for help on using the repository browser.