Class AbstractDataTable

java.lang.Object
com.mckoi.database.Table
com.mckoi.database.AbstractDataTable
All Implemented Interfaces:
RootTable, TableDataSource
Direct Known Subclasses:
DataTableFilter, DefaultDataTable

public abstract class AbstractDataTable extends Table implements RootTable
This is the abstract class implemented by a DataTable like table. Both DataTable and DataTableFilter objects extend this object.

Author:
Tobias Downer
  • Constructor Details

    • AbstractDataTable

      public AbstractDataTable()
  • Method Details

    • getTableName

      public TableName getTableName()
      Returns the fully resolved table name.
    • typeEquals

      public boolean typeEquals(RootTable table)
      This function is used to check that two tables are identical. We first check the table names are identical. Then check the column filter is the same.
      Specified by:
      typeEquals in interface RootTable
    • toString

      public String toString()
      Returns a string that represents this table.
      Overrides:
      toString in class Table