Key Methods of the DataSource Interface

The DataSource interface includes the following methods:

The following table shows the default type of DataDirector that is created by each presentation bean.

Presentation Bean

Type of DataDirector

Table

Creates a relational DataDirector by default.

Crosstab

Creates a cube DataDirector by default.

Graph

Creates either a relational or a cube DataDirector depending on the setting of the graph's DataDirectorType property. The default value of this property causes a cube DataDirector to be created.

Presentation beans require that there is a meaningful implementation of at
least one of the methods in the DataSource interface. The other method can
return Null.