source: trunk/grails-app/domain/dbnp/transcriptomics/magetab/idf/InvestigationDesign.groovy @ 70

Last change on this file since 70 was 70, checked in by keesvb, 10 years ago

updated to Grails 1.2, restructured packages, added some domain classes, removed obsolete code

  • Property svn:keywords set to Rev Date Author
File size: 937 bytes
Line 
1package dbnp.transcriptomics.magetab.idf
2
3class InvestigationDesign {
4
5    String title
6    String experimentDescription
7    String dateOfExperiment
8    String publicReleaseDate
9
10    static hasMany = [
11        experimentalFactors: Factor,
12        protocols: MAGEProtocol,
13        publications: Publication,
14        //sdrfs: dbnp.transcriptomics.magetab.sdrf.SampleAndDataRelationship,
15        userDefinedAttributes: UserDefinedAttribute,
16        contacts: Person,
17        normalizationTypes: OntologyTerm,
18        qualityControlTypes: OntologyTerm,
19        replicateTypes: OntologyTerm,
20        experimentalDesigns: OntologyTerm
21//        termSources: dbnp.transcriptomics.magetab.adf.TermSource
22    ]
23
24    static constraints = {
25        title(nullable:true,blank:true)
26        experimentDescription(nullable:true,blank:true)
27        dateOfExperiment(nullable:true,blank:true)
28        publicReleaseDate(nullable:true,blank:true)
29    }
30}
Note: See TracBrowser for help on using the repository browser.