public class NodeSnapshot extends EntitySnapshot<org.neo4j.graphdb.Node> implements org.neo4j.graphdb.Node, NodeWrapper
EntitySnapshot representing a Node.transactionDataContainer, wrapped| Constructor and Description |
|---|
NodeSnapshot(org.neo4j.graphdb.Node wrapped,
TransactionDataContainer transactionDataContainer)
Construct a snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLabel(org.neo4j.graphdb.Label label) |
org.neo4j.graphdb.Relationship |
createRelationshipTo(org.neo4j.graphdb.Node otherNode,
org.neo4j.graphdb.RelationshipType type) |
void |
delete() |
int |
getDegree() |
int |
getDegree(org.neo4j.graphdb.Direction direction) |
int |
getDegree(org.neo4j.graphdb.RelationshipType type) |
int |
getDegree(org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction) |
Iterable<org.neo4j.graphdb.Label> |
getLabels() |
boolean |
hasLabel(org.neo4j.graphdb.Label label) |
void |
removeLabel(org.neo4j.graphdb.Label label) |
protected org.neo4j.graphdb.Node |
self() |
protected EntityTransactionData<org.neo4j.graphdb.Node> |
transactionData()
Get data about the transaction relevant for the subclass.
|
protected org.neo4j.graphdb.Relationship |
wrapRelationship(org.neo4j.graphdb.Relationship relationship) |
protected Iterable<org.neo4j.graphdb.Relationship> |
wrapRelationships(Iterable<org.neo4j.graphdb.Relationship> relationships,
org.neo4j.graphdb.Direction direction,
org.neo4j.graphdb.RelationshipType... relationshipTypes) |
checkCanBeMutated, getProperty, getPropertyKeys, getWrapped, hasProperty, removeProperty, setPropertyequals, getEndNode, getGraphDatabase, getId, getRelationships, getRelationships, getRelationships, getRelationships, getRelationships, getRelationshipTypes, getStartNode, getType, hashCode, wrapNodegetAllProperties, getNodes, getOtherNode, getProperties, getProperty, getSingleRelationship, hasRelationship, hasRelationship, hasRelationship, hasRelationship, hasRelationship, isType, node, relationshipclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetId, getRelationships, getRelationships, getRelationships, getRelationships, getRelationships, getRelationshipTypes, getSingleRelationship, hasRelationship, hasRelationship, hasRelationship, hasRelationship, hasRelationshipgetAllProperties, getGraphDatabase, getProperties, getProperty, getProperty, getPropertyKeys, hasProperty, removeProperty, setPropertygetWrappedpublic NodeSnapshot(org.neo4j.graphdb.Node wrapped,
TransactionDataContainer transactionDataContainer)
wrapped - node.transactionDataContainer - transaction data container.protected EntityTransactionData<org.neo4j.graphdb.Node> transactionData()
transactionData in class EntitySnapshot<org.neo4j.graphdb.Node>protected org.neo4j.graphdb.Node self()
self in class BaseEntityWrapper<org.neo4j.graphdb.Node>public void delete()
delete in interface org.neo4j.graphdb.Nodedelete in class BaseEntityWrapper<org.neo4j.graphdb.Node>public org.neo4j.graphdb.Relationship createRelationshipTo(org.neo4j.graphdb.Node otherNode,
org.neo4j.graphdb.RelationshipType type)
createRelationshipTo in interface org.neo4j.graphdb.NodecreateRelationshipTo in class BaseEntityWrapper<org.neo4j.graphdb.Node>protected org.neo4j.graphdb.Relationship wrapRelationship(org.neo4j.graphdb.Relationship relationship)
wrapRelationship in class BaseEntityWrapper<org.neo4j.graphdb.Node>protected Iterable<org.neo4j.graphdb.Relationship> wrapRelationships(Iterable<org.neo4j.graphdb.Relationship> relationships, org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType... relationshipTypes)
wrapRelationships in class BaseEntityWrapper<org.neo4j.graphdb.Node>public boolean hasLabel(org.neo4j.graphdb.Label label)
hasLabel in interface org.neo4j.graphdb.NodehasLabel in class BaseEntityWrapper<org.neo4j.graphdb.Node>public Iterable<org.neo4j.graphdb.Label> getLabels()
getLabels in interface org.neo4j.graphdb.NodegetLabels in class BaseEntityWrapper<org.neo4j.graphdb.Node>public void addLabel(org.neo4j.graphdb.Label label)
addLabel in interface org.neo4j.graphdb.NodeaddLabel in class BaseEntityWrapper<org.neo4j.graphdb.Node>public void removeLabel(org.neo4j.graphdb.Label label)
removeLabel in interface org.neo4j.graphdb.NoderemoveLabel in class BaseEntityWrapper<org.neo4j.graphdb.Node>public int getDegree()
getDegree in interface org.neo4j.graphdb.NodegetDegree in class BaseEntityWrapper<org.neo4j.graphdb.Node>public int getDegree(org.neo4j.graphdb.RelationshipType type)
getDegree in interface org.neo4j.graphdb.NodegetDegree in class BaseEntityWrapper<org.neo4j.graphdb.Node>public int getDegree(org.neo4j.graphdb.Direction direction)
getDegree in interface org.neo4j.graphdb.NodegetDegree in class BaseEntityWrapper<org.neo4j.graphdb.Node>public int getDegree(org.neo4j.graphdb.RelationshipType type,
org.neo4j.graphdb.Direction direction)
getDegree in interface org.neo4j.graphdb.NodegetDegree in class BaseEntityWrapper<org.neo4j.graphdb.Node>Copyright © 2013-2016–2020 Graph Aware Limited. All rights reserved.