Changeset 81 for trunk/grails-app/domain


Ignore:
Timestamp:
Jan 11, 2010, 10:33:01 AM (14 years ago)
Author:
keesvb
Message:

updated domain classes: added event description, sample and assay

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

Legend:

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

    r80 r81  
    33class Event {
    44
    5     String name
     5    Subject subject
     6    EventDescription eventDescription
    67    Date startTime
    78    Date endTime
    8     Term classification
    9     ProtocolInstance protocol
    10 
    11     static hasMany = [subjects: Subject]
    129
    1310    static constraints = {
  • trunk/grails-app/domain/dbnp/studycapturing/ProtocolInstance.groovy

    r80 r81  
    55    Protocol protocol
    66
    7     static hasMany = [stringParameters : String, numberParameters : double, listParameters: long]
     7    // TODO: check how the values can be indexed so that they can be mapped to their respective parameters (should we should use maps here?)
     8    static hasMany = [stringParameterValues : String, numberParameterValues : double, listParameterValues: long]
    89
    910    static constraints = {
Note: See TracChangeset for help on using the changeset viewer.