com.google.gwt.valuestore.client
Class SyncResultImpl

java.lang.Object
  extended by com.google.gwt.valuestore.client.SyncResultImpl
All Implemented Interfaces:
SyncResult

public class SyncResultImpl
extends java.lang.Object
implements SyncResult

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

Concrete implementation of SyncResult.


Constructor Summary
SyncResultImpl(Record record, java.util.Map<java.lang.String,java.lang.String> violations, java.lang.String futureId)
           
 
Method Summary
 java.lang.String getFutureId()
           
 Record getRecord()
           
 java.util.Map<java.lang.String,java.lang.String> getViolations()
           
 boolean hasViolations()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncResultImpl

public SyncResultImpl(Record record,
                      java.util.Map<java.lang.String,java.lang.String> violations,
                      java.lang.String futureId)
Method Detail

getFutureId

public java.lang.String getFutureId()
Specified by:
getFutureId in interface SyncResult

getRecord

public Record getRecord()
Specified by:
getRecord in interface SyncResult

getViolations

public java.util.Map<java.lang.String,java.lang.String> getViolations()
Specified by:
getViolations in interface SyncResult

hasViolations

public boolean hasViolations()
Specified by:
hasViolations in interface SyncResult