Errai 3.0.1-SNAPSHOT

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

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

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

Sync response that indicates the deletion of an entity.

Author:
Jonathan Fuerth

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

Constructor Detail

DeleteResponse

public DeleteResponse(X entity)
Method Detail

getEntity

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

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.