public class ValueUnboundRelationship extends ValuePropertyContainer implements UnboundRelationship
| Constructor and Description |
|---|
ValueUnboundRelationship(long id,
org.neo4j.graphdb.RelationshipType type,
Map<String,Object> props) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.graphdb.Relationship |
bind(org.neo4j.graphdb.Node startNode,
org.neo4j.graphdb.Node endNode)
Bind this relationship to a pair of nodes to create a full relationship.
|
void |
delete() |
boolean |
equals(Object o) |
org.neo4j.graphdb.Node |
getEndNode() |
org.neo4j.graphdb.GraphDatabaseService |
getGraphDatabase() |
long |
getId() |
org.neo4j.graphdb.Node[] |
getNodes() |
org.neo4j.graphdb.Node |
getOtherNode(org.neo4j.graphdb.Node node) |
Object |
getProperty(String key,
Object defaultValue) |
org.neo4j.graphdb.Node |
getStartNode() |
org.neo4j.graphdb.RelationshipType |
getType() |
int |
hashCode() |
boolean |
hasProperty(String key) |
boolean |
isType(org.neo4j.graphdb.RelationshipType type) |
static void |
pack(Neo4jPack.Packer packer,
org.neo4j.graphdb.Relationship rel) |
Object |
removeProperty(String key) |
void |
setProperty(String key,
Object value) |
String |
toString() |
static ValueUnboundRelationship |
unbind(org.neo4j.graphdb.Relationship relationship) |
static ValueUnboundRelationship |
unpack(Neo4jPack.Unpacker unpacker) |
static ValueUnboundRelationship |
unpackFields(Neo4jPack.Unpacker unpacker) |
getAllProperties, getProperties, getProperty, getPropertyKeyspublic static void pack(Neo4jPack.Packer packer, org.neo4j.graphdb.Relationship rel) throws IOException
IOExceptionpublic static ValueUnboundRelationship unpack(Neo4jPack.Unpacker unpacker) throws IOException
IOExceptionpublic static ValueUnboundRelationship unpackFields(Neo4jPack.Unpacker unpacker) throws IOException
IOExceptionpublic static ValueUnboundRelationship unbind(org.neo4j.graphdb.Relationship relationship)
public long getId()
getId in interface org.neo4j.graphdb.EntitygetId in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.GraphDatabaseService getGraphDatabase()
getGraphDatabase in interface org.neo4j.graphdb.PropertyContainerpublic boolean hasProperty(String key)
hasProperty in interface org.neo4j.graphdb.PropertyContainerpublic Object getProperty(String key, Object defaultValue)
getProperty in interface org.neo4j.graphdb.PropertyContainerpublic void setProperty(String key, Object value)
setProperty in interface org.neo4j.graphdb.PropertyContainerpublic Object removeProperty(String key)
removeProperty in interface org.neo4j.graphdb.PropertyContainerpublic org.neo4j.graphdb.RelationshipType getType()
getType in interface org.neo4j.graphdb.Relationshippublic boolean isType(org.neo4j.graphdb.RelationshipType type)
isType in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Relationship bind(org.neo4j.graphdb.Node startNode,
org.neo4j.graphdb.Node endNode)
UnboundRelationshipbind in interface UnboundRelationshippublic void delete()
delete in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node getStartNode()
getStartNode in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node getEndNode()
getEndNode in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node getOtherNode(org.neo4j.graphdb.Node node)
getOtherNode in interface org.neo4j.graphdb.Relationshippublic org.neo4j.graphdb.Node[] getNodes()
getNodes in interface org.neo4j.graphdb.RelationshipCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.