Class TableDataDTO
- java.lang.Object
-
- com.microstrategy.web.tasks.models.dto.TableDataDTO
-
public class TableDataDTO extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TableDataDTO.DataCellDTO
-
Constructor Summary
Constructors Constructor Description TableDataDTO()
TableDataDTO(JSONObject catalogInfoJson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ColumnInfoDTO>
getColumns()
java.util.List<java.util.List<TableDataDTO.DataCellDTO>>
getColumnsData()
java.lang.Long
getRowCount()
java.util.List<ColumnInfoDTO>
read(JSONArray columnInfosJsonArray)
build the ColumnInfos from the JSONObject.void
setColumns(java.util.List<ColumnInfoDTO> columns)
void
setColumnsData(java.util.List<java.util.List<TableDataDTO.DataCellDTO>> columnsData)
void
setRowCount(java.lang.Long rowCount)
-
-
-
Constructor Detail
-
TableDataDTO
public TableDataDTO()
-
TableDataDTO
public TableDataDTO(JSONObject catalogInfoJson) throws JSONException
- Throws:
JSONException
-
-
Method Detail
-
getRowCount
public java.lang.Long getRowCount()
-
setRowCount
public void setRowCount(java.lang.Long rowCount)
-
getColumns
public java.util.List<ColumnInfoDTO> getColumns()
-
setColumns
public void setColumns(java.util.List<ColumnInfoDTO> columns)
-
getColumnsData
public java.util.List<java.util.List<TableDataDTO.DataCellDTO>> getColumnsData()
-
setColumnsData
public void setColumnsData(java.util.List<java.util.List<TableDataDTO.DataCellDTO>> columnsData)
-
read
public java.util.List<ColumnInfoDTO> read(JSONArray columnInfosJsonArray) throws JSONException
build the ColumnInfos from the JSONObject.- Parameters:
columnInfosJsonArray
- input json string containing the catalogInfo- Throws:
JSONException
- throw if JSONException happens
-
-