Interface Node

All Superinterfaces:
Entity, MapAccessor

public interface Node extends Entity
The Node interface describes the characteristics of a node from a Neo4j graph.
Since:
1.0
  • Method Details

    • labels

      Iterable<String> labels()
      Return all labels.
      Returns:
      a label Collection
    • hasLabel

      boolean hasLabel(String label)
      Test if this node has a given label
      Parameters:
      label - the label
      Returns:
      true if this node has the label otherwise false