org.openrdf.model
Interface Statement

All Superinterfaces:
java.lang.Comparable, java.io.Serializable
All Known Implementing Classes:
Triple

public interface Statement
extends java.lang.Comparable, java.io.Serializable

An RDF statement.


Method Summary
 Value getObject()
          Gets the object of this statement.
 URI getPredicate()
          Gets the predicate of this statement.
 Resource getSubject()
          Gets the subject of this statement.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getSubject

public Resource getSubject()
Gets the subject of this statement.

Returns:
The statement's subject.

getPredicate

public URI getPredicate()
Gets the predicate of this statement.

Returns:
The statement's predicate.

getObject

public Value getObject()
Gets the object of this statement.

Returns:
The statement's object.