Ignore:
Timestamp:
Mar 8, 2010, 5:53:30 PM (10 years ago)
Author:
tabma
Message:
  • columnmapping added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/importer/MappingColumn.groovy

    r190 r245  
    11package dbnp.importer
    22
     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*/
    312class MappingColumn {
    413
     
    716        Class entity
    817        String property
     18        Integer celltype
     19        Integer index
     20        String value
    921
    1022    static constraints = {
    1123            name(unique: true)
    1224    }
     25
     26    String toString() {
     27        return name + "/" + type + "/" + entity + "/" + property + "/" + celltype + "/" + index + "/" + value
     28    }
    1329}
Note: See TracChangeset for help on using the changeset viewer.