jimm.datavision.test.mock.source
Class MockAggregateDataSource

java.lang.Object
  extended by jimm.datavision.source.DataSource
      extended by jimm.datavision.test.mock.source.MockDataSource
          extended by jimm.datavision.test.mock.source.MockAggregateDataSource
All Implemented Interfaces:
Writeable

public class MockAggregateDataSource
extends MockDataSource


Field Summary
 
Fields inherited from class jimm.datavision.test.mock.source.MockDataSource
columns, DATABASE_NAME, name, tables, tablesUsedInReport
 
Fields inherited from class jimm.datavision.source.DataSource
metadataURL, query, report
 
Constructor Summary
MockAggregateDataSource(Report r)
           
 
Method Summary
 DataCursor execute()
           
 int indexOfSelectable(Selectable sel)
          Returns the index of the specified selectable.
 
Methods inherited from class jimm.datavision.test.mock.source.MockDataSource
addColumn, areRecordsSelectable, areRecordsSortable, canGroupRecords, canJoinTables, columns, createAggregateTestTable, createAllCapsTable, createJobsTable, createOfficeTable, doWriteXML, findColumn, findTable, findTableWithId, isConnectionEditable, isSQLGenerated, tables, tablesUsedInReport
 
Methods inherited from class jimm.datavision.source.DataSource
addColumn, alreadyUsedSourceFile, canRunReports, columnsInTablesUsedInReport, containsReferenceTo, getQuery, getReport, getSourceFile, needsSourceFile, readMetadataFrom, reloadColumns, removeSort, reuseSourceFile, setSourceFile, usesSourceFile, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockAggregateDataSource

public MockAggregateDataSource(Report r)
Method Detail

execute

public DataCursor execute()
                   throws java.lang.Exception
Overrides:
execute in class MockDataSource
Throws:
java.lang.Exception

indexOfSelectable

public int indexOfSelectable(Selectable sel)
Description copied from class: DataSource
Returns the index of the specified selectable.

Overrides:
indexOfSelectable in class MockDataSource
Parameters:
sel - a selectable