source: trunk/grails-app/domain/dbnp/studycapturing/EventGroup.groovy @ 1864

Last change on this file since 1864 was 1864, checked in by s.h.sikkema@…, 9 years ago

in exporter: module error display improvements (ie. display on screen but still able to export); removed changes to simplewizard; removed unnecessary imports; should handle 'null' parent subject from samples correctly; should handle non number values from modules correctly; deselects module measurements in case of module error/no measurements; removed obsolete entry in topnav

  • Property svn:keywords set to Rev Author Date
File size: 447 bytes
Line 
1package dbnp.studycapturing
2import org.dbnp.gdt.*
3
4/**
5 * EventGroup groups events
6 *
7 * Revision information:
8 * $Rev: 1864 $
9 * $Author: s.h.sikkema@gmail.com $
10 * $Date: 2011-05-23 14:36:00 +0000 (ma, 23 mei 2011) $
11 */
12class EventGroup extends Identity {
13        String name
14
15        static belongsTo = [parent : Study]
16        static hasMany = [
17                subjects: Subject,
18                events: Event,
19                samplingEvents: SamplingEvent
20        ]
21
22        static constraints = {
23                // Ensure that the event group name is unique within the study
24                name(unique:['parent'])
25        }
26}
Note: See TracBrowser for help on using the repository browser.