root/trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy @ 224

Revision 224, 444 bytes (checked in by keesvb, 4 years ago)

revised templating system: templates are now per entity rather than per study, moved samples to Study

  • Property svn:keywords set to Rev Date Author
Line 
1package dbnp.studycapturing
2
3import dbnp.data.Term
4
5/**
6 * The Sample class describes an actual sample which results from a SamplingEvent.
7 */
8class Sample {
9        static searchable = true
10
11
12
13    String name      // should be unique with respect to the parent study (which can be inferred)
14    Term material
15    // don't we need a member that describes the quantity of the sample? --> should be in the templates
16
17    static constraints = {
18    }
19
20}
Note: See TracBrowser for help on using the browser.