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 CellgetCell()Get the cell objectjava.lang.LonggetColumnId()Get the column Id for the cell.java.lang.StringgetDataSource()Gets the data source (currently CELL)java.lang.StringgetLabel()Get the label for the data point.FormatgetLabelFormat()Get the format descriptor for the labeljava.lang.ObjectgetObjectValue()Get the object for this CellDataItem.java.lang.IntegergetOrder()Get the display order for the CellDataItemSummaryFieldgetProfileField()Get the SummaryField when dataSource is SUMMARY_FIELDjava.lang.LonggetRowId()Get the row Id for the itemjava.lang.LonggetSheetId()Get the sheet Id for the itemFormatgetValueFormat()Get the format descriptor for the cell valueCellDataItemsetCell(Cell cell)Set the cell objectCellDataItemsetColumnId(java.lang.Long columnId)Set the column Id for the cell.CellDataItemsetDataSource(java.lang.String dataSource)Sets the data sourceCellDataItemsetLabel(java.lang.String label)Set the label for the data point.CellDataItemsetLabelFormat(Format labelFormat)Set the format descriptor for the labelCellDataItemsetObjectValue(java.lang.Object objectValue)Set the object for this CellDataItem.CellDataItemsetOrder(java.lang.Integer order)Set the display order for the CellDataItemCellDataItemsetProfileField(SummaryField profileField)Sets the SummaryField if dataSource is SUMMARY_FIELDCellDataItemsetRowId(java.lang.Long rowId)Set the row Id for the itemCellDataItemsetSheetId(java.lang.Long sheetId)Set the sheet Id for the itemCellDataItemsetValueFormat(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
-
-