Class AbstractNode
java.lang.Object
org.geneontology.obographs.core.model.AbstractNode
- All Implemented Interfaces:
Comparable<AbstractNode>,NodeOrEdge
- Direct Known Subclasses:
Node
@Immutable
public abstract class AbstractNode
extends Object
implements NodeOrEdge, Comparable<AbstractNode>
A graph node corresponds to a class, individual or property

- Author:
- cjm
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields inherited from interface org.geneontology.obographs.core.model.NodeOrEdge
EMPTY_META -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(AbstractNode other) getId()getLabel()abstract AbstractNode.PropertyTypeabstract AbstractNode.RDFTYPESgetType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geneontology.obographs.core.model.NodeOrEdge
getMeta
-
Constructor Details
-
AbstractNode
public AbstractNode()
-
-
Method Details
-
getId
-
getLabel
-
getType
-
getPropertyType
-
compareTo
- Specified by:
compareToin interfaceComparable<AbstractNode>
-