com.google.gwt.valuestore.shared
Class RecordChangedEvent<R extends Record,H extends EventHandler>

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<H>
      extended by com.google.gwt.valuestore.shared.RecordChangedEvent<R,H>
Type Parameters:
R - the type of the record
H - the type of event handler

public abstract class RecordChangedEvent<R extends Record,H extends EventHandler>
extends GwtEvent<H>

Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.

Abstract base class for an event announcing changes to a Record.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
RecordChangedEvent(R record, WriteOperation writeOperation)
           
 
Method Summary
 R getRecord()
           
 WriteOperation getWriteOperation()
           
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
getAssociatedType, getSource, toDebugString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordChangedEvent

public RecordChangedEvent(R record,
                          WriteOperation writeOperation)
Method Detail

getRecord

public R getRecord()

getWriteOperation

public WriteOperation getWriteOperation()