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

All Superinterfaces:
IClone, IDirectoryItem
All Known Implementing Classes:
ConnectionDirectoryItem

public interface IConnectionDirectoryItem
extends IDirectoryItem

This interface enables you to retrieve and set the connection.


Method Summary
 IConnection getConnection()
          Returns the Connection object.
 void setConnection(IConnection connection)
          Sets the Connection object.
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.data.IDirectoryItem
getChildren, getChildrenFetched, getIsLeaf, getName, getUID, setChildren, setChildrenFetched
 

Method Detail

getConnection

IConnection getConnection()

Returns the Connection object. The Connection object can be used to get and set information about a data source and the tables that it contains.

Returns:
The IConnection object.

setConnection

void setConnection(IConnection connection)

Sets the Connection object. The Connection object can be used to get and set information about a data source and the tables that it contains.

Parameters:
connection - The IConnection object.