Last change
on this file since 80 was
80,
checked in by keesvb, 13 years ago
|
added Event and ProtocolInstance? classes, updated DataSource? to work with 1.2, added packages to dbnp.transcriptomics.data classes, added a number of scaffold controllers, added Selenium tests
|
File size:
287 bytes
|
Line | |
---|
1 | package dbnp.studycapturing |
---|
2 | |
---|
3 | class Event { |
---|
4 | |
---|
5 | String name |
---|
6 | Date startTime |
---|
7 | Date endTime |
---|
8 | Term classification |
---|
9 | ProtocolInstance protocol |
---|
10 | |
---|
11 | static hasMany = [subjects: Subject] |
---|
12 | |
---|
13 | static constraints = { |
---|
14 | } |
---|
15 | |
---|
16 | def getDuration() { |
---|
17 | endTime - startTime |
---|
18 | } |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.