Interface NodeContext
public interface NodeContext
Gets data related to a node.
-
Method Summary
Modifier and TypeMethodDescriptiongetContexts
(LinkType linkType, RelationShipType relationshipType) Get sources/targets/children/parents of the current node.getIncomingLinks
(NodeContext startNode) Deprecated.Returns a list of links from the start node to the current node.getNode()
Returns the current node.getOutgoingLinks
(NodeContext endNode) Deprecated.Returns a list of links from the current node to the end node.
-
Method Details
-
getOutgoingLinks
Deprecated.Returns a list of links from the current node to the end node. -
getIncomingLinks
Deprecated.Returns a list of links from the start node to the current node. -
getContexts
Get sources/targets/children/parents of the current node.- Parameters:
linkType
- a type of link.relationshipType
- a type of relationship- Returns:
- a list of node contexts.
-
getNode
Node getNode()Returns the current node.
-