Class TableQuery.RowIdChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.data.util.sqlcontainer.query.TableQuery.RowIdChangeEvent
-
- All Implemented Interfaces:
QueryDelegate.RowIdChangeEvent
,Serializable
- Enclosing class:
- TableQuery
public static class TableQuery.RowIdChangeEvent extends EventObject implements QueryDelegate.RowIdChangeEvent
Simple RowIdChangeEvent implementation.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RowId
getNewRowId()
Gets the new, possibly database assigned RowId of the added row that raised this event.RowId
getOldRowId()
Gets the old (temporary) RowId of the added row that raised this event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getNewRowId
public RowId getNewRowId()
Description copied from interface:QueryDelegate.RowIdChangeEvent
Gets the new, possibly database assigned RowId of the added row that raised this event.- Specified by:
getNewRowId
in interfaceQueryDelegate.RowIdChangeEvent
- Returns:
- new RowId
-
getOldRowId
public RowId getOldRowId()
Description copied from interface:QueryDelegate.RowIdChangeEvent
Gets the old (temporary) RowId of the added row that raised this event.- Specified by:
getOldRowId
in interfaceQueryDelegate.RowIdChangeEvent
- Returns:
- old RowId
-
-