source: trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy @ 375

Last change on this file since 375 was 375, checked in by keesvb, 7 years ago

added giveDomainFields to TemplateEntity? entities, fixed some problems in BootStrap?

  • Property svn:keywords set to Date Author Rev
File size: 407 bytes
Line 
1package dbnp.studycapturing
2
3import dbnp.data.Term
4
5/**
6 * This domain class describes the subjects in a study.
7 *
8 * Revision information:
9 * $Rev: 375 $
10 * $Author: keesvb $
11 * $Date: 2010-04-23 09:26:57 +0000 (vr, 23 apr 2010) $
12 */
13class Subject extends TemplateEntity implements Serializable {
14        static searchable = true
15        String name
16        Term species
17
18        Map giveDomainFields() {
19                return ['name':TemplateFieldType.STRING,'species':TemplateFieldType.ONTOLOGYTERM]
20        }
21}
Note: See TracBrowser for help on using the repository browser.