com.google.gwt.valuestore.client
Class ValueStoreJsonImpl

java.lang.Object
  extended by com.google.gwt.valuestore.client.ValueStoreJsonImpl
All Implemented Interfaces:
ValueStore

public class ValueStoreJsonImpl
extends java.lang.Object
implements ValueStore

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

ValueStore implementation based on ValuesImpl.


Constructor Summary
ValueStoreJsonImpl(HandlerManager eventBus, RecordToTypeMap map)
           
 
Method Summary
 void addValidation()
          Most validations are per field or per id and set via annotation.
 void setRecord(RecordJsoImpl newRecord)
           
 void setRecords(JsArray<RecordJsoImpl> newRecords)
           
 DeltaValueStoreJsonImpl spawnDeltaView()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueStoreJsonImpl

public ValueStoreJsonImpl(HandlerManager eventBus,
                          RecordToTypeMap map)
Method Detail

addValidation

public void addValidation()
Description copied from interface: ValueStore
Most validations are per field or per id and set via annotation. Note that validations are only actually enforced by in DeltaValueStore instances spawned by #forEditContext(Object)

Specified by:
addValidation in interface ValueStore

setRecord

public void setRecord(RecordJsoImpl newRecord)

setRecords

public void setRecords(JsArray<RecordJsoImpl> newRecords)

spawnDeltaView

public DeltaValueStoreJsonImpl spawnDeltaView()
Specified by:
spawnDeltaView in interface ValueStore
Returns: