Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.relations.api.impl
Class AbstractNode

java.lang.Object
  extended by org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Node>, Node
Direct Known Subclasses:
BlankImpl, 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
AbstractNode()
           
 
Method Summary
 int compareTo(Node o)
           
 boolean isBlank()
           
 boolean isLiteral()
           
 boolean isQNameResource()
           
 boolean isResource()
           
 
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
 

Constructor Detail

AbstractNode

public AbstractNode()
Method Detail

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>

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.