Show
Ignore:
Timestamp:
03-03-10 17:18:22 (4 years ago)
Author:
keesvb
Message:

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

Files:
1 modified

Legend:

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

    r224 r232  
    66 * The Sample class describes an actual sample which results from a SamplingEvent. 
    77 */ 
    8 class Sample { 
     8class Sample extends TemplateEntity { 
    99        static searchable = true 
    1010 
     11        Subject parentSubject 
     12        SamplingEvent parentEvent 
    1113 
     14        String name      // should be unique with respect to the parent study (which can be inferred) 
     15        Term material 
     16        // a member that describes the quantity of the sample? --> should be in the templates 
    1217 
    13     String name      // should be unique with respect to the parent study (which can be inferred) 
    14     Term material 
    15     // don't we need a member that describes the quantity of the sample? --> should be in the templates 
    16  
    17     static constraints = { 
    18     } 
     18        static constraints = { 
     19        } 
    1920 
    2021}