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

Last change on this file since 389 was 359, checked in by duh, 9 years ago
  • set keyword expansion
  • Property svn:keywords set to Date Author Rev
File size: 479 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * Enum describing the different assay types (aka omics submodules).
5 *
6 * Revision information:
7 * $Rev: 359 $
8 * $Author: duh $
9 * $Date: 2010-04-20 12:42:20 +0000 (di, 20 apr 2010) $
10 */
11public enum AssayType {
12        TRANSCRIPTOMICS('Transcriptomics'),
13        METABOLOMICS('Metabolomics'),
14        CLINICAL_DATA('Clinical data')
15
16        String name
17
18        AssayType(String name) {
19                this.name = name
20        }
21
22        static list() {
23                [TRANSCRIPTOMICS, METABOLOMICS, CLINICAL_DATA]
24        }
25
26        /*
27        def String toString() {
28                return this.name
29        }
30        */
31}
Note: See TracBrowser for help on using the repository browser.