Last change
on this file since 754 was
754,
checked in by keesvb, 13 years ago
|
big refactoring / change of the data model: implemented belongsTo everywhere where it should be, added comments to the domain classes, changed BootStrap? accordingly
|
-
Property svn:keywords set to
Date Rev Author
|
File size:
755 bytes
|
Line | |
---|
1 | package 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 | class Publication implements Serializable { |
---|
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.