com.stimulsoft.report.dictionary.data
Class DataRow

java.lang.Object
  extended by com.stimulsoft.report.dictionary.data.DataRow

public class DataRow
extends java.lang.Object

Copyright Stimulsoft


Constructor Summary
DataRow(DataCellCollection cells)
           
DataRow(DataTable table)
           
 
Method Summary
 void addCell(java.lang.String columnName, java.lang.Object value)
           
 void addSqlCell(java.lang.String columnName, int columnSqlIndex, int columnType, java.lang.Object rs, java.lang.Boolean convertNull)
           
 void addSqlCell(java.lang.String columnName, int columnSqlIndex, int columnType, java.sql.ResultSet rs)
           
 void addSqlCell(java.lang.String columnName, int columnSqlIndex, int columnType, java.sql.ResultSet rs, java.lang.Boolean convertNull)
           
 void addValue(java.lang.String columnName, java.lang.Object value)
           
static DataRow create(DataTable table)
           
static DataCell create(StiDataColumn column, int columnIndex, int columnType, java.lang.Object rs, java.lang.Boolean convertNull)
           
static DataCell create(StiDataColumn column, int columnIndex, int columnType, java.sql.ResultSet rs, java.lang.Boolean convertNull)
           
static DataCell create(StiDataColumn column, java.lang.Object value)
           
 boolean existChildRows(StiDataSource childSource)
           
 boolean existParent(StiDataSource parentSource)
           
 DataCell getCell(java.lang.String columnName)
           
 java.util.ArrayList<DataRow> getChildRows(StiDataSource childSource)
           
 java.util.ArrayList<DataRow> getChildRows(java.lang.String childSourceName)
           
 int getColumnIndex(java.lang.String columnName)
           
 DataCellCollection getColumns()
           
 DataRow getParentRow(StiDataSource parentSource)
           
 java.lang.Object getValue(int columnIndex)
           
 java.lang.Object getValue(java.lang.String columnName)
           
static java.lang.Object getValue(java.lang.String val, int columnIndex, java.lang.Object ocs)
           
 java.lang.Object getValueAsObject(java.lang.String columnName)
           
 void setChildRows(StiDataSource childSource, java.util.ArrayList<DataRow> cRows)
           
 void setColumns(DataCellCollection cells)
           
 void setParentRow(StiDataSource parentSource, DataRow parentRow)
           
 void setValue(int columnIndex, java.lang.Object value)
           
 void setValue(java.lang.String column, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataRow

public DataRow(DataCellCollection cells)

DataRow

public DataRow(DataTable table)
Method Detail

getCell

public DataCell getCell(java.lang.String columnName)

setColumns

public void setColumns(DataCellCollection cells)

getColumns

public DataCellCollection getColumns()

setValue

public void setValue(java.lang.String column,
                     java.lang.Object value)

setValue

public void setValue(int columnIndex,
                     java.lang.Object value)

addValue

public void addValue(java.lang.String columnName,
                     java.lang.Object value)

getValue

public java.lang.Object getValue(int columnIndex)

getValueAsObject

public java.lang.Object getValueAsObject(java.lang.String columnName)

getValue

public java.lang.Object getValue(java.lang.String columnName)

getColumnIndex

public int getColumnIndex(java.lang.String columnName)

create

public static DataRow create(DataTable table)

addCell

public void addCell(java.lang.String columnName,
                    java.lang.Object value)

addSqlCell

public void addSqlCell(java.lang.String columnName,
                       int columnSqlIndex,
                       int columnType,
                       java.sql.ResultSet rs)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

addSqlCell

public void addSqlCell(java.lang.String columnName,
                       int columnSqlIndex,
                       int columnType,
                       java.sql.ResultSet rs,
                       java.lang.Boolean convertNull)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

addSqlCell

public void addSqlCell(java.lang.String columnName,
                       int columnSqlIndex,
                       int columnType,
                       java.lang.Object rs,
                       java.lang.Boolean convertNull)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setParentRow

public void setParentRow(StiDataSource parentSource,
                         DataRow parentRow)

getParentRow

public DataRow getParentRow(StiDataSource parentSource)

existParent

public boolean existParent(StiDataSource parentSource)

existChildRows

public boolean existChildRows(StiDataSource childSource)

setChildRows

public void setChildRows(StiDataSource childSource,
                         java.util.ArrayList<DataRow> cRows)

getChildRows

public java.util.ArrayList<DataRow> getChildRows(StiDataSource childSource)

getChildRows

public java.util.ArrayList<DataRow> getChildRows(java.lang.String childSourceName)

create

public static DataCell create(StiDataColumn column,
                              int columnIndex,
                              int columnType,
                              java.sql.ResultSet rs,
                              java.lang.Boolean convertNull)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

create

public static DataCell create(StiDataColumn column,
                              int columnIndex,
                              int columnType,
                              java.lang.Object rs,
                              java.lang.Boolean convertNull)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getValue

public static java.lang.Object getValue(java.lang.String val,
                                        int columnIndex,
                                        java.lang.Object ocs)

create

public static DataCell create(StiDataColumn column,
                              java.lang.Object value)


Copyright © 2018 Stimulsoft. All Rights Reserved.