public class RelationshipWrapper extends EntityWrapper<org.neo4j.graphdb.Relationship> implements org.structr.api.graph.Relationship
Modifier and Type | Method and Description |
---|---|
void |
delete() |
boolean |
equals(Object other) |
org.structr.api.graph.Node |
getEndNode() |
long |
getId() |
org.structr.api.graph.Node |
getOtherNode(org.structr.api.graph.Node node) |
org.structr.api.graph.Node |
getStartNode() |
org.structr.api.graph.RelationshipType |
getType() |
static RelationshipWrapper |
getWrapper(Neo4jDatabaseService graphDb,
org.neo4j.graphdb.Relationship relationship) |
int |
hashCode() |
boolean |
isSpatialEntity() |
String |
toString() |
org.neo4j.graphdb.Relationship |
unwrap() |
clearCaches, getProperty, getProperty, getPropertyKeys, hasProperty, removeProperty, setProperty, unwrap, unwrap, unwrap, unwrap, unwrap
public org.structr.api.graph.Node getStartNode()
getStartNode
in interface org.structr.api.graph.Relationship
public org.structr.api.graph.Node getEndNode()
getEndNode
in interface org.structr.api.graph.Relationship
public org.structr.api.graph.Node getOtherNode(org.structr.api.graph.Node node)
getOtherNode
in interface org.structr.api.graph.Relationship
public org.structr.api.graph.RelationshipType getType()
getType
in interface org.structr.api.graph.Relationship
public long getId()
getId
in interface org.structr.api.graph.PropertyContainer
public void delete() throws org.structr.api.NotInTransactionException
delete
in interface org.structr.api.graph.PropertyContainer
org.structr.api.NotInTransactionException
public boolean isSpatialEntity()
isSpatialEntity
in interface org.structr.api.graph.PropertyContainer
public org.neo4j.graphdb.Relationship unwrap()
public static RelationshipWrapper getWrapper(Neo4jDatabaseService graphDb, org.neo4j.graphdb.Relationship relationship)
Copyright © 2016. All rights reserved.