source: trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy @ 139

Last change on this file since 139 was 139, checked in by keesvb, 10 years ago

changed domain model for events and protocol parameters, and for template field storage, added NuGO PPS3 events, added searchable plugin for full text queries, corrected a few HTML errors in create study

File size: 605 bytes
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    // TODO: should Sample also carry a reference to its parent study,
12    // or should this be inferred via the parent SamplingEvent?
13
14    // TODO: should Sample also carry a reference to its parent subject,
15    // or should this be inferred via the parent SamplingEvent?
16
17    String name // should be unique with respect to the parent study (which can be inferred
18    Term material
19
20    static constraints = {
21    }
22}
Note: See TracBrowser for help on using the repository browser.