Class DataTable
- java.lang.Object
- 
- jadex.extension.envsupport.evaluation.DataTable
 
- 
 public class DataTable extends java.lang.ObjectBasic data structure for all collected data.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.String[]columnnamesThe table column names.protected java.util.MapcolumnsThe map of column indices.protected java.lang.StringnameThe table name.protected java.util.ListrowsThe data rows.
 - 
Constructor SummaryConstructors Constructor Description DataTable(java.lang.String name, java.lang.String[] columnnames)Create a new data table.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRow(java.lang.Object[] row)Add a data row.intgetColumnIndex(java.lang.String columnname)Get the column index for a column name.java.lang.String[]getColumnNames()Get the columnnames.java.lang.ObjectgetData(int row, int column)Get the data element from a specific row and column.java.lang.StringgetName()Get the name.java.util.ListgetRows()Get the data rows.
 
- 
- 
- 
Method Detail- 
addRowpublic void addRow(java.lang.Object[] row) Add a data row.- Parameters:
- row- The data row.
 
 - 
getRowspublic java.util.List getRows() Get the data rows.- Returns:
- The data rows.
 
 - 
getColumnNamespublic java.lang.String[] getColumnNames() Get the columnnames.- Returns:
- The columnnames.
 
 - 
getColumnIndexpublic int getColumnIndex(java.lang.String columnname) Get the column index for a column name.- Parameters:
- columnname- The column name.
- Returns:
- The column index.
 
 - 
getDatapublic java.lang.Object getData(int row, int column)Get the data element from a specific row and column.
 - 
getNamepublic java.lang.String getName() Get the name.- Returns:
- The name.
 
 
- 
 
-