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

Last change on this file since 822 was 822, checked in by duh, 12 years ago
  • added revision information to the header
  • Property svn:keywords set to Author Rev Date
File size: 807 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * The Publication class represents a PubMed-registered publication.
5 * Publication entries should be created using the study wizard, which connects to PubMed to fill in the fields.
6 * Since a Publication can apply to multiple studies, the entries in this table form an independent 'library'
7 * and are not connected to Study instances via a cascading relation.
8 *
9 * Revision information:
10 * $Rev: 822 $
11 * $Author: duh $
12 * $Date: 2010-08-17 14:32:41 +0000 (di, 17 aug 2010) $
13 */
14class Publication extends Identity {
15        String title
16        String pubMedID
17        String DOI      // document identifier, see dx.doi.org
18        String authorsList
19        String comments
20
21        static constraints = {
22                pubMedID(nullable: true, blank: true)
23                DOI(nullable: true, blank: true)
24                authorsList(nullable: true, blank: true)
25                comments(nullable: true, blank: true)
26        }
27}
Note: See TracBrowser for help on using the repository browser.