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
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() -
isBlank
public boolean isBlank() -
isResource
public boolean isResource()- Specified by:
isResource
in interfaceNode
-
isQNameResource
public boolean isQNameResource()- Specified by:
isQNameResource
in interfaceNode
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Node>
-