com.google.gwt.valuestore.shared.impl
Class RecordSchema<R extends Record>
java.lang.Object
com.google.gwt.valuestore.shared.impl.RecordSchema<R>
- Type Parameters:
R - the type of the Records this schema describes
public abstract class RecordSchema<R extends Record>
- extends java.lang.Object
Experimental API: This class is still under rapid
development, and is very likely to be deleted. Use it at your own risk.
Used by Record implementations generated by
RequestFactoryGenerator. Defines the set of properties for a class of
Record, and serves as a factory for these records and their
RecordChangedEvents.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordSchema
public RecordSchema()
allProperties
public java.util.Set<Property<?>> allProperties()
create
public abstract R create(RecordJsoImpl jso)
createChangeEvent
public abstract RecordChangedEvent<?,?> createChangeEvent(Record record,
WriteOperation writeOperation)
createChangeEvent
public RecordChangedEvent<?,?> createChangeEvent(RecordJsoImpl jsoRecord,
WriteOperation writeOperation)
getToken
public abstract java.lang.Class<? extends Record> getToken()