source: trunk/grails-app/domain/dbnp/studycapturing/SamplingEvent.groovy @ 190

Last change on this file since 190 was 190, checked in by duh, 7 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Date Author
File size: 536 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * The SamplingEvent class describes a sampling event, an event that also results in one or more samples.
5 *
6 * NOTE: according to documentation, super classes and subclasses share the same table.
7 *       thus, there is actually no reason not to merge the sampling with the Event super class.
8 *       this is especially true, since the subclass adds only one has-many relation ship.
9 */
10
11class SamplingEvent extends Event {
12
13    static hasMany = [samples : Sample]
14
15    static constraints = {
16    }
17}
Note: See TracBrowser for help on using the repository browser.