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

Type Parameters:
Next - The interface that is to be returned to complete the create request
All Known Implementing Classes:
Graph.CreateNodeNamedAction
Enclosing class:
Graph

public static interface Graph.CreateNodeNamed<Next>

A component that defines a node that is to be created.


Method Summary
 Graph.Create<Next> nodeNamed(Name nodeName)
          Specify the name of the node that is to be created.
 Graph.Create<Next> nodeNamed(String nodeName)
          Specify the name of the node that is to be created.
 

Method Detail

nodeNamed

Graph.Create<Next> nodeNamed(String nodeName)
Specify the name of the node that is to be created.

Parameters:
nodeName - the name of the new node
Returns:
the interface used to complete the request

nodeNamed

Graph.Create<Next> nodeNamed(Name nodeName)
Specify the name of the node that is to be created.

Parameters:
nodeName - the name of the new node
Returns:
the interface used to complete the request


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