Protégé-OWL 3.4.1

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

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

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
 

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()

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.