root/trunk/grails-app/domain/dbnp/studycapturing/Subject.groovy @ 388

Revision 388, 0.6 KB (checked in by roberth, 4 years ago)

Removed DomainTemplateField? references from Events, Samples and Subjects

  • Property svn:keywords set to Date Author Rev
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$
10 * $Author$
11 * $Date$
12 */
13class Subject extends TemplateEntity implements Serializable {
14        static searchable = true
15        String name
16        Term species
17
18        List<DomainTemplateField> giveDomainFields() {
19                [ new TemplateField(
20                            name: 'name',
21                            type: TemplateFieldType.STRING),
22                        new TemplateField(
23                            name: 'species',
24                            type: TemplateFieldType.ONTOLOGYTERM) ];
25        }
26}
Note: See TracBrowser for help on using the browser.