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

Last change on this file since 247 was 247, checked in by duh, 9 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Rev Date
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: 247 $
8 * $Author: duh $
9 * $Date: 2010-03-08 17:29:14 +0000 (ma, 08 mrt 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.