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

Last change on this file was 1457, checked in by work@…, 9 years ago
  • fixed missing imports caused by Intellij's smart refactoring... guess it's not that smart after all :)
  • Property svn:keywords set to Rev Author Date
File size: 829 bytes
Line 
1package dbnp.studycapturing
2import org.dbnp.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: 1457 $
12 * $Author: work@osx.eu $
13 * $Date: 2011-01-31 13:14:35 +0000 (ma, 31 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.