source: trunk/grails-app/domain/dbnp/studycapturing/Publication.groovy @ 1452

Last change on this file since 1452 was 1452, checked in by work@…, 12 years ago
  • changed gdt imports
  • added default searchable config
  • did some debuggin on #227 but issue is still there... also if searchable is enabled the project becomes really slow... perhaps we need to get rid of searchable and implement search fnctionality in another way?
  • Property svn:keywords set to Rev Author Date
File size: 838 bytes
Line 
1package dbnp.studycapturing
2import nl.grails.plugins.gdt.*
3
4/**
5 * The Publication class represents a PubMed-registered publication.
6 * Publication entries should be created using the study wizard, which connects to PubMed to fill in the fields.
7 * Since a Publication can apply to multiple studies, the entries in this table form an independent 'library'
8 * and are not connected to Study instances via a cascading relation.
9 *
10 * Revision information:
11 * $Rev: 1452 $
12 * $Author: work@osx.eu $
13 * $Date: 2011-01-27 17:37:15 +0000 (do, 27 jan 2011) $
14 */
15class Publication extends Identity {
16        String title
17        String pubMedID
18        String DOI      // document identifier, see dx.doi.org
19        String authorsList
20        String comments
21
22        static constraints = {
23                pubMedID(nullable: true, blank: true)
24                DOI(nullable: true, blank: true)
25                authorsList(nullable: true, blank: true)
26                comments(nullable: true, blank: true)
27        }
28}
Note: See TracBrowser for help on using the repository browser.