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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Node o)
boolean
isBlank()
boolean
isLiteral()
boolean
isQNameResource()
boolean
isResource()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.relations.api.Node
getNodeType
-
-
-
-
Method Detail
-
isResource
public boolean isResource()
- Specified by:
isResource
in interfaceNode
-
isQNameResource
public boolean isQNameResource()
- Specified by:
isQNameResource
in interfaceNode
-
compareTo
public int compareTo(Node o)
- Specified by:
compareTo
in interfaceComparable<Node>
-
-