source: trunk/grails-app/domain/dbnp/importer/MappingColumn.groovy @ 247

Last change on this file since 247 was 247, checked in by duh, 9 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Rev Date
File size: 597 bytes
Line 
1package dbnp.importer
2
3/**
4* name: column name
5* type: GCSF field type
6* entity: GSCF entity class
7* property: GSCF field property
8* celltype: Excel cell type
9* index: column index
10* value: column value (optional, normally only name is used)
11*/
12class MappingColumn {
13
14        String name
15        dbnp.studycapturing.TemplateFieldType type
16        Class entity
17        String property
18        Integer celltype
19        Integer index
20        String value
21
22    static constraints = {
23            name(unique: true)
24    }
25
26    String toString() {
27        return name + "/" + type + "/" + entity + "/" + property + "/" + celltype + "/" + index + "/" + value
28    }
29}
Note: See TracBrowser for help on using the repository browser.