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

All Superinterfaces:
IClone, IProcedure, ITable
All Known Implementing Classes:
CommandTable

public interface ICommandTable
extends IProcedure

Interface for the CommandTable object. This interface allows you to get and set the command text. The command text must be a valid SQL statement. Before you construct the SQL statement, make sure that you create and set a CommandTable object and ConnectionInfo object. Once you have set the CommandText value, add the command table to the report.


Method Summary
 java.lang.String getCommandText()
           Returns the command text.
 void setCommandText(java.lang.String text)
           Sets the command text.
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.data.IProcedure
getParameters, setParameters
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.data.ITable
getAlias, getConnection, getConnectionInfo, getDataFields, getDescription, getIndexes, getName, getQualifiedName, setAlias, setConnection, setConnectionInfo, setDataFields, setDescription, setIndexes, setName, setQualifiedName
 

Method Detail

getCommandText

java.lang.String getCommandText()

Returns the command text. The command text is a SQL statement added through the CommandTable to the report.

Returns:
The command text (SQL statement) as a String.

setCommandText

void setCommandText(java.lang.String text)

Sets the command text. The command text is a SQL statement added through the CommandTable to the report.

Parameters:
text - The command text (SQL statement) as a String.