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

Last change on this file since 754 was 754, checked in by keesvb, 12 years ago

big refactoring / change of the data model: implemented belongsTo everywhere where it should be, added comments to the domain classes, changed BootStrap? accordingly

  • Property svn:keywords set to Date Rev Author
File size: 449 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * Enum describing the different assay types (aka known dbNP submodules).
5 *
6 * Revision information:
7 * $Rev: 754 $
8 * $Author: keesvb $
9 * $Date: 2010-07-30 13:05:41 +0000 (vr, 30 jul 2010) $
10 */
11public enum AssayType implements Serializable {
12        TRANSCRIPTOMICS('Transcriptomics'),
13        METABOLOMICS('Metabolomics'),
14        SIMPLE_ASSAY('Simple Assay')
15
16        String name
17
18        AssayType(String name) {
19                this.name = name
20        }
21
22        static list() {
23                [TRANSCRIPTOMICS, METABOLOMICS, SIMPLE_ASSAY]
24        }
25}
Note: See TracBrowser for help on using the repository browser.