Package org.hippoecm.frontend.model.map
Class JcrMap
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- org.hippoecm.frontend.model.map.JcrMap
-
- All Implemented Interfaces:
Serializable
,Map<String,Object>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
,IHippoMap
public class JcrMap extends AbstractMap<String,Object> implements IHippoMap, org.apache.wicket.model.IDetachable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description JcrMap(JcrNodeModel node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
void
detach()
Set<Map.Entry<String,Object>>
entrySet()
Object
get(Object key)
List<String>
getMixinTypes()
javax.jcr.Node
getNode()
String
getPrimaryType()
boolean
isEmpty()
Set<String>
keySet()
Object
put(String key, Object value)
Object
remove(Object key)
void
reset()
void
save()
int
size()
Collection<Object>
values()
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
JcrMap
public JcrMap(JcrNodeModel node)
-
-
Method Detail
-
getNode
public javax.jcr.Node getNode()
-
getPrimaryType
public String getPrimaryType()
- Specified by:
getPrimaryType
in interfaceIHippoMap
-
getMixinTypes
public List<String> getMixinTypes()
- Specified by:
getMixinTypes
in interfaceIHippoMap
-
clear
public void clear()
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,Object>
- Overrides:
containsKey
in classAbstractMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,Object>
- Overrides:
containsValue
in classAbstractMap<String,Object>
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
values
public Collection<Object> values()
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
-