Changeset 192 for trunk/grails-app/domain
- Timestamp:
- Feb 11, 2010, 5:47:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/AssayType.groovy
r190 r192 3 3 /** 4 4 * Enum describing the different assay types (aka omics submodules). 5 * 6 * Revision information: 7 * $Rev$ 8 * $Author$ 9 * $Date$ 5 10 */ 6 11 public enum AssayType { 7 8 9 12 TRANSCRIPTOMICS('Transcriptomics'), 13 METABOLOMICS('Metabolomics'), 14 CLINICAL_DATA('Clinical data') 10 15 11 16 String name 12 17 13 14 15 18 AssayType(String name) { 19 this.name = name 20 } 16 21 17 18 19 22 static list() { 23 [TRANSCRIPTOMICS, METABOLOMICS, CLINICAL_DATA] 24 } 20 25 21 /*def String toString() { 22 return this.name 23 }*/ 24 26 /* 27 def String toString() { 28 return this.name 29 } 30 */ 25 31 }
Note: See TracChangeset
for help on using the changeset viewer.