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

Last change on this file since 162 was 162, checked in by duh, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to
    Date
    Author
    Rev
File size: 474 bytes
RevLine 
[81]1package dbnp.studycapturing
2
[84]3/**
4 * Enum describing the different assay types (aka omics submodules).
5 */
[81]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.