Spring Data Graph

org.springframework.data.neo4j.rest
Class RestNode

java.lang.Object
  extended by org.springframework.data.neo4j.rest.RestEntity
      extended by org.springframework.data.neo4j.rest.RestNode
All Implemented Interfaces:
org.neo4j.graphdb.Node, org.neo4j.graphdb.PropertyContainer

public class RestNode
extends RestEntity
implements org.neo4j.graphdb.Node


Field Summary
 
Fields inherited from class org.springframework.data.neo4j.rest.RestEntity
restRequest
 
Constructor Summary
RestNode(Map<?,?> data, RestGraphDatabase graphDatabase)
           
RestNode(String uri, RestGraphDatabase graphDatabase)
           
RestNode(URI uri, RestGraphDatabase graphDatabase)
           
 
Method Summary
 org.neo4j.graphdb.Relationship createRelationshipTo(org.neo4j.graphdb.Node toNode, org.neo4j.graphdb.RelationshipType type)
           
 Iterable<org.neo4j.graphdb.Relationship> getRelationships()
           
 Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.Direction direction)
           
 Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType... types)
           
 Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.RelationshipType... types)
           
 Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.RelationshipType type, org.neo4j.graphdb.Direction direction)
           
 org.neo4j.graphdb.Relationship getSingleRelationship(org.neo4j.graphdb.RelationshipType type, org.neo4j.graphdb.Direction direction)
           
 boolean hasRelationship()
           
 boolean hasRelationship(org.neo4j.graphdb.Direction direction)
           
 boolean hasRelationship(org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType... types)
           
 boolean hasRelationship(org.neo4j.graphdb.RelationshipType... types)
           
 boolean hasRelationship(org.neo4j.graphdb.RelationshipType type, org.neo4j.graphdb.Direction direction)
           
 org.neo4j.graphdb.Traverser traverse(org.neo4j.graphdb.Traverser.Order order, org.neo4j.graphdb.StopEvaluator stopEvaluator, org.neo4j.graphdb.ReturnableEvaluator returnableEvaluator, Object... rels)
           
 org.neo4j.graphdb.Traverser traverse(org.neo4j.graphdb.Traverser.Order order, org.neo4j.graphdb.StopEvaluator stopEvaluator, org.neo4j.graphdb.ReturnableEvaluator returnableEvaluator, org.neo4j.graphdb.RelationshipType type, org.neo4j.graphdb.Direction direction)
           
 org.neo4j.graphdb.Traverser traverse(org.neo4j.graphdb.Traverser.Order order, org.neo4j.graphdb.StopEvaluator stopEvaluator, org.neo4j.graphdb.ReturnableEvaluator returnableEvaluator, org.neo4j.graphdb.RelationshipType type, org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType secondType, org.neo4j.graphdb.Direction secondDirection)
           
 
Methods inherited from class org.springframework.data.neo4j.rest.RestEntity
delete, equals, getGraphDatabase, getId, getProperty, getProperty, getPropertyKeys, getPropertyValues, getRestGraphDatabase, getRestRequest, getUri, hashCode, hasProperty, removeProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.neo4j.graphdb.Node
delete, getId
 
Methods inherited from interface org.neo4j.graphdb.PropertyContainer
getGraphDatabase, getProperty, getProperty, getPropertyKeys, getPropertyValues, hasProperty, removeProperty, setProperty
 

Constructor Detail

RestNode

public RestNode(URI uri,
                RestGraphDatabase graphDatabase)

RestNode

public RestNode(String uri,
                RestGraphDatabase graphDatabase)

RestNode

public RestNode(Map<?,?> data,
                RestGraphDatabase graphDatabase)
Method Detail

createRelationshipTo

public org.neo4j.graphdb.Relationship createRelationshipTo(org.neo4j.graphdb.Node toNode,
                                                           org.neo4j.graphdb.RelationshipType type)
Specified by:
createRelationshipTo in interface org.neo4j.graphdb.Node

getRelationships

public Iterable<org.neo4j.graphdb.Relationship> getRelationships()
Specified by:
getRelationships in interface org.neo4j.graphdb.Node

getRelationships

public Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.RelationshipType... types)
Specified by:
getRelationships in interface org.neo4j.graphdb.Node

getRelationships

public Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.Direction direction)
Specified by:
getRelationships in interface org.neo4j.graphdb.Node

getRelationships

public Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.Direction direction,
                                                                 org.neo4j.graphdb.RelationshipType... types)
Specified by:
getRelationships in interface org.neo4j.graphdb.Node

hasRelationship

public boolean hasRelationship(org.neo4j.graphdb.Direction direction,
                               org.neo4j.graphdb.RelationshipType... types)
Specified by:
hasRelationship in interface org.neo4j.graphdb.Node

getRelationships

public Iterable<org.neo4j.graphdb.Relationship> getRelationships(org.neo4j.graphdb.RelationshipType type,
                                                                 org.neo4j.graphdb.Direction direction)
Specified by:
getRelationships in interface org.neo4j.graphdb.Node

getSingleRelationship

public org.neo4j.graphdb.Relationship getSingleRelationship(org.neo4j.graphdb.RelationshipType type,
                                                            org.neo4j.graphdb.Direction direction)
Specified by:
getSingleRelationship in interface org.neo4j.graphdb.Node

hasRelationship

public boolean hasRelationship()
Specified by:
hasRelationship in interface org.neo4j.graphdb.Node

hasRelationship

public boolean hasRelationship(org.neo4j.graphdb.RelationshipType... types)
Specified by:
hasRelationship in interface org.neo4j.graphdb.Node

hasRelationship

public boolean hasRelationship(org.neo4j.graphdb.Direction direction)
Specified by:
hasRelationship in interface org.neo4j.graphdb.Node

hasRelationship

public boolean hasRelationship(org.neo4j.graphdb.RelationshipType type,
                               org.neo4j.graphdb.Direction direction)
Specified by:
hasRelationship in interface org.neo4j.graphdb.Node

traverse

public org.neo4j.graphdb.Traverser traverse(org.neo4j.graphdb.Traverser.Order order,
                                            org.neo4j.graphdb.StopEvaluator stopEvaluator,
                                            org.neo4j.graphdb.ReturnableEvaluator returnableEvaluator,
                                            Object... rels)
Specified by:
traverse in interface org.neo4j.graphdb.Node

traverse

public org.neo4j.graphdb.Traverser traverse(org.neo4j.graphdb.Traverser.Order order,
                                            org.neo4j.graphdb.StopEvaluator stopEvaluator,
                                            org.neo4j.graphdb.ReturnableEvaluator returnableEvaluator,
                                            org.neo4j.graphdb.RelationshipType type,
                                            org.neo4j.graphdb.Direction direction)
Specified by:
traverse in interface org.neo4j.graphdb.Node

traverse

public org.neo4j.graphdb.Traverser traverse(org.neo4j.graphdb.Traverser.Order order,
                                            org.neo4j.graphdb.StopEvaluator stopEvaluator,
                                            org.neo4j.graphdb.ReturnableEvaluator returnableEvaluator,
                                            org.neo4j.graphdb.RelationshipType type,
                                            org.neo4j.graphdb.Direction direction,
                                            org.neo4j.graphdb.RelationshipType secondType,
                                            org.neo4j.graphdb.Direction secondDirection)
Specified by:
traverse in interface org.neo4j.graphdb.Node

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.