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

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

The options that 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: 146 bytes
Line 
1package dbnp.studycapturing
2
3class ParameterStringListItem {
4
5    String name;
6
7    static constraints = {
8        name(nullable: false);
9    }
10}
Note: See TracBrowser for help on using the repository browser.