org.modeshape.jcr.cache.document
Class SessionNode.Insertions
java.lang.Object
org.modeshape.jcr.cache.document.SessionNode.Insertions
- All Implemented Interfaces:
- ChildReferences.ChildInsertions
- Enclosing class:
- SessionNode
protected static class SessionNode.Insertions
- extends Object
- implements ChildReferences.ChildInsertions
SessionNode.Insertions
protected SessionNode.Insertions(ChildReference before)
SessionNode.Insertions
protected SessionNode.Insertions(ChildReference before,
ChildReference inserted)
inserted
public Iterable<ChildReference> inserted()
- Description copied from interface:
ChildReferences.ChildInsertions
- The nodes that were inserted.
- Specified by:
inserted
in interface ChildReferences.ChildInsertions
- Returns:
- the iterator over the child references that were inserted; never null
insertedBefore
public ChildReference insertedBefore()
- Description copied from interface:
ChildReferences.ChildInsertions
- The reference to the child before which the nodes are to be inserted.
- Specified by:
insertedBefore
in interface ChildReferences.ChildInsertions
- Returns:
- the child reference before which the nodes are to be inserted; never null
add
public void add(ChildReference reference)
contains
public boolean contains(ChildReference reference)
remove
public boolean remove(ChildReference reference)
remove
public ChildReference remove(NodeKey key)
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.