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

Last change on this file since 1426 was 1426, checked in by work@…, 10 years ago
  • Resolved part of improvement #225
  • refactored the template model out of GSCF into the GDT (Grails Domain Templates) plugin version 0.0.1
  • still work needs to be done (move template editor into gdt, etcetera)
  • fix template owner
  • some methods are missing from Template, but most of it works
  • Property svn:keywords set to Author Date Rev
File size: 829 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: 1426 $
11 * $Author: work@osx.eu $
12 * $Date: 2011-01-21 18:37:02 +0000 (vr, 21 jan 2011) $
13 */
14class Publication extends nl.grails.plugins.gdt.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.