Add PersistedMap.isValueMap and getAsValueMap implementations
@@ -31,6 +31,16 @@ public PersistedMap(Map<String, PersistedData> map) {
this.map = map;
}
+ @Override
+ public PersistedDataMap getAsValueMap() {
+ return this;
+ }
+
+ @Override
+ public boolean isValueMap() {
+ return true;
+ }
+
@Override
public boolean has(String name) {
return map.containsKey(name);
