Changeset 455 for trunk/grails-app/domain
- Timestamp:
- May 24, 2010, 11:48:40 PM (13 years ago)
- Location:
- trunk/grails-app/domain/dbnp/studycapturing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r453 r455 30 30 new TemplateField( 31 31 name: 'startDate', 32 type: TemplateFieldType.DATE) 32 type: TemplateFieldType.DATE, 33 comment: 'Fill out the official start date or date of first action') 33 34 ] 34 35 -
trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy
r454 r455 21 21 * @return List 22 22 */ 23 List<TemplateField> giveDomainFields() { return Subject.domainFields } 24 static List<TemplateField> domainFields = 23 List<TemplateField> giveDomainFields() { 25 24 [ 26 25 new TemplateField( 27 26 name: 'name', 28 27 type: TemplateFieldType.STRING, 29 preferredIdentifier: true), 28 preferredIdentifier: true, 29 comment: 'Use the local subject name or the pre-defined name'), 30 30 new TemplateField( 31 31 name: 'species', 32 type: TemplateFieldType.ONTOLOGYTERM) 32 type: TemplateFieldType.ONTOLOGYTERM, 33 ontologies: [Ontology.findByNcboId(1132)], 34 comment: "The species name is based on the NEWT ontology; if a species is missing, please add it to the ontology using 'add more'") 33 35 ] 36 } 34 37 }
Note: See TracChangeset
for help on using the changeset viewer.