public interface Add<T extends Pojo> extends DataModifyingStatement<T>
DEFAULT_STATUS_FAILURE, DEFAULT_STATUS_SUCCESS
void set(String key, Object value)
key
- the name of the field to update.value
- the value with which to update the field.int apply()
Add
operation to storage.apply
in interface DataModifyingStatement<T extends Pojo>
StorageException
- if the operation failsCopyright © 2014. All Rights Reserved.