Errai 3.0.1-SNAPSHOT

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

java.lang.Object
  extended by org.jboss.errai.jpa.sync.client.shared.SyncResponse<X>
      extended by org.jboss.errai.jpa.sync.client.shared.ConflictResponse<X>
Type Parameters:
X - The entity type that was used in the corresponding SyncRequest

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

A SyncResponse that represents conflicting state due to a change that happened on the responding end.

Author:
Jonathan Fuerth

Constructor Summary
ConflictResponse(X expected, X actualNew, X requestedNew)
           
 
Method Summary
 X getActualNew()
           
 X getExpected()
           
 X getRequestedNew()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConflictResponse

public ConflictResponse(X expected,
                        X actualNew,
                        X requestedNew)
Method Detail

getExpected

public X getExpected()

getActualNew

public X getActualNew()

getRequestedNew

public X getRequestedNew()

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.