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

Last change on this file since 166 was 166, checked in by jahn, 10 years ago

Samples have names now.

  • Property svn:keywords set to
    Date
    Author
    Rev
File size: 547 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    String name      // should be unique with respect to the parent study (which can be inferred)
15    Term material
16    // don't we need a member that describes the quantity of the sample?
17
18    static constraints = {
19    }
20
21}
Note: See TracBrowser for help on using the repository browser.