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

Type Parameters:
Next - The interface that is to be returned when this request is completed
All Known Subinterfaces:
Graph.Move<Next>
All Known Implementing Classes:
Graph.MoveAction
Enclosing class:
Graph

public static interface Graph.AsName<Next>

A component that defines a new name for a node.


Method Summary
 Next as(Name newName)
          Finish the request by specifying the new name.
 Next as(String newName)
          Finish the request by specifying the new name.
 

Method Detail

as

Next as(String newName)
Finish the request by specifying the new name.

Parameters:
newName - the new name
Returns:
the interface for additional requests or actions

as

Next as(Name newName)
Finish the request by specifying the new name.

Parameters:
newName - the new name
Returns:
the interface for additional requests or actions


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