source: trunk/grails-app/domain/dbnp/studycapturing/TemplateField.groovy @ 145

Last change on this file since 145 was 145, checked in by duh, 10 years ago
  • wizard subjects page now build a table with features, does not work properly yet
  • youtube autoplay help items are possible now
  • development grouping page for selecting subjects and grouping them by dragging and dropping
File size: 425 bytes
Line 
1package dbnp.studycapturing
2
3/**
4 * This is the superclass for template fields. Normally, this class will not be instantiated.
5 *
6 * Revision information:
7 * $Rev$
8 * $Author$
9 * $Date$
10 */
11abstract class TemplateField implements Serializable {
12        String name
13        TemplateFieldType type
14        String unit
15
16        static constraints = {
17                name(unique: true)
18                unit(nullable: true, blank: true)
19        }
20
21        def String toString() {
22                return name
23        }
24}
Note: See TracBrowser for help on using the repository browser.