Changeset 1385 for trunk/grails-app
- Timestamp:
- Jan 13, 2011, 12:24:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/TemplateFieldType.groovy
r1245 r1385 10 10 */ 11 11 public enum TemplateFieldType implements Serializable { 12 STRING ('S tring', 'Text' , 'max 255 chars'), // string13 TEXT ('Long string' , 'Text' , 'unlimited'),// text12 STRING ('Short text' , 'Text' , 'max 255 chars'), // string 13 TEXT ('Long text' , 'Text' , 'unlimited number of chars'), // text 14 14 //INTEGER ('Integer number' , 'Numerical' , '1'), // integer 15 15 //FLOAT ('Floating-point number', 'Numerical' , '1.0'), // float 16 DOUBLE (' Floating point number', 'Numerical' , '1.0'), // double17 STRINGLIST (' List of items' , 'Text' , ''), // string list18 ONTOLOGYTERM(' Ontology Reference' , 'Other' , ''), // ontology reference16 DOUBLE ('Decimal number', 'Numerical' , '1.31'), // double 17 STRINGLIST ('Dropdown selection of terms' , 'Text' , ''), // string list 18 ONTOLOGYTERM('Term from ontology' , 'Other' , 'A term that comes from one or more selected ontologies'), // ontology reference 19 19 DATE ('Date' , 'Date' , '2010-01-01'), // date 20 20 RELTIME ('Relative time' , 'Date' , '3 days'), // relative date, e.g. days since start of study 21 21 FILE ('File' , 'Other' , '') , // file 22 BOOLEAN (' Boolean', 'Other' , 'true/false'), // boolean22 BOOLEAN ('True/false' , 'Other' , 'true/false'), // boolean 23 23 TEMPLATE ('Template' , 'Other' , ''), // template 24 MODULE (' Module', 'Other' , ''), // third party connected module,25 LONG (' Integernumber' , 'Numerical' , '100') // long24 MODULE ('Omics module' , 'Other' , ''), // third party connected module, 25 LONG ('Natural number' , 'Numerical' , '100') // long 26 26 // TODO: add a timezone-aware date type to use for study start date 27 27
Note: See TracChangeset
for help on using the changeset viewer.