Package io.keikai.model
Interface SRevisionCellChange
- All Superinterfaces:
SRevision
- All Known Implementing Classes:
RevisionCellChangeImpl
A revision representing a cell value change (maps to rcc element).
- Since:
- 7.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cell reference string (e.g.Returns the new cell type after the change.Returns the new cell value after the change.Returns the old cell type before the change.Returns the old cell value before the change.Methods inherited from interface io.keikai.model.SRevision
getAuthor, getId, getSheetName, getTimestamp, getType
-
Method Details
-
getCellRef
String getCellRef()Returns the cell reference string (e.g. "A1") of the changed cell.- Returns:
- the cell reference
-
getOldValue
Object getOldValue()Returns the old cell value before the change.- Returns:
- the old value, or null if the cell was empty
-
getNewValue
Object getNewValue()Returns the new cell value after the change.- Returns:
- the new value, or null if the cell is now empty
-
getOldType
SCell.CellType getOldType()Returns the old cell type before the change.- Returns:
- the old cell type
-
getNewType
SCell.CellType getNewType()Returns the new cell type after the change.- Returns:
- the new cell type
-