Package sk.ipesoft.d2000.datatable
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>
- java.lang.Object
-
- sk.ipesoft.d2000.datatable.Table<T,R,B>
-
- sk.ipesoft.d2000.datatable.TableBase<T,R,B>
-
- Type Parameters:
T
- actual type of the implementationR
- actual type ofTableRow
implementationB
- actual type ofTableRowBean
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 ofTable
that are to be used for representation of unival records.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description sk.ipesoft.d2000.base.UnivalRecord<T,R,B>
getUnivalWrapper(D2Session session)
CreateUnivalRecord
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 tablerowCapacity
- 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 tablerowCapacity
- initially allocated capacity for table rows.
-
-
Method Detail
-
getUnivalWrapper
public sk.ipesoft.d2000.base.UnivalRecord<T,R,B> getUnivalWrapper(D2Session session)
CreateUnivalRecord
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
-
-