com.vaadin.data.util.sqlcontainer.query.


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 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
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 interface QueryDelegate.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 interface QueryDelegate.RowIdChangeEvent

Returns:
old RowId