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

Last change on this file since 389 was 389, checked in by duh, 9 years ago
  • reverted changes of revisions 386, 387 and 388 as they completely broke the repository (you need to get cake now! ;)
  • committed development version of modified study capture wizard (works until events)
  • Property svn:keywords set to Date Author Rev
File size: 407 bytes
RevLine 
[77]1package dbnp.studycapturing
[139]2
[106]3import dbnp.data.Term
4
[84]5/**
6 * This domain class describes the subjects in a study.
[145]7 *
8 * Revision information:
9 * $Rev: 389 $
10 * $Author: duh $
11 * $Date: 2010-04-28 14:28:39 +0000 (wo, 28 apr 2010) $
[84]12 */
[212]13class Subject extends TemplateEntity implements Serializable {
[139]14        static searchable = true
[136]15        String name
16        Term species
[375]17
[389]18        Map giveDomainFields() {
19                return ['name':TemplateFieldType.STRING,'species':TemplateFieldType.ONTOLOGYTERM]
[375]20        }
[77]21}
Note: See TracBrowser for help on using the repository browser.