Changeset 152


Ignore:
Timestamp:
Jan 29, 2010, 7:38:01 PM (9 years ago)
Author:
jahn
Message:

Currently Sample extends Event. The Sample class might better be merged into the Event class.

Location:
trunk/grails-app/domain/dbnp/studycapturing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Sample.groovy

    r139 r152  
    1212    // or should this be inferred via the parent SamplingEvent?
    1313
    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)
    1815    Term material
     16    // don't we need a member, that describes the quantity of the sample?
    1917
    2018    static constraints = {
    2119    }
     20
    2221}
  • trunk/grails-app/domain/dbnp/studycapturing/SamplingEvent.groovy

    r84 r152  
    33/**
    44 * 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.
    59 */
     10
    611class SamplingEvent extends Event {
    712
Note: See TracChangeset for help on using the changeset viewer.