public class NodeWrapper extends EntityWrapper<org.neo4j.graphdb.Node> implements org.structr.api.graph.Node
Modifier and Type | Method and Description |
---|---|
void |
addLabel(org.structr.api.graph.Label label) |
void |
clearCaches() |
org.structr.api.graph.Relationship |
createRelationshipTo(org.structr.api.graph.Node endNode,
org.structr.api.graph.RelationshipType relationshipType) |
void |
delete() |
boolean |
equals(Object other) |
long |
getId() |
Iterable<org.structr.api.graph.Label> |
getLabels() |
Iterable<org.structr.api.graph.Relationship> |
getRelationships() |
Iterable<org.structr.api.graph.Relationship> |
getRelationships(org.structr.api.graph.Direction direction) |
Iterable<org.structr.api.graph.Relationship> |
getRelationships(org.structr.api.graph.Direction direction,
org.structr.api.graph.RelationshipType relationshipType) |
static NodeWrapper |
getWrapper(Neo4jDatabaseService graphDb,
org.neo4j.graphdb.Node node) |
int |
hashCode() |
boolean |
isSpatialEntity() |
void |
removeLabel(org.structr.api.graph.Label label) |
org.neo4j.graphdb.Node |
unwrap() |
getProperty, getProperty, getPropertyKeys, hasProperty, removeProperty, setProperty, unwrap, unwrap, unwrap, unwrap, unwrap
public org.structr.api.graph.Relationship createRelationshipTo(org.structr.api.graph.Node endNode, org.structr.api.graph.RelationshipType relationshipType)
createRelationshipTo
in interface org.structr.api.graph.Node
public void addLabel(org.structr.api.graph.Label label)
addLabel
in interface org.structr.api.graph.Node
public void removeLabel(org.structr.api.graph.Label label)
removeLabel
in interface org.structr.api.graph.Node
public Iterable<org.structr.api.graph.Label> getLabels()
getLabels
in interface org.structr.api.graph.Node
public Iterable<org.structr.api.graph.Relationship> getRelationships()
getRelationships
in interface org.structr.api.graph.Node
public Iterable<org.structr.api.graph.Relationship> getRelationships(org.structr.api.graph.Direction direction)
getRelationships
in interface org.structr.api.graph.Node
public Iterable<org.structr.api.graph.Relationship> getRelationships(org.structr.api.graph.Direction direction, org.structr.api.graph.RelationshipType relationshipType)
getRelationships
in interface org.structr.api.graph.Node
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.Node unwrap()
public void clearCaches()
clearCaches
in class EntityWrapper<org.neo4j.graphdb.Node>
public static NodeWrapper getWrapper(Neo4jDatabaseService graphDb, org.neo4j.graphdb.Node node)
Copyright © 2016. All rights reserved.