org.openrdf.sail.rdbms.model
Class RdbmsStatement

java.lang.Object
  extended by org.openrdf.model.impl.StatementImpl
      extended by org.openrdf.model.impl.ContextStatementImpl
          extended by org.openrdf.sail.rdbms.model.RdbmsStatement
All Implemented Interfaces:
Serializable, Statement

public class RdbmsStatement
extends ContextStatementImpl

Rdbms typed statement.

Author:
James Leigh
See Also:
Serialized Form

Constructor Summary
RdbmsStatement(RdbmsResource subject, RdbmsURI predicate, RdbmsValue object)
           
RdbmsStatement(RdbmsResource subject, RdbmsURI predicate, RdbmsValue object, RdbmsResource context)
           
 
Method Summary
 RdbmsResource getContext()
          Gets the context of this statement.
 RdbmsValue getObject()
          Gets the object of this statement.
 RdbmsURI getPredicate()
          Gets the predicate of this statement.
 RdbmsResource getSubject()
          Gets the subject of this statement.
 
Methods inherited from class org.openrdf.model.impl.ContextStatementImpl
toString
 
Methods inherited from class org.openrdf.model.impl.StatementImpl
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RdbmsStatement

public RdbmsStatement(RdbmsResource subject,
                      RdbmsURI predicate,
                      RdbmsValue object)

RdbmsStatement

public RdbmsStatement(RdbmsResource subject,
                      RdbmsURI predicate,
                      RdbmsValue object,
                      RdbmsResource context)
Method Detail

getSubject

public RdbmsResource getSubject()
Description copied from interface: Statement
Gets the subject of this statement.

Specified by:
getSubject in interface Statement
Overrides:
getSubject in class StatementImpl
Returns:
The statement's subject.

getPredicate

public RdbmsURI getPredicate()
Description copied from interface: Statement
Gets the predicate of this statement.

Specified by:
getPredicate in interface Statement
Overrides:
getPredicate in class StatementImpl
Returns:
The statement's predicate.

getObject

public RdbmsValue getObject()
Description copied from interface: Statement
Gets the object of this statement.

Specified by:
getObject in interface Statement
Overrides:
getObject in class StatementImpl
Returns:
The statement's object.

getContext

public RdbmsResource getContext()
Description copied from interface: Statement
Gets the context of this statement.

Specified by:
getContext in interface Statement
Overrides:
getContext in class ContextStatementImpl
Returns:
The statement's context, or null in case of the null context or if not applicable.


Copyright © 2001-2008 Aduna. All Rights Reserved.