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

Last change on this file since 784 was 784, checked in by duh, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Rev Date
File size: 748 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 */
9class Publication extends Identity {
10        String title
11        String pubMedID
12        String DOI      // document identifier, see dx.doi.org
13        String authorsList
14        String comments
15
16        static constraints = {
17                pubMedID(nullable: true, blank: true)
18                DOI(nullable: true, blank: true)
19                authorsList(nullable: true, blank: true)
20                comments(nullable: true, blank: true)
21        }
22}
Note: See TracBrowser for help on using the repository browser.