Ignore:
Timestamp:
Mar 3, 2010, 5:18:22 PM (7 years ago)
Author:
keesvb
Message:

adjusted Event-Sample relationship to go into EventGroup?, added EventGroups? in BootStrap?, added a Study template to BootStrap?

File:
1 edited

Legend:

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

    r190 r232  
    55 *
    66 * 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.
     7 *       thus, we could merge the sampling with the Event super class and include a boolean
     8 *       However, using a separate class makes it more clear in the code that Event and SamplingEvent are treated differently
    99 */
    1010
    1111class SamplingEvent extends Event {
    1212
    13     static hasMany = [samples : Sample]
    14 
    1513    static constraints = {
    1614    }
Note: See TracChangeset for help on using the changeset viewer.