public interface RepositoryMap extends Map
Properties and sub-nodes of the node representing the map are available via the #get() method.
This method returns three types of values depending on whether the requested object is a node,
a single-valued property, or a multi-valued property: a RepositoryMap
, a primitive Object
representing the value of the property (a String
, Boolean
, Calendar
, Long
,
or a RepositoryMap
in case of a reference property), or an Object[]
containing such values.
In the case of properties and sub-nodes with the same name, properties have precedence.
In the case of same name sibling nodes, only the first node is returned in the form a RepositoryMap
.
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
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
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.