edu.stanford.smi.protegex.owl.model.triplestore
Class TriplePath
java.lang.Object
edu.stanford.smi.protegex.owl.model.triplestore.TriplePath
- All Implemented Interfaces:
- TripleDescriptor
- public class TriplePath
- extends Object
- implements TripleDescriptor
A chain of Triples, so that the object of one Triple is the subject of
the next.
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
triples
private List triples
TriplePath
public TriplePath(Iterator it)
TriplePath
public TriplePath(Collection c)
getFirstTriple
public Triple getFirstTriple()
getLastTriple
public Triple getLastTriple()
getLength
public int getLength()
listTriples
public Iterator listTriples()