com.ontotext.ordi.wrappers
Class SesameTripleImpl

java.lang.Object
  extended by com.ontotext.ordi.wrappers.SesameTripleImpl
All Implemented Interfaces:
java.io.Serializable, Triple

public class SesameTripleImpl
extends java.lang.Object
implements Triple

A Triple implemntation which wraps a Seasme Statement

Version:
$Revision: 1.1 $ $Date: 2006/02/01 14:17:15 $
Author:
Damyan
See Also:
Serialized Form

Constructor Summary
SesameTripleImpl(org.openrdf.model.Resource s, org.openrdf.model.URI p, org.openrdf.model.Value v)
           
 
Method Summary
 java.lang.Object object()
          retrive the object component of the triple
 org.wsmo.common.IRI predicate()
          retrive the predicate component of the triple
 org.wsmo.common.Identifier subject()
          retrive the subject component of the triple
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SesameTripleImpl

public SesameTripleImpl(org.openrdf.model.Resource s,
                        org.openrdf.model.URI p,
                        org.openrdf.model.Value v)
Method Detail

subject

public org.wsmo.common.Identifier subject()
Description copied from interface: Triple
retrive the subject component of the triple

Specified by:
subject in interface Triple
Returns:
the id if the subject

predicate

public org.wsmo.common.IRI predicate()
Description copied from interface: Triple
retrive the predicate component of the triple

Specified by:
predicate in interface Triple
Returns:
the id of the predicate

object

public java.lang.Object object()
Description copied from interface: Triple
retrive the object component of the triple

Specified by:
object in interface Triple
Returns:
the type of the value returned is Identifier or a DataValue


Copyright © 2005-2006 Ontotext Lab., GNU LGPL License applies.