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

Last change on this file since 145 was 145, checked in by duh, 13 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
RevLine 
[84]1package dbnp.studycapturing
2
3/**
4 * This is the superclass for template fields. Normally, this class will not be instantiated.
[145]5 *
6 * Revision information:
7 * $Rev$
8 * $Author$
9 * $Date$
[84]10 */
[145]11abstract class TemplateField implements Serializable {
12        String name
13        TemplateFieldType type
14        String unit
[84]15
[145]16        static constraints = {
17                name(unique: true)
18                unit(nullable: true, blank: true)
19        }
[92]20
21        def String toString() {
22                return name
23        }
[84]24}
Note: See TracBrowser for help on using the repository browser.