public class TableResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
IMAGE_COLUMN_INDEX
Identifies the index of the
Image column. |
static java.lang.Integer |
ROI_COLUMN_INDEX
Identifies the index of the
ROI column. |
static java.lang.Integer |
WELL_COLUMN_INDEX
Identifies the index of the
Well column. |
Constructor and Description |
---|
TableResult(java.lang.Object[][] data,
java.lang.String[] columns)
Creates a new instance.
|
TableResult(java.lang.Object[][] data,
java.lang.String[] columns,
java.lang.String[] columnsDescription)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex(java.lang.Integer index)
Returns the index of the column corresponding to the specified value.
|
java.lang.Object[][] |
getData()
Returns the data.
|
java.lang.String[] |
getHeaders()
Returns the name of the columns.
|
java.lang.String[] |
getHeadersDescription()
Returns the name of the columns.
|
long |
getTableID()
Returns the id of the table.
|
void |
setIndexes(java.util.Map<java.lang.Integer,java.lang.Integer> indexes)
Sets the indexes.
|
void |
setTableID(long tableID)
Sets the id of the table.
|
public static final java.lang.Integer ROI_COLUMN_INDEX
ROI
column.public static final java.lang.Integer IMAGE_COLUMN_INDEX
Image
column.public static final java.lang.Integer WELL_COLUMN_INDEX
Well
column.public TableResult(java.lang.Object[][] data, java.lang.String[] columns)
data
- The data contained in the py-table.columns
- The name of the columns.public TableResult(java.lang.Object[][] data, java.lang.String[] columns, java.lang.String[] columnsDescription)
data
- The data contained in the py-table.columns
- The name of the columns.columnsDescription
- public int getColumnIndex(java.lang.Integer index)
index
- One of the constants defined by this class.public void setIndexes(java.util.Map<java.lang.Integer,java.lang.Integer> indexes)
indexes
- The value to set.public void setTableID(long tableID)
tableID
- The value to set.public long getTableID()
public java.lang.String[] getHeaders()
public java.lang.String[] getHeadersDescription()
public java.lang.Object[][] getData()