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()
          For internal use only
 Tables getConnectionTables(java.lang.String connectionName)
          For internal use only.
 IField getDBFieldByUniqueName(java.lang.String fieldUniqueName)
          For internal use only.
 ITable getTableByAlias(java.lang.String tableAlias)
          For internal use only
 ITable getTableByName(java.lang.String tableName)
          For internal use only
 TableJoins getTableJoins()
          For internal use only
 TableLinks getTableLinks()
          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)
          For internal use only
 void setTableJoins(TableJoins tableJoins)
          For internal use only
 void setTableLinks(TableLinks tableLinks)
          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

getTableLinks

TableLinks getTableLinks()

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

Returns:
The table links as TableLinks collection.
See Also:
ITableLink

getTableJoins

TableJoins getTableJoins()
For internal use only


getTables

Tables getTables()

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

Returns:
The tables as Tables objects.

setTableLinks

void setTableLinks(TableLinks tableLinks)

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

Parameters:
tableLinks - The table links as TableLinks collection.
See Also:
ITableLink

setTableJoins

void setTableJoins(TableJoins tableJoins)
For internal use only


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()
For internal use only


setConnections

void setConnections(Connections connections)
For internal use only


getTableByName

ITable getTableByName(java.lang.String tableName)
For internal use only


getTableByAlias

ITable getTableByAlias(java.lang.String tableAlias)
For internal use only


getDBFieldByUniqueName

IField getDBFieldByUniqueName(java.lang.String fieldUniqueName)
For internal use only.


getConnectionTables

Tables getConnectionTables(java.lang.String connectionName)
For internal use only.