Last change
on this file since 69 was
69,
checked in by duh, 13 years ago
|
|
-
Property svn:keywords set to
Rev Date Author
|
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: 69 $ |
---|
12 | * $Author: duh $ |
---|
13 | * $Date: 2009-12-16 16:14:45 +0000 (wo, 16 dec 2009) $ |
---|
14 | */ |
---|
15 | class 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.