Last change
on this file since 152 was
152,
checked in by jahn, 13 years ago
|
Currently Sample extends Event. The Sample class might better be merged into the Event class.
|
File size:
548 bytes
|
Rev | Line | |
---|
[81] | 1 | package dbnp.studycapturing |
---|
| 2 | |
---|
[106] | 3 | import dbnp.data.Term |
---|
| 4 | |
---|
[84] | 5 | /** |
---|
| 6 | * The Sample class describes an actual sample which results from a SamplingEvent. |
---|
| 7 | */ |
---|
[81] | 8 | class Sample { |
---|
[139] | 9 | static searchable = true |
---|
[81] | 10 | |
---|
[84] | 11 | // TODO: should Sample also carry a reference to its parent study, |
---|
| 12 | // or should this be inferred via the parent SamplingEvent? |
---|
| 13 | |
---|
[152] | 14 | String name // should be unique with respect to the parent study (which can be inferred) |
---|
[81] | 15 | Term material |
---|
[152] | 16 | // don't we need a member, that describes the quantity of the sample? |
---|
[81] | 17 | |
---|
| 18 | static constraints = { |
---|
| 19 | } |
---|
[152] | 20 | |
---|
[81] | 21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.