org.topbraid.spin.constraints
Class SimplePropertyPath

java.lang.Object
  extended by org.topbraid.spin.constraints.SimplePropertyPath
Direct Known Subclasses:
ObjectPropertyPath, SubjectPropertyPath

public abstract class SimplePropertyPath
extends java.lang.Object

A property path that describes a mechanism to get values starting from a given RDF node (root) by following a given predicate. There are two subclasses for SP->O and OP->S paths.

Author:
Holger Knublauch

Constructor Summary
SimplePropertyPath(Resource root, Property predicate)
           
 
Method Summary
 Property getPredicate()
           
 Resource getRoot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePropertyPath

public SimplePropertyPath(Resource root,
                          Property predicate)
Method Detail

getPredicate

public Property getPredicate()

getRoot

public Resource getRoot()