com.stimulsoft.report.dictionary.dataSources
Class StiDataTableSource

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.dictionary.dataSources.StiDataSource
          extended by com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
              extended by com.stimulsoft.report.dictionary.dataSources.StiDataTableSource
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiName, IStiEnumerator, IStiInherited, IStiStateSaveRestore, java.lang.Cloneable
Direct Known Subclasses:
StiBusinessObjectSource, StiJsonSource, StiSqlSource, StiVirtualDataSource, StiXmlSource

public class StiDataTableSource
extends StiDataStoreSource

Describes the Data Source realizing access to DataTable.


Field Summary
 
Fields inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
columns, connectOnStart, detailRows, initForSubreport, RowToLevel
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiDataTableSource()
          Creates a new object of the type StiDataTableSource.
StiDataTableSource(java.lang.String nameInSource, java.lang.String name)
          Creates a new object of the type StiDataTableSource.
StiDataTableSource(java.lang.String nameInSource, java.lang.String name, java.lang.String alias)
          Creates a new object of the type StiDataTableSource.
 
Method Summary
 java.lang.String GetCategoryName()
          Returns the name to categories of the Data Source.
 java.lang.Class<? extends StiDatabase> getDatabaseClass()
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 
Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource
connect, connect, createNewTable, disconnect, getDataName, getNameInSource, getQuery, LoadFromJsonObject, setDataName, setNameInSource
 
Methods inherited from class com.stimulsoft.report.dictionary.dataSources.StiDataSource
CheckColumnsIndexs, clearAllStates, ClearAllStates, First, get, getAlias, GetChildDataSource, GetChildRelations, GetColumnIndex, getColumns, GetConditions, getConnectionOrder, getConnectOnStart, getCount, GetData, getData, GetData, GetDataRow, getDataTable, getDictionary, getInherited, getIsBof, getIsConnected, getIsEmpty, getIsEof, getItem, getKey, GetLevel, getName, getParameters, GetParentData, GetParentDataSource, GetParentRelations, getPosition, getPositionValue, getRealCount, getRelations, getRows, getVariableParameterByName, getVariableParameters, isEmpty, Last, Next, prepareData, Prior, ResetData, ResetDetailsRows, restoreState, RestoreState, saveState, setAlias, setColumns, setConnectionOrder, setConnectOnStart, setCorrectName, SetData, setDataTable, SetDetails, setDictionary, SetFilter, setInherited, setIsBof, setIsEof, setKey, setName, setParameters, setPosition, setPositionValue, setRows, SetSort, setVariableParameters, size, toString
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiDataTableSource

public StiDataTableSource()
Creates a new object of the type StiDataTableSource.


StiDataTableSource

public StiDataTableSource(java.lang.String nameInSource,
                          java.lang.String name)
Creates a new object of the type StiDataTableSource.

Parameters:
nameInSource - Name of DataTable in the DataStore.
name - Data Source name.

StiDataTableSource

public StiDataTableSource(java.lang.String nameInSource,
                          java.lang.String name,
                          java.lang.String alias)
Creates a new object of the type StiDataTableSource.

Parameters:
nameInSource - Name of DataTable in the DataStore.
name - Data Source name.
alias - Data Source alias.
Method Detail

GetCategoryName

public java.lang.String GetCategoryName()
Description copied from class: StiDataStoreSource
Returns the name to categories of the Data Source.

Overrides:
GetCategoryName in class StiDataStoreSource

getDatabaseClass

public java.lang.Class<? extends StiDatabase> getDatabaseClass()
Specified by:
getDatabaseClass in class StiDataSource

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiDataStoreSource
Throws:
JSONException