public class DeleteEvent extends InsertDeleteEvent
RowSetIterator to inform its listeners
when a row is deleted.
RowSetIterator,
Serialized Form| Constructor and Description |
|---|
DeleteEvent(NavigatableRowIterator source,
Row row,
int rowIndex,
int rowCountBefore,
int rowCount)
Creates an event for a row being deleted.
|
DeleteEvent(NavigatableRowIterator source,
Row row,
int rowIndex,
int rowCountBefore,
int rowCount,
boolean isRemoveFromTable)
Creates an event for a row being deleted.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRemoveFromTable()
Returns the flag indicating whether the row will be deleted
from the database table.
|
java.lang.String |
toString()
Internal: For debugging only.
|
java.lang.String |
toString(java.lang.String className)
Internal: For debugging only.
|
getRowCountInRange, getRowCountInRangeBeforegetRow, getRowIndexpublic DeleteEvent(NavigatableRowIterator source, Row row, int rowIndex, int rowCountBefore, int rowCount)
source - the iterator that generated this event.row - the row object that was deleted.rowIndex - the range index of the row that was deleted.rowCountBefore - the number of rows in the range before
the delete event.rowCount - the number of rows in the range after the
delete event.public DeleteEvent(NavigatableRowIterator source, Row row, int rowIndex, int rowCountBefore, int rowCount, boolean isRemoveFromTable)
source - the iterator that generated this event.row - the row object that was deleted.rowIndex - the range index of the row that was deleted.rowCountBefore - the number of rows in the range before
the delete event.rowCount - the number of rows in the range after the
delete event.isRemoveFromTable - indicates whether the row will be
deleted from the database table or not.public boolean isRemoveFromTable()
true if the row will be deleted when
the transaction is posted. false otherwise.public java.lang.String toString(java.lang.String className)
InsertDeleteEventtoString in class InsertDeleteEventpublic java.lang.String toString()
toString in class java.util.EventObject