Package de.businesscode.bcdui.wrs.export
Class ExcelSylkTemplate.ColumnMapping
- java.lang.Object
-
- de.businesscode.bcdui.wrs.export.ExcelSylkTemplate.ColumnMapping
-
- Enclosing class:
- ExcelSylkTemplate
public static class ExcelSylkTemplate.ColumnMapping extends java.lang.Object
This class encapsulates a pair of a column caption and the respective data column name. Use this class to specify the columns to be exported and the order in which they should appear.
-
-
Constructor Summary
Constructors Constructor Description ColumnMapping(java.lang.String columnCaption, java.lang.String dbColumnName)
Create a column mapping item.ColumnMapping(java.lang.String columnCaption, java.lang.String dbColumnName, java.lang.String decimals)
ColumnMapping(java.lang.String columnCaption, java.lang.String dbColumnName, java.lang.String decimals, int wrsAColumn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaption()
java.lang.String
getDbName()
java.lang.String
getDecimals()
int
getWrsAColumn()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ColumnMapping
public ColumnMapping(java.lang.String columnCaption, java.lang.String dbColumnName)
Create a column mapping item.- Parameters:
columnCaption
- The caption of the column which may contain whitespaces etc.dbColumnName
- The name of the column in the result set.
-
ColumnMapping
public ColumnMapping(java.lang.String columnCaption, java.lang.String dbColumnName, java.lang.String decimals, int wrsAColumn)
-
ColumnMapping
public ColumnMapping(java.lang.String columnCaption, java.lang.String dbColumnName, java.lang.String decimals)
-
-