Class 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)  
    • 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)
    • Method Detail

      • getCaption

        public java.lang.String getCaption()
      • getDbName

        public java.lang.String getDbName()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getDecimals

        public java.lang.String getDecimals()
      • getWrsAColumn

        public int getWrsAColumn()