Errai 3.0.1-SNAPSHOT

org.jboss.errai.jpa.sync.client.shared
Class UpdateResponse<X>

java.lang.Object
  extended by org.jboss.errai.jpa.sync.client.shared.SyncResponse<X>
      extended by org.jboss.errai.jpa.sync.client.shared.UpdateResponse<X>
Type Parameters:
X - the entity type

@Portable
public class UpdateResponse<X>
extends SyncResponse<X>

Sync response that indicates that the given entity has been modified since the last sync response.

Author:
Jonathan Fuerth

Constructor Summary
UpdateResponse(X entity)
           
 
Method Summary
 X getEntity()
          Returns the entity that was updated.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateResponse

public UpdateResponse(X entity)
Method Detail

getEntity

public X getEntity()
Returns the entity that was updated.

Returns:

toString

public String toString()
Overrides:
toString in class Object

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.