edu.stanford.smi.protegex.owl.model.triplestore
Class TriplePath

java.lang.Object
  extended byedu.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

Field Summary
private  List triples
           
 
Constructor Summary
TriplePath(Collection c)
           
TriplePath(Iterator it)
           
 
Method Summary
 Triple getFirstTriple()
           
 Triple getLastTriple()
           
 int getLength()
           
 Iterator listTriples()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

triples

private List triples
Constructor Detail

TriplePath

public TriplePath(Iterator it)

TriplePath

public TriplePath(Collection c)
Method Detail

getFirstTriple

public Triple getFirstTriple()

getLastTriple

public Triple getLastTriple()

getLength

public int getLength()

listTriples

public Iterator listTriples()