source: trunk/grails-app/domain/Expression.groovy @ 68

Last change on this file since 68 was 68, checked in by duh, 11 years ago
  • changes headers conform standard
File size: 911 bytes
Line 
1/**
2 * The Expression Domain Class
3 *
4 * What is this?
5 *
6 * @author  Robert Kerkhoven
7 * @since   20091215
8 * @package Proteomics
9 *
10 * Revision information:
11 * $Rev$
12 * $Author$
13 * $Date$
14 */
15class Expression {
16    static mapping = {
17         table 'expression'
18         // version is set to false, because this isn't available by default for legacy databases
19         version false
20         id generator:'identity', column:'id'
21         chipAnnotationIdChipAnnotation column:'chip_annotation_id'
22    }
23    Integer id
24    Integer studySampleAssayId
25    String expressionValue
26    // Relation
27    ChipAnnotation chipAnnotationIdChipAnnotation
28
29    static constraints = {
30        id(max: 2147483647)
31        studySampleAssayId(max: 2147483647)
32        expressionValue()
33        chipAnnotationIdChipAnnotation()
34    }
35    String toString() {
36        return "${id}" 
37    }
38}
Note: See TracBrowser for help on using the repository browser.