Last change
on this file since 63 was
63,
checked in by ademcan, 13 years ago
|
Parsing and Loading information from an IDF file (MageTab?). Actually working for Person, Publication and Protocol attributs.
The file path has to be changed for every user in LoadController?.groovy
|
File size:
575 bytes
|
Line | |
---|
1 | package magetab.idf |
---|
2 | |
---|
3 | class Protocol { |
---|
4 | |
---|
5 | String name |
---|
6 | String description |
---|
7 | String software |
---|
8 | String hardware |
---|
9 | OntologyTerm type |
---|
10 | String parameters |
---|
11 | String contact |
---|
12 | |
---|
13 | static hasMany = [ |
---|
14 | parameters: Parameter |
---|
15 | ] |
---|
16 | |
---|
17 | static constraints = { |
---|
18 | type(nullable: true,blank:true) |
---|
19 | name(nullable:true,blank:true) |
---|
20 | description(nullable:true,blank:true) |
---|
21 | software(nullable:true,blank:true) |
---|
22 | hardware(nullable:true,blank:true) |
---|
23 | parameters(nullable:true,blank:true) |
---|
24 | contact(nullable:true,blank:true) |
---|
25 | } |
---|
26 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.