it.eng.spagobi.tools.dataset.metadata
Class SbiQueryDataSet

java.lang.Object
  extended by it.eng.spagobi.tools.dataset.metadata.SbiDataSetHistory
      extended by it.eng.spagobi.tools.dataset.metadata.SbiQueryDataSet

public class SbiQueryDataSet
extends SbiDataSetHistory

Author:
Angelo Bernabei angelo.bernabei@eng.it

Constructor Summary
SbiQueryDataSet()
           
 
Method Summary
 SbiDataSource getDataSource()
          Gets the data source.
 java.lang.String getQuery()
          Gets the query.
 java.lang.String getQueryScript()
          Get the script used to modify the query at runtime (optional)
 java.lang.String getQueryScriptLanguage()
          Get the language of the script used to modify the query at runtime
 void setDataSource(SbiDataSource dataSource)
          Sets the data source.
 void setQuery(java.lang.String query)
          Sets the query.
 void setQueryScript(java.lang.String queryScript)
          Set the script to use to modify the query at runtime
 void setQueryScriptLanguage(java.lang.String queryScriptLanguage)
          Set the language of the script used to modify the query at runtime
 
Methods inherited from class it.eng.spagobi.tools.dataset.metadata.SbiDataSetHistory
getCategory, getDsHId, getDsMetadata, getMetaVersion, getOrganization, getParameters, getPivotColumnName, getPivotColumnValue, getPivotRowName, getSbiDsConfig, getSbiVersionIn, getTimeIn, getTransformer, getUserIn, getVersionNum, isActive, isNumRows, setActive, setCategory, setDsHId, setDsMetadata, setMetaVersion, setNumRows, setOrganization, setParameters, setPivotColumnName, setPivotColumnValue, setPivotRowName, setSbiDsConfig, setSbiVersionIn, setTimeIn, setTransformer, setUserIn, setVersionNum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SbiQueryDataSet

public SbiQueryDataSet()
Method Detail

getQuery

public java.lang.String getQuery()
Gets the query.

Returns:
the query

setQuery

public void setQuery(java.lang.String query)
Sets the query.

Parameters:
query - the new query

getQueryScript

public java.lang.String getQueryScript()
Get the script used to modify the query at runtime (optional)

Returns:
the script used to modify the query at runtime (optional)

setQueryScript

public void setQueryScript(java.lang.String queryScript)
Set the script to use to modify the query at runtime

Parameters:
queryScript - script to use to modify the query at runtime (optional)

getQueryScriptLanguage

public java.lang.String getQueryScriptLanguage()
Get the language of the script used to modify the query at runtime

Returns:
the language of the script used to modify the query at runtime

setQueryScriptLanguage

public void setQueryScriptLanguage(java.lang.String queryScriptLanguage)
Set the language of the script used to modify the query at runtime

Parameters:
queryScriptLanguage - the language of the script used to modify the query at runtime

getDataSource

public SbiDataSource getDataSource()
Gets the data source.

Returns:
the data source

setDataSource

public void setDataSource(SbiDataSource dataSource)
Sets the data source.

Parameters:
dataSource - the new data source