org.pentaho.reporting.engine.classic.core.states
Class IndexedMetaTableModel

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.states.IndexedTableModel
      extended by org.pentaho.reporting.engine.classic.core.states.IndexedMetaTableModel
All Implemented Interfaces:
TableModel, MetaTableModel, CloseableTableModel

Deprecated. Do not use, class moved into "cache" package.

public class IndexedMetaTableModel
extends IndexedTableModel
implements MetaTableModel

Todo: Document me!

Date: 15.12.2009 Time: 12:05:09

Author:
Thomas Morgner.

Constructor Summary
IndexedMetaTableModel(MetaTableModel backend)
          Deprecated.  
 
Method Summary
 DataAttributes getCellDataAttributes(int row, int column)
          Deprecated. Returns the meta-attribute as Java-Object.
 DataAttributes getColumnAttributes(int column)
          Deprecated. Returns the column-level attributes for the given column.
 DataAttributes getTableAttributes()
          Deprecated. Returns table-wide attributes.
 boolean isCellDataAttributesSupported()
          Deprecated. Checks, whether cell-data attributes are supported by this tablemodel implementation.
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.states.IndexedTableModel
addTableModelListener, close, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Constructor Detail

IndexedMetaTableModel

public IndexedMetaTableModel(MetaTableModel backend)
Deprecated. 
Method Detail

getCellDataAttributes

public DataAttributes getCellDataAttributes(int row,
                                            int column)
Deprecated. 
Description copied from class: IndexedTableModel
Returns the meta-attribute as Java-Object. The object type that is expected by the caller is defined in the TableMetaData property set. It is the responsibility of the implementor to map the native meta-data model into a model suitable for reporting.

Be aware that cell-level attributes do not make it into the designtime dataschema, as this dataschema only looks at the structural metadata available and does not contain any data references.

Specified by:
getCellDataAttributes in interface MetaTableModel
Overrides:
getCellDataAttributes in class IndexedTableModel
Parameters:
row - the row of the cell for which the meta-data is queried.
column - the index of the column for which the meta-data is queried.
Returns:
the meta-data object.

isCellDataAttributesSupported

public boolean isCellDataAttributesSupported()
Deprecated. 
Description copied from class: IndexedTableModel
Checks, whether cell-data attributes are supported by this tablemodel implementation.

Specified by:
isCellDataAttributesSupported in interface MetaTableModel
Overrides:
isCellDataAttributesSupported in class IndexedTableModel
Returns:
true, if the model supports cell-level attributes, false otherwise.

getColumnAttributes

public DataAttributes getColumnAttributes(int column)
Deprecated. 
Description copied from class: IndexedTableModel
Returns the column-level attributes for the given column.

Specified by:
getColumnAttributes in interface MetaTableModel
Overrides:
getColumnAttributes in class IndexedTableModel
Parameters:
column - the column.
Returns:
data-attributes, never null.

getTableAttributes

public DataAttributes getTableAttributes()
Deprecated. 
Description copied from class: IndexedTableModel
Returns table-wide attributes. This usually contain hints about the data-source used to query the data as well as hints on the sort-order of the data.

Specified by:
getTableAttributes in interface MetaTableModel
Overrides:
getTableAttributes in class IndexedTableModel
Returns:
the table-attributes, never null.