org.mmbase.bridge.util
Class NodeMap
java.lang.Object
org.mmbase.bridge.util.NodeWrapper
org.mmbase.bridge.util.NodeMap
- All Implemented Interfaces:
- Comparable, Map, Node
- public class NodeMap
- extends NodeWrapper
- implements Map
A Map representing a Node. This class can be used if you need a bridge Node object to look like a
Map (where the keys are the fields).
This object is also still a Node object.
- Since:
- MMBase-1.8
- Version:
- $Id: NodeMap.java,v 1.1 2005/12/27 21:50:50 michiel Exp $
- Author:
- Michiel Meeuwissen
| Methods inherited from class org.mmbase.bridge.util.NodeWrapper |
cancel, commit, compareTo, countRelatedNodes, countRelatedNodes, countRelations, countRelations, createAlias, createParameters, createRelation, delete, delete, deleteAlias, deleteRelations, deleteRelations, equals, getAliases, getBooleanValue, getByteValue, getChanged, getCloud, getContext, getDateValue, getDoubleValue, getFieldValue, getFieldValue, getFloatValue, getFunction, getFunctions, getFunctionValue, getInputStreamValue, getIntValue, getListValue, getLongValue, getNode, getNodeManager, getNodeValue, getNumber, getObjectValue, getPossibleContexts, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelatedNodes, getRelations, getRelations, getRelations, getRelations, getRelations, getSize, getStringValue, getValue, getValueWithoutProcess, getXMLValue, getXMLValue, hashCode, hasRelations, isChanged, isChanged, isNew, isNodeManager, isNull, isRelation, isRelationManager, mayChangeContext, mayDelete, mayWrite, setBooleanValue, setByteValue, setContext, setDateValue, setDoubleValue, setFloatValue, setInputStreamValue, setIntValue, setListValue, setLongValue, setNodeValue, setObjectValue, setStringValue, setValue, setValueWithoutProcess, setXMLValue, toNodeManager, toRelation, toRelationManager, toString, validate |
NodeMap
public NodeMap(Node node)
- Parameters:
node - The Node which is wrapped, and is presented as a Map.
clear
public void clear()
- Specified by:
clear in interface Map
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map
remove
public Object remove(Object key)
- Specified by:
remove in interface Map
entrySet
public Set entrySet()
- Specified by:
entrySet in interface Map
values
public Collection values()
- Specified by:
values in interface Map
keySet
public Set keySet()
- Specified by:
keySet in interface Map
putAll
public void putAll(Map map)
- Specified by:
putAll in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put in interface Map
get
public Object get(Object key)
- Specified by:
get in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map
size
public int size()
- Specified by:
size in interface Map
MMBase build 1.8.1.20060716