Class AbstractEdge
- java.lang.Object
-
- org.geneontology.obographs.core.model.AbstractEdge
-
- All Implemented Interfaces:
Comparable<AbstractEdge>,NodeOrEdge
- Direct Known Subclasses:
Edge
@Immutable public abstract class AbstractEdge extends Object implements NodeOrEdge, Comparable<AbstractEdge>
An edge connects two nodes via a predicate- Author:
- cjm
-
-
Field Summary
-
Fields inherited from interface org.geneontology.obographs.core.model.NodeOrEdge
EMPTY_META
-
-
Constructor Summary
Constructors Constructor Description AbstractEdge()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(AbstractEdge other)abstract StringgetObj()abstract StringgetPred()abstract StringgetSub()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.geneontology.obographs.core.model.NodeOrEdge
getMeta
-
-
-
-
Method Detail
-
getSub
public abstract String getSub()
-
getPred
public abstract String getPred()
-
getObj
public abstract String getObj()
-
compareTo
public int compareTo(AbstractEdge other)
- Specified by:
compareToin interfaceComparable<AbstractEdge>
-
-