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

Last change on this file since 256 was 256, checked in by tabma, 9 years ago
  • Template enums now used instead of POI Celltypes
  • Property svn:keywords set to Author Rev Date
File size: 645 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 index
19        String value
20
21    static constraints = {
22            name(unique: true)
23    }
24
25    String toString() {
26        return "Name:" + name + "/TemplateFieldType:" + templatefieldtype + "/Entity:" + entity + "/Property:" + property + "/Index:" + index + "/Value:" + value
27    }
28}
Note: See TracBrowser for help on using the repository browser.