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 RowIdgetNewRowId()Gets the new, possibly database assigned RowId of the added row that raised this event.RowIdgetOldRowId()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.RowIdChangeEventGets the new, possibly database assigned RowId of the added row that raised this event.- Specified by:
getNewRowIdin interfaceQueryDelegate.RowIdChangeEvent- Returns:
- new RowId
-
getOldRowId
public RowId getOldRowId()
Description copied from interface:QueryDelegate.RowIdChangeEventGets the old (temporary) RowId of the added row that raised this event.- Specified by:
getOldRowIdin interfaceQueryDelegate.RowIdChangeEvent- Returns:
- old RowId
-
-