source: trunk/grails-app/domain/nl/tno/massSequencing/Sequence.groovy @ 58

Last change on this file since 58 was 58, checked in by robert@…, 8 years ago

Implemented importing of classifications

File size: 553 bytes
Line 
1package nl.tno.massSequencing
2
3import nl.tno.massSequencing.classification.Taxon
4
5class Sequence {
6        // Unique name of this sequence
7        String name
8       
9        // Sequence itself. Might be used later on
10        // String value
11       
12        // Which sample contains this sequence
13        AssaySample assaySample
14       
15        // Classification of this sequence
16        Taxon classification
17       
18    static constraints = {
19                name(maxSize: 100)
20                classification(nullable: true)
21    }
22       
23        static mapping = {
24                name index: 'name_idx'
25                classification index: 'taxon_idx'
26                sequenceData index: 'sequenceData_idx'
27        }
28}
Note: See TracBrowser for help on using the repository browser.