jimm.datavision.source.sql
Class SubreportDatabase

java.lang.Object
  extended by jimm.datavision.source.DataSource
      extended by jimm.datavision.source.sql.Database
          extended by jimm.datavision.source.sql.SubreportDatabase
All Implemented Interfaces:
Writeable

public class SubreportDatabase
extends Database

The only difference between this and a Database is the type of the query that it holds and the single constructor.

Author:
Jim Menard, jimm@io.com

Field Summary
 
Fields inherited from class jimm.datavision.source.sql.Database
conn, connectionOwnedByMe, connInfo, DB_OBJECT_TYPES, driverClassName, hasPassword, name, quoteString, schemaName, storesLowerCaseIdentifiers, storesUpperCaseIdentifiers, tableCacheMap, tables, username
 
Fields inherited from class jimm.datavision.source.DataSource
metadataURL, query, report
 
Constructor Summary
SubreportDatabase(java.sql.Connection conn, Subreport report)
           
 
Method Summary
 
Methods inherited from class jimm.datavision.source.sql.Database
areRecordsSelectable, areRecordsSortable, canGroupRecords, canJoinTables, columns, doWriteXML, execute, findColumn, findTable, findTableWithId, getConnection, getConnectionInfo, getDriverClassName, getName, getPassword, getUserName, initializeConnection, isConnectionEditable, isSQLGenerated, loadAllTables, loadTablesUsingSchemaNameAndTypes, quoteString, reset, setConnectionInfo, setDriverClassName, setName, setPassword, setUserName, storesLowerCaseIdentifiers, storesUpperCaseIdentifiers, tables, tablesUsedInReport
 
Methods inherited from class jimm.datavision.source.DataSource
addColumn, alreadyUsedSourceFile, canRunReports, columnsInTablesUsedInReport, containsReferenceTo, getQuery, getReport, getSourceFile, indexOfSelectable, 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

SubreportDatabase

public SubreportDatabase(java.sql.Connection conn,
                         Subreport report)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException