public class DataTableResponseObject extends Object
Constructor and Description |
---|
DataTableResponseObject() |
Modifier and Type | Method and Description |
---|---|
List<DataTableResponseColumn> |
columns()
Get list of columns with data types.
|
List<List<String>> |
rows()
Get raw row values.
|
String |
tableName()
Get name of the table.
|
DataTableResponseObject |
withColumns(List<DataTableResponseColumn> columns)
Set list of columns with data types.
|
DataTableResponseObject |
withRows(List<List<String>> rows)
Set raw row values.
|
DataTableResponseObject |
withTableName(String tableName)
Set name of the table.
|
public String tableName()
public DataTableResponseObject withTableName(String tableName)
tableName
- the tableName value to setpublic List<DataTableResponseColumn> columns()
public DataTableResponseObject withColumns(List<DataTableResponseColumn> columns)
columns
- the columns value to setpublic DataTableResponseObject withRows(List<List<String>> rows)
rows
- the rows value to setCopyright © 2019. All rights reserved.