Last change
on this file since 68 was
68,
checked in by duh, 13 years ago
|
- changes headers conform standard
|
File size:
911 bytes
|
Rev | Line | |
---|
[66] | 1 | /** |
---|
[68] | 2 | * The Expression Domain Class |
---|
[66] | 3 | * |
---|
[68] | 4 | * What is this? |
---|
[66] | 5 | * |
---|
[68] | 6 | * @author Robert Kerkhoven |
---|
| 7 | * @since 20091215 |
---|
| 8 | * @package Proteomics |
---|
[66] | 9 | * |
---|
[68] | 10 | * Revision information: |
---|
| 11 | * $Rev$ |
---|
| 12 | * $Author$ |
---|
| 13 | * $Date$ |
---|
[66] | 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.