Package com.smartsheet.api.models
Class CellDataItem
- java.lang.Object
-
- com.smartsheet.api.models.CellDataItem
-
public class CellDataItem extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CellDataItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cell
getCell()
Get the cell objectjava.lang.Long
getColumnId()
Get the column Id for the cell.java.lang.String
getDataSource()
Gets the data source (currently CELL)java.lang.String
getLabel()
Get the label for the data point.Format
getLabelFormat()
Get the format descriptor for the labeljava.lang.Object
getObjectValue()
Get the object for this CellDataItem.java.lang.Integer
getOrder()
Get the display order for the CellDataItemSummaryField
getProfileField()
Get the SummaryField when dataSource is SUMMARY_FIELDjava.lang.Long
getRowId()
Get the row Id for the itemjava.lang.Long
getSheetId()
Get the sheet Id for the itemFormat
getValueFormat()
Get the format descriptor for the cell valueCellDataItem
setCell(Cell cell)
Set the cell objectCellDataItem
setColumnId(java.lang.Long columnId)
Set the column Id for the cell.CellDataItem
setDataSource(java.lang.String dataSource)
Sets the data sourceCellDataItem
setLabel(java.lang.String label)
Set the label for the data point.CellDataItem
setLabelFormat(Format labelFormat)
Set the format descriptor for the labelCellDataItem
setObjectValue(java.lang.Object objectValue)
Set the object for this CellDataItem.CellDataItem
setOrder(java.lang.Integer order)
Set the display order for the CellDataItemCellDataItem
setProfileField(SummaryField profileField)
Sets the SummaryField if dataSource is SUMMARY_FIELDCellDataItem
setRowId(java.lang.Long rowId)
Set the row Id for the itemCellDataItem
setSheetId(java.lang.Long sheetId)
Set the sheet Id for the itemCellDataItem
setValueFormat(Format valueFormat)
Set the format descriptor for the cell value
-
-
-
Method Detail
-
getColumnId
public java.lang.Long getColumnId()
Get the column Id for the cell.- Returns:
- columnId
-
setColumnId
public CellDataItem setColumnId(java.lang.Long columnId)
Set the column Id for the cell.
-
getRowId
public java.lang.Long getRowId()
Get the row Id for the item- Returns:
- rowId
-
setRowId
public CellDataItem setRowId(java.lang.Long rowId)
Set the row Id for the item
-
getSheetId
public java.lang.Long getSheetId()
Get the sheet Id for the item
-
setSheetId
public CellDataItem setSheetId(java.lang.Long sheetId)
Set the sheet Id for the item
-
getObjectValue
public java.lang.Object getObjectValue()
Get the object for this CellDataItem. The type of the data returned will depend on the cell type and the data in the cell.- Returns:
- objectValue
-
setObjectValue
public CellDataItem setObjectValue(java.lang.Object objectValue)
Set the object for this CellDataItem. The type of the data returned will depend on the cell type and the data in the cell.
-
getCell
public Cell getCell()
Get the cell object- Returns:
- cell
-
setCell
public CellDataItem setCell(Cell cell)
Set the cell object
-
getDataSource
public java.lang.String getDataSource()
Gets the data source (currently CELL)- Returns:
- CELL
-
setDataSource
public CellDataItem setDataSource(java.lang.String dataSource)
Sets the data source
-
getLabel
public java.lang.String getLabel()
Get the label for the data point.- Returns:
- label
-
setLabel
public CellDataItem setLabel(java.lang.String label)
Set the label for the data point.
-
getLabelFormat
public Format getLabelFormat()
Get the format descriptor for the label- Returns:
- labelFormat
-
setLabelFormat
public CellDataItem setLabelFormat(Format labelFormat)
Set the format descriptor for the label
-
getOrder
public java.lang.Integer getOrder()
Get the display order for the CellDataItem- Returns:
- order
-
setOrder
public CellDataItem setOrder(java.lang.Integer order)
Set the display order for the CellDataItem
-
getValueFormat
public Format getValueFormat()
Get the format descriptor for the cell value- Returns:
- valueFormat
-
setValueFormat
public CellDataItem setValueFormat(Format valueFormat)
Set the format descriptor for the cell value
-
getProfileField
public SummaryField getProfileField()
Get the SummaryField when dataSource is SUMMARY_FIELD- Returns:
- summaryField
-
setProfileField
public CellDataItem setProfileField(SummaryField profileField)
Sets the SummaryField if dataSource is SUMMARY_FIELD
-
-