source: trunk/grails-app/domain/dbnp/studycapturing/AssayType.groovy @ 84

Last change on this file since 84 was 84, checked in by keesvb, 10 years ago

updated domain classes: added comments, carried out some normalization

File size: 474 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * Enum describing the different assay types (aka omics submodules).
5 */
6public enum AssayType {
7    TRANSCRIPTOMICS('Transcriptomics'),
8    METABOLOMICS('Metabolomics'),
9    CLINICAL_CHEMISTRY('Clinical Chemistry')
10
11    String name
12
13    AssayType(String name) {
14     this.name = name
15    }
16
17    static list() {
18     [TRANSCRIPTOMICS, METABOLOMICS, CLINICAL_CHEMISTRY]
19    }
20
21    /*def String toString() {
22        return this.name
23    }*/
24
25}
Note: See TracBrowser for help on using the repository browser.