Class SheetUpdate
- java.lang.Object
-
- org.primefaces.extensions.model.sheet.SheetUpdate
-
- All Implemented Interfaces:
java.io.Serializable
public class SheetUpdate extends java.lang.Object implements java.io.SerializableRepresents 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 booleanequals(java.lang.Object obj)intgetColIndex()The colIndex value.java.lang.ObjectgetNewValue()The newValue value.java.lang.ObjectgetOldValue()The oldValue value.java.lang.ObjectgetRowData()The rowData value.java.lang.ObjectgetRowKey()The rowKey value.inthashCode()java.lang.StringtoString()
-
-
-
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 updatedcolIndex- the column index of the column being updatedrowData- the rowData associated with the row being updatedoldValue- the old cell valuenewValue- the new cell value
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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
-
-