source: trunk/grails-app/domain/dbnp/studycapturing/ParameterStringListItem.groovy @ 235

Last change on this file since 235 was 235, checked in by jahn, 11 years ago

The options that protocol parameters can take on are no longer represented by Strings. Instead we created a wrapper Object (ParameterStringListItem?). In this way we avoid problems with multi-user operations. Such problems can arrive as follows: if options are Strings, there is no difference beteween them and their identifier. When instead lists are wrapped, changing the strings does not affect their identifier, and thus simultanious read/write operations become less error prone.

File size: 191 bytes
Line 
1package dbnp.studycapturing
2
3class ParameterStringListItem {
4
5    String name;
6
7    static constraints = {
8        name(nullable: false);
9    }
10
11
12    def String toString() { return name }
13
14}
Note: See TracBrowser for help on using the repository browser.