org.jboss.dna.graph
Interface Graph.Create<Next>

Type Parameters:
Next - The interface that is to be returned when this create request is completed
All Superinterfaces:
Graph.Conjunction<Next>, Graph.Executable
Enclosing class:
Graph

public static interface Graph.Create<Next>
extends Graph.Conjunction<Next>, Graph.Executable

The interface for defining additional properties on a new node.

Author:
Randall Hauch

Method Summary
 Graph.Create<Next> and(Name propertyName, Object... values)
          Specify a property that should the new node should have.
 Graph.Create<Next> and(Property property)
          Specify a property that should the new node should have.
 Graph.Create<Next> and(Property firstProperty, Property... additionalProperties)
          Specify properties that should the new node should have.
 Graph.Create<Next> and(String propertyName, Object... values)
          Specify a property that should the new node should have.
 Graph.Create<Next> and(UUID uuid)
          Specify the UUID that should the new node should have.
 Graph.Create<Next> with(Name propertyName, Object... values)
          Specify a property that should the new node should have.
 Graph.Create<Next> with(Property property)
          Specify a property that should the new node should have.
 Graph.Create<Next> with(Property firstProperty, Property... additionalProperties)
          Specify properties that should the new node should have.
 Graph.Create<Next> with(String propertyName, Object... values)
          Specify a property that should the new node should have.
 Graph.Create<Next> with(UUID uuid)
          Specify the UUID that should the new node should have.
 
Methods inherited from interface org.jboss.dna.graph.Graph.Conjunction
and
 
Methods inherited from interface org.jboss.dna.graph.Graph.Executable
execute
 

Method Detail

with

Graph.Create<Next> with(UUID uuid)
Specify the UUID that should the new node should have. This is an alias for and(UUID).

Parameters:
uuid - the UUID
Returns:
this same interface so additional properties may be added

with

Graph.Create<Next> with(Property property)
Specify a property that should the new node should have. This is an alias for and(Property).

Parameters:
property - the property
Returns:
this same interface so additional properties may be added

with

Graph.Create<Next> with(String propertyName,
                        Object... values)
Specify a property that should the new node should have. This is an alias for and(String, Object...).

Parameters:
propertyName - the name of the property
values - the property values
Returns:
this same interface so additional properties may be added

with

Graph.Create<Next> with(Name propertyName,
                        Object... values)
Specify a property that should the new node should have. This is an alias for and(Name, Object...).

Parameters:
propertyName - the name of the property
values - the property values
Returns:
this same interface so additional properties may be added

with

Graph.Create<Next> with(Property firstProperty,
                        Property... additionalProperties)
Specify properties that should the new node should have. This is an alias for and(Property, Property...).

Parameters:
firstProperty - the first property
additionalProperties - the additional property
Returns:
this same interface so additional properties may be added

and

Graph.Create<Next> and(UUID uuid)
Specify the UUID that should the new node should have.

Parameters:
uuid - the UUID
Returns:
this same interface so additional properties may be added

and

Graph.Create<Next> and(Property property)
Specify a property that should the new node should have.

Parameters:
property - the property
Returns:
this same interface so additional properties may be added

and

Graph.Create<Next> and(String propertyName,
                       Object... values)
Specify a property that should the new node should have.

Parameters:
propertyName - the name of the property
values - the property values
Returns:
this same interface so additional properties may be added

and

Graph.Create<Next> and(Name propertyName,
                       Object... values)
Specify a property that should the new node should have.

Parameters:
propertyName - the name of the property
values - the property values
Returns:
this same interface so additional properties may be added

and

Graph.Create<Next> and(Property firstProperty,
                       Property... additionalProperties)
Specify properties that should the new node should have.

Parameters:
firstProperty - the first property
additionalProperties - the additional property
Returns:
this same interface so additional properties may be added


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