Class AbstractNode

java.lang.Object
org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Node>, Node
Direct Known Subclasses:
BlankImpl, CoreGraph.Subjects, LiteralImpl, ResourceImpl

public abstract class AbstractNode extends Object implements Node
Abstract class for nodes.

Nodes can be resources, blank nodes or literals.

Author:
Anahide Tchertchian
See Also:
  • Constructor Details

    • AbstractNode

      public AbstractNode()
  • Method Details

    • isLiteral

      public boolean isLiteral()
      Specified by:
      isLiteral in interface Node
    • isBlank

      public boolean isBlank()
      Specified by:
      isBlank in interface Node
    • isResource

      public boolean isResource()
      Specified by:
      isResource in interface Node
    • isQNameResource

      public boolean isQNameResource()
      Specified by:
      isQNameResource in interface Node
    • compareTo

      public int compareTo(Node o)
      Specified by:
      compareTo in interface Comparable<Node>