Class DataTable<S,​T>

  • Type Parameters:
    S - header type, should be Serializable.
    T - cell type, should be Serializable.
    All Implemented Interfaces:
    Serializable

    public class DataTable<S,​T>
    extends Object
    implements Serializable
    Simple Model holding headers and data rows of a fixed data table for outputting information
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • DataTable

        public DataTable()
      • DataTable

        public DataTable​(List<S> columnHeaders,
                         List<Map<S,​T>> rows)
        Parameters:
        columnHeaders - an List of clumn headers
        rows - an List of Maps for the rows
    • Method Detail

      • getColumnHeaders

        public List<S> getColumnHeaders()
      • setColumnHeaders

        public void setColumnHeaders​(List<S> columnHeaders)
      • getRows

        public List<Map<S,​T>> getRows()
      • setRows

        public void setRows​(List<Map<S,​T>> rows)