Class TableBase<T extends sk.ipesoft.d2000.datatable.Table<T,R,B>,R extends sk.ipesoft.d2000.datatable.TableRow<T,R,B>,B extends sk.ipesoft.d2000.datatable.TableRowBean>

  • Type Parameters:
    T - actual type of the implementation
    R - actual type of TableRow implementation
    B - actual type of TableRowBean implementation


    public abstract class TableBase<T extends sk.ipesoft.d2000.datatable.Table<T,R,B>,R extends sk.ipesoft.d2000.datatable.TableRow<T,R,B>,B extends sk.ipesoft.d2000.datatable.TableRowBean>
    extends sk.ipesoft.d2000.datatable.Table<T,R,B>
    Base class for all implementations of Table that are to be used for representation of unival records.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class sk.ipesoft.d2000.datatable.Table

        initialCapacity
    • Constructor Summary

      Constructors 
      Constructor Description
      TableBase​(int columnCapacity, int rowCapacity)
      Initialize new instance with empty list of table rows.
      TableBase​(int columnCapacity, int rowCapacity, int rowCount)
      Initialize new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      sk.ipesoft.d2000.base.UnivalRecord<T,R,B> getUnivalWrapper​(D2Session session)
      Create UnivalRecord instance with appropriate reference to structure definition and value set to the current table instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class sk.ipesoft.d2000.datatable.Table

        addListener, appendNewRow, appendNewRows, createTableRow, deleteRow, deleteRows, ensureRowCapacity, equals, getBeanList, getColumn, getColumnCount, getColumns, getColumns, getRow, getRowCapacity, getRowCount, getRows, getRows, initColumns, initRows, insertNewRow, insertNewRows, insertRows, printToStringOnStdOut, removeListener, resetContents, resetContents, setBeanList, setValuesAsResult, sort, sort, swapRows, toString, trimCapacityToSize
    • Constructor Detail

      • TableBase

        public TableBase​(int columnCapacity,
                         int rowCapacity,
                         int rowCount)
        Initialize new instance.
        Parameters:
        columnCapacity - number of columns in the table
        rowCapacity - initially allocated capacity for table rows.
        rowCount - number of initially created table rows with all values set to invalid.
      • TableBase

        public TableBase​(int columnCapacity,
                         int rowCapacity)
        Initialize new instance with empty list of table rows.
        Parameters:
        columnCapacity - number of columns in the table
        rowCapacity - initially allocated capacity for table rows.
    • Method Detail

      • getUnivalWrapper

        public sk.ipesoft.d2000.base.UnivalRecord<T,R,B> getUnivalWrapper​(D2Session session)
        Create UnivalRecord instance with appropriate reference to structure definition and value set to the current table instance.
        Parameters:
        session - Session instance used for recognition of structure definition name to structure definition HOBJ
        Returns:
        unival record wrapper