source: trunk/grails-app/domain/dbnp/studycapturing/ProtocolParameter.groovy @ 139

Last change on this file since 139 was 139, checked in by keesvb, 13 years ago

changed domain model for events and protocol parameters, and for template field storage, added NuGO PPS3 events, added searchable plugin for full text queries, corrected a few HTML errors in create study

File size: 649 bytes
Line 
1package dbnp.studycapturing
2
3import dbnp.data.Term
4
5/**
6 * The ProtocolParameter class describes a protocol parameter, and belongs to the Protocol class.
7 * Actual values of this parameter are stored in the corresponding field of the ProtocolInstance class.
8 */
9class ProtocolParameter {
10
11    String name
12    ProtocolParameterType type
13    String unit
14    String description
15    Term reference
16
17    static hasMany = [listEntries : String] // to store the entries to choose from when the type is 'item from predefined list'
18
19    static constraints = {
20            unit(nullable: true)
21            reference(nullable: true)
22            description(nullable: true)
23    }
24}
Note: See TracBrowser for help on using the repository browser.