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