source: trunk/grails-app/domain/dbnp/studycapturing/Assay.groovy @ 554

Last change on this file since 554 was 554, checked in by jahn, 11 years ago

Refactored member 'code' of Study. Changed it from being template to being a proper member. This allows using as external ID in module communication.

  • Property svn:keywords set to Date Rev Author
File size: 563 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * This class describes an Assay, which describes the application of a certain (omics) measurement to multiple samples.
5 * The actual data of these measurements are described in submodules of dbNP. The type property describes in which module
6 * this data can be found.
7 */
8class Assay {
9    String name
10    AssayModule module
11    long externalAssayID // the assay ID the assay has in the external module
12       
13    static hasMany = [samples : Sample]
14
15    static constraints = {
16        externalAssayID( nullable:true )
17    }
18}
Note: See TracBrowser for help on using the repository browser.