source: trunk/grails-app/domain/magetab/adf/ArrayDesign.groovy @ 61

Last change on this file since 61 was 61, checked in by keesvb, 13 years ago

fixed the bugs: Hibernate had difficulty with a field named 'version' and a class named 'Extract' both for reserved name problems

File size: 749 bytes
Line 
1package magetab.adf
2
3class ArrayDesign {
4
5        String arrayDesignName
6        String arrayDesignFile
7        String versionNumber // renamed from version to versionNumber to circumvent problems with Hibernate
8        String provider
9        String printingProtocol
10        magetab.idf.OntologyTerm arrayDesignRef
11        magetab.idf.OntologyTerm surfaceType
12        magetab.idf.OntologyTerm sequencePolymerType
13        magetab.idf.OntologyTerm technologyType
14        magetab.idf.OntologyTerm substrateType
15
16        static hasMany = [
17                designElements:DesignElement,
18                userDefinedAttributes:magetab.idf.UserDefinedAttribute
19        ]
20
21        static constraints = {
22                arrayDesignRef(nullable:true)
23                surfaceType(nullable:true)
24                sequencePolymerType(nullable:true)
25                technologyType(nullable:true)
26                substrateType(nullable:true)
27}
28
29}
30
Note: See TracBrowser for help on using the repository browser.