org.nuxeo.ecm.platform.relations.api.impl
Class AbstractNode
java.lang.Object
org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Node>, Node
- Direct Known Subclasses:
- BlankImpl, LiteralImpl, ResourceImpl
public abstract class AbstractNode
- extends java.lang.Object
- implements Node
Abstract class for nodes.
Nodes can be resources, blank nodes or literals.
- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.platform.relations.api.Node |
getNodeType |
AbstractNode
public AbstractNode()
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 java.lang.Comparable<Node>
Copyright © 2010 Nuxeo SAS. All Rights Reserved.