org.modeshape.graph
Interface Graph.Children<Next>

Type Parameters:
Next -
All Superinterfaces:
Graph.Of<Next>
Enclosing class:
Graph

public static interface Graph.Children<Next>
extends Graph.Of<Next>

A component used to supply the details for getting children of another node. If all of the children are to be obtained, then the parent can be specified using one of the of(...) methods on this component. If, however, only some of the nodes are to be returned (e.g., a "block" of children), then specify the block size followed by the block size and parent.


Method Summary
 Graph.BlockOfChildren<Next> inBlockOf(int blockSize)
          Specify that a block of children are to be retreived, and in particular the number of children that are to be returned.
 
Methods inherited from interface org.modeshape.graph.Graph.Of
of, of, of, of, of, of, of
 

Method Detail

inBlockOf

Graph.BlockOfChildren<Next> inBlockOf(int blockSize)
Specify that a block of children are to be retreived, and in particular the number of children that are to be returned.

Parameters:
blockSize - the number of children that are to be retrieved in the block; must be positive
Returns:
the interface used to specify the starting point for the block and the parent


Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.