org.springframework.data.neo4j.rest
Class RestRelationship
java.lang.Object
org.springframework.data.neo4j.rest.RestEntity
org.springframework.data.neo4j.rest.RestRelationship
- All Implemented Interfaces:
- org.neo4j.graphdb.PropertyContainer, org.neo4j.graphdb.Relationship
public class RestRelationship
- extends RestEntity
- implements org.neo4j.graphdb.Relationship
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 interface org.neo4j.graphdb.Relationship |
delete, getId |
Methods inherited from interface org.neo4j.graphdb.PropertyContainer |
getGraphDatabase, getProperty, getProperty, getPropertyKeys, getPropertyValues, hasProperty, removeProperty, setProperty |
RestRelationship
public RestRelationship(Map<?,?> data,
RestGraphDatabase graphDatabase)
getEndNode
public org.neo4j.graphdb.Node getEndNode()
- Specified by:
getEndNode
in interface org.neo4j.graphdb.Relationship
getNodes
public org.neo4j.graphdb.Node[] getNodes()
- Specified by:
getNodes
in interface org.neo4j.graphdb.Relationship
getOtherNode
public org.neo4j.graphdb.Node getOtherNode(org.neo4j.graphdb.Node node)
- Specified by:
getOtherNode
in interface org.neo4j.graphdb.Relationship
getStartNode
public org.neo4j.graphdb.Node getStartNode()
- Specified by:
getStartNode
in interface org.neo4j.graphdb.Relationship
getType
public org.neo4j.graphdb.RelationshipType getType()
- Specified by:
getType
in interface org.neo4j.graphdb.Relationship
isType
public boolean isType(org.neo4j.graphdb.RelationshipType type)
- Specified by:
isType
in interface org.neo4j.graphdb.Relationship
create
public static org.neo4j.graphdb.Relationship create(RestNode startNode,
RestNode endNode,
org.neo4j.graphdb.RelationshipType type,
Map<String,Object> props)
Copyright © 2011 SpringSource. All Rights Reserved.