Class SheetUpdate

java.lang.Object
org.primefaces.extensions.model.sheet.SheetUpdate
All Implemented Interfaces:
Serializable

public class SheetUpdate extends Object implements Serializable
Represents the data associated with the update of a single cell.
Since:
6.2
Author:
Mark Lassiter / Melloware
See Also:
  • Constructor Details

    • SheetUpdate

      public SheetUpdate(Object rowKey, int colIndex, Object rowData, Object oldValue, Object newValue)
      Constructs an instance representing a single cell update.
      Parameters:
      rowKey - the row key of the row being updated
      colIndex - the column index of the column being updated
      rowData - the rowData associated with the row being updated
      oldValue - the old cell value
      newValue - the new cell value
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRowData

      public Object getRowData()
      The rowData value.
      Returns:
      the rowData the row data for this update
    • getOldValue

      public Object getOldValue()
      The oldValue value.
      Returns:
      the oldValue
    • getNewValue

      public Object getNewValue()
      The newValue value.
      Returns:
      the newValue
    • getRowKey

      public Object getRowKey()
      The rowKey value.
      Returns:
      the rowKey
    • getColIndex

      public int getColIndex()
      The colIndex value.
      Returns:
      the colIndex