Ignore:
Timestamp:
Mar 2, 2010, 6:10:52 PM (10 years ago)
Author:
keesvb
Message:

revised templating system: templates are now per entity rather than per study, moved samples to Study

File:
1 edited

Legend:

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

    r212 r224  
    2020        Date lastUpdated
    2121        Date startDate
    22         Template template
    2322
    2423        static hasMany = [
     
    2928                events: Event,
    3029                samplingEvents: SamplingEvent,
     30                samples: Sample,
    3131                assays: Assay,
    3232                persons: StudyPerson,
     
    5050        }
    5151
    52         def giveAllFields() {
    53                 return template.studyFields;
    54         }
    55 
    56         def giveSamples() {
    57                 return samplingEvents*.samples;
    58         }
    5952}
Note: See TracChangeset for help on using the changeset viewer.