Changeset 103 for trunk/grails-app/domain/dbnp
- Timestamp:
- Jan 21, 2010, 1:56:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r101 r103 3 3 /** 4 4 * Domain class describing the basic entity in the study capture part: the Study class. 5 * 6 * Revision information: 7 * $Rev$ 8 * $Author$ 9 * $Date$ 5 10 */ 6 class Study {11 class Study implements Serializable { 7 12 nimble.User owner 8 13 String title … … 16 21 Template template 17 22 18 static hasMany = [editors: nimble.User, readers: nimble.User, 19 subjects: Subject, groups: SubjectGroup, 20 events: Event, samplingEvents: SamplingEvent] 23 static hasMany = [ editors: nimble.User, 24 readers: nimble.User, 25 subjects: Subject, 26 groups: SubjectGroup, 27 events: Event, 28 samplingEvents: SamplingEvent 29 ] 21 30 22 31 static constraints = { … … 31 40 } 32 41 33 def String toString() { 34 return title; 35 } 36 37 42 def String toString() { 43 return title; 44 } 38 45 }
Note: See TracChangeset
for help on using the changeset viewer.