com.crystaldecisions.sdk.occa.report.data
Interface IDatabase

All Superinterfaces:
IClone
All Known Implementing Classes:
Database

public interface IDatabase
extends IClone

This interface defines a collection of tables from one or more database servers as well as a collection of TableJoin objects that define how the tables are joined.

See Also:
DatabaseController

Method Summary
 Connections getConnections()
          Gets information about the data source connections, including tables, logon credentials, etc.
 TableJoins getTableJoins()
          Returns the table links that are used in the report from the database.
 Tables getTables()
          Returns the tables from the database that are used in the report.
 void setConnections(Connections connections)
          Sets the data source connections information.
 void setTableJoins(TableJoins tableJoins)
          Sets the table links that are used in the report from the database.
 void setTables(Tables tables)
          Sets the tables from the database that are used in the report.
 

Method Detail

getTableJoins

TableJoins getTableJoins()

Returns the table links that are used in the report from the database.

Returns:
The table links as TableJoins objects.

getTables

Tables getTables()

Returns the tables from the database that are used in the report.

Returns:
The tables as Tables objects.

setTableJoins

void setTableJoins(TableJoins tableJoins)

Sets the table links that are used in the report from the database.

Parameters:
tableJoins - The table links as TableJoins objects.

setTables

void setTables(Tables tables)

Sets the tables from the database that are used in the report.

Parameters:
tables - The tables as Tables objects.

getConnections

Connections getConnections()
Gets information about the data source connections, including tables, logon credentials, etc.

Returns:
a collections of IConnection objects

setConnections

void setConnections(Connections connections)
Sets the data source connections information.

Parameters:
connections - a collection of IConnection objects
See Also:
IConnection