org.eclipse.birt.data.engine.api
Interface IBaseDataSourceDesign

All Known Subinterfaces:
IOdaDataSourceDesign, IScriptDataSourceDesign
All Known Implementing Classes:
BaseDataSourceDesign, OdaDataSourceDesign, ScriptDataSourceDesign

public interface IBaseDataSourceDesign

Describes the static design of any data source (connection) to be used by the Data Engine. Each sub-interface defines a specific type of data source.


Method Summary
 java.lang.String getAfterCloseScript()
          Gets the afterClose script of the data source.
 java.lang.String getAfterOpenScript()
          Gets the afterOpen script of the data source.
 java.lang.String getBeforeCloseScript()
          Gets the beforeClose script to be called just before closing the data source (connection).
 java.lang.String getBeforeOpenScript()
          Gets the beforeOpen script to be called just before opening the data source (connection).
 IBaseDataSourceEventHandler getEventHandler()
          Gets the event handler for the data source
 java.lang.String getName()
          Gets the name of this data source.
 

Method Detail

getName

public java.lang.String getName()
Gets the name of this data source.


getBeforeOpenScript

public java.lang.String getBeforeOpenScript()
Gets the beforeOpen script to be called just before opening the data source (connection).

Returns:
The beforeOpen script. Null if none is defined.

getAfterOpenScript

public java.lang.String getAfterOpenScript()
Gets the afterOpen script of the data source.

Returns:
The afterOpen script. Null if none is defined.

getBeforeCloseScript

public java.lang.String getBeforeCloseScript()
Gets the beforeClose script to be called just before closing the data source (connection).

Returns:
The beforeClose script. Null if none is defined.

getAfterCloseScript

public java.lang.String getAfterCloseScript()
Gets the afterClose script of the data source.

Returns:
The afterClose script. Null if none is defined.

getEventHandler

public IBaseDataSourceEventHandler getEventHandler()
Gets the event handler for the data source



Copyright © 2005 Actuate Corp. All rights reserved.