Changeset 152 for trunk/grails-app/domain
- Timestamp:
- Jan 29, 2010, 7:38:01 PM (14 years ago)
- Location:
- trunk/grails-app/domain/dbnp/studycapturing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy
r139 r152 12 12 // or should this be inferred via the parent SamplingEvent? 13 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 14 String name // should be unique with respect to the parent study (which can be inferred) 18 15 Term material 16 // don't we need a member, that describes the quantity of the sample? 19 17 20 18 static constraints = { 21 19 } 20 22 21 } -
trunk/grails-app/domain/dbnp/studycapturing/SamplingEvent.groovy
r84 r152 3 3 /** 4 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. 5 9 */ 10 6 11 class SamplingEvent extends Event { 7 12
Note: See TracChangeset
for help on using the changeset viewer.