source: trunk/grails-app/domain/dbnp/studycapturing/Protocol.groovy @ 190

Last change on this file since 190 was 190, checked in by duh, 11 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Date Author
File size: 782 bytes
Line 
1package dbnp.studycapturing
2
3import dbnp.data.Term
4
5/**
6 * Class describing the available protocols in the database, and their respective protocol parameters
7 * Concrete instances of protocol application (and parameter values) should be stored as ProtocolInstance
8 * For the moment, there is one global Protocol store. From user experience, it should become clear if this store
9 * has to remain global or should be bound to specific templates, users, user groups or even studies.
10 *
11 * Revision information:
12 * $Rev: 190 $
13 * $Author: duh $
14 * $Date: 2010-02-10 16:36:10 +0000 (wo, 10 feb 2010) $
15 */
16class Protocol implements Serializable {
17    String name
18    Term   reference
19   
20    static hasMany = [parameters : ProtocolParameter, compounds: Compound]
21    static constraints = {
22        reference(nullable: true, blank: true)
23    }
24}
Note: See TracBrowser for help on using the repository browser.