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.
-
-
Constructor Summary
Constructors Constructor Description MemoryChildNodeEntry(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 String
getName()
The name of the child node state wrt.NodeState
getNodeState()
The child node statestatic <E extends Map.Entry<String,? extends NodeState>>
Iterable<ChildNodeEntry>iterable(Iterable<E> set)
-
Methods inherited from class org.apache.jackrabbit.oak.spi.state.AbstractChildNodeEntry
equals, hashCode, toString
-
-
-
-
Method Detail
-
iterable
public static <E extends Map.Entry<String,? extends NodeState>> Iterable<ChildNodeEntry> iterable(Iterable<E> set)
-
getName
public 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
-
-