source: trunk/grails-app/domain/magetab/idf/InvestigationDesign.groovy @ 64

Last change on this file since 64 was 64, checked in by ademcan, 10 years ago

Loading new magetab data in the database from IDF file.

File size: 870 bytes
Line 
1package 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: Protocol,
13        publications: Publication,
14        //sdrfs: magetab.sdrf.SampleAndDataRelationship,
15        userDefinedAttributes: UserDefinedAttribute,
16        contacts: Person,
17        normalizationTypes: OntologyTerm,
18        qualityControlTypes: OntologyTerm,
19        replicateTypes: OntologyTerm,
20        experimentalDesigns: OntologyTerm
21//        termSources: 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.