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

Revision 190, 0.5 KB (checked in by duh, 4 years ago)

- set keyword expansion

  • Property svn:keywords set to Rev Date Author
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 browser.