Class SheetUpdate

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      SheetUpdate​(java.lang.Object rowKey, int colIndex, java.lang.Object rowData, java.lang.Object oldValue, java.lang.Object newValue)
      Constructs an instance representing a single cell update.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getColIndex()
      The colIndex value.
      java.lang.Object getNewValue()
      The newValue value.
      java.lang.Object getOldValue()
      The oldValue value.
      java.lang.Object getRowData()
      The rowData value.
      java.lang.Object getRowKey()
      The rowKey value.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SheetUpdate

        public SheetUpdate​(java.lang.Object rowKey,
                           int colIndex,
                           java.lang.Object rowData,
                           java.lang.Object oldValue,
                           java.lang.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 Detail

      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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

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

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

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

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

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