Class MemoryChildNodeEntry
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.state.AbstractChildNodeEntry
-
- org.apache.jackrabbit.oak.plugins.memory.MemoryChildNodeEntry
-
- All Implemented Interfaces:
ChildNodeEntry
public class MemoryChildNodeEntry extends AbstractChildNodeEntry
Basic JavaBean implementation of a child node entry.
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.state.ChildNodeEntry
GET_NAME
-
-
Constructor Summary
Constructors Constructor Description MemoryChildNodeEntry(java.lang.String name, NodeState node)
Creates a child node entry with the given name and referenced child node state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
The name of the child node state wrt.NodeState
getNodeState()
The child node statestatic <E extends java.util.Map.Entry<java.lang.String,? extends NodeState>>
java.lang.Iterable<ChildNodeEntry>iterable(java.lang.Iterable<E> set)
-
Methods inherited from class org.apache.jackrabbit.oak.spi.state.AbstractChildNodeEntry
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
MemoryChildNodeEntry
public MemoryChildNodeEntry(java.lang.String name, NodeState node)
Creates a child node entry with the given name and referenced child node state.- Parameters:
name
- child node namenode
- child node state
-
-
Method Detail
-
iterable
public static <E extends java.util.Map.Entry<java.lang.String,? extends NodeState>> java.lang.Iterable<ChildNodeEntry> iterable(java.lang.Iterable<E> set)
-
getName
public java.lang.String getName()
Description copied from interface:ChildNodeEntry
The name of the child node state wrt. to its parent state.- Returns:
- name of the child node
-
getNodeState
public NodeState getNodeState()
Description copied from interface:ChildNodeEntry
The child node state- Returns:
- child node state
-
-