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

Last change on this file since 251 was 251, checked in by tabma, 9 years ago
  • Property svn:keywords set to Author Rev Date
File size: 675 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 templatefieldtype
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:" + name + "/Type:" + templatefieldtype + "/Entity:" + entity + "/Property:" + property + "/Celltype:" + celltype + "/Index:" + index + "/Value:" + value
28    }
29}
Note: See TracBrowser for help on using the repository browser.