org.omwg.ordi.rdf
Interface Triple

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SesameTripleImpl

public interface Triple
extends java.io.Serializable

an interface representing an RDF triple

Version:
$Revision: 1.1 $ $Date: 2006/02/01 14:19:21 $
Author:
Damyan

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
 

Method Detail

subject

org.wsmo.common.Identifier subject()
retrive the subject component of the triple

Returns:
the id if the subject

predicate

org.wsmo.common.IRI predicate()
retrive the predicate component of the triple

Returns:
the id of the predicate

object

java.lang.Object object()
retrive the object component of the triple

Returns:
the type of the value returned is Identifier or a DataValue


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