ModifiableValueMap
instead.@Deprecated public interface PersistableValueMap extends ValueMap
PersistableValueMap
is an extension
of the ValueMap
which allows to modify and
persist the properties.
Note, that each time you call Adaptable.adaptTo(Class)
you get a new map instance which does not share modified
properties with other representations.
A PersistableValueMap
might not support deep
reading of values.
Modifier and Type | Method and Description |
---|---|
void |
reset()
Deprecated.
Reset the changes.
|
void |
save()
Deprecated.
Persists the changes.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
void save() throws PersistenceException
PersistenceException
- If the changes can't be persisted.void reset()
Copyright © 2015 The Apache Software Foundation. All rights reserved.