|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataDocument
This interface enables you to get and set the database and the data definition.
Method Summary | |
---|---|
IDatabase |
getDatabase()
Returns the database object. |
IDataDefinition |
getDataDefinition()
Returns the DataDefinition . |
void |
setDatabase(IDatabase database)
Sets the database object. |
void |
setDataDefinition(IDataDefinition dataDefinition)
Sets the DataDefinition . |
Methods inherited from interface com.crystaldecisions.sdk.occa.report.document.IDocument |
---|
getName, getOptions, getRemoteID, getTimestamp, getUID, setName, setOptions, setRemoteID, setTimestamp, setUID |
Method Detail |
---|
IDatabase getDatabase()
Returns the database object.
This object contains the tables and fields available in the report.
To modify any database property, you must use the methods in the
DatabaseController
.
These methods also allow you to add and remove tables or fields.
com.crystaldecisions.ras.datamodel.IDatabase
object.IDataDefinition getDataDefinition()
Returns the DataDefinition
.
Returns an object containing formulas, filters, groups, parameters, sort objects,
and summaries. The DataDefinition
contains all the data
structures necessary to define and manipulate the data that
the report contains. Note that the report's data definition
is not concerned with how the report is laid out. That is,
it does not store information regarding graphics, charts,
borders, or text objects.
Although the DataDefinition
represents the data in a report,
it does not synchronize the data that your Report Application
Server client is manipulating with that on the server.
In order to properly modify the report, you must use the
appropriate controller.
com.crystaldecisions.sdk.occa.report.data.IDataDefinition
object.void setDatabase(IDatabase database)
Sets the database object.
This object contains the tables and fields available in the report.
To modify any database property, you must use the methods in the
DatabaseController
.
These methods also allow you to add and remove tables or fields.
database
- The database as a
com.crystaldecisions.sdk.occa.report.data.IDatabase
object.void setDataDefinition(IDataDefinition dataDefinition)
Sets the DataDefinition
.
Returns an object containing formulas, filters, groups, parameters, sort objects,
and summaries. The DataDefinition
contains all the data
structures necessary to define and manipulate the data that
the report contains. Note that the report's data definition
is not concerned with how the report is laid out. That is,
it does not store information regarding graphics, charts,
borders, or text objects.
Although the DataDefinition
represents the data in a report,
it does not synchronize the data that your Report Application
Server client is manipulating with that on the server.
In order to properly modify the report, you must use the
appropriate controller.
dataDefinition
- The com.crystaldecisions.sdk.occa.report.data.IDataDefinition
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |