Package org.hippoecm.repository.api
Interface RepositoryMap
-
- All Superinterfaces:
Map
public interface RepositoryMap extends Map
Map representation of a JCR Node.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 primitiveObject
representing the value of the property (aString
,Boolean
,Calendar
,Long
, or aRepositoryMap
in case of a reference property), or anObject[]
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
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
exists()
-
Methods inherited from interface java.util.Map
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
-
-