source: trunk/grails-app/domain/dbnp/studycapturing/EventDescription.groovy @ 247

Last change on this file since 247 was 247, checked in by duh, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Rev Date
File size: 802 bytes
RevLine 
[81]1package dbnp.studycapturing
2
[106]3import dbnp.data.Term
4
[84]5/**
6 * Description of an event. Actual events are described by instances of the Event class.
7 * For the moment, EventDescription is not linked to a specific study or user.
8 * This means that the user can add events of all possible event types as defined by the (global) EventDescription collection.
[189]9 *
10 * Revision information:
11 * $Rev: 247 $
12 * $Author: duh $
13 * $Date: 2010-03-08 17:29:14 +0000 (ma, 08 mrt 2010) $
[84]14 */
[189]15class EventDescription implements Serializable {
[186]16        String name
17        String description
18        Term classification
19        Protocol protocol
20        boolean isSamplingEvent
[81]21
[186]22        static constraints = {
[209]23                name(nullable: false, blank: false)
24                description(nullable: false, blank: false)
[189]25                classification(nullable: true, blank: true)
[209]26                protocol(nullable: true, blank: true)
[186]27        }
[209]28
29        def String toString() {
30                return name
31        }
32}
Note: See TracBrowser for help on using the repository browser.