de.fuberlin.wiwiss.ng4j.semwebclient
Class SemWebTriple

java.lang.Object
  extended by com.hp.hpl.jena.graph.Triple
      extended by de.fuberlin.wiwiss.ng4j.semwebclient.SemWebTriple
All Implemented Interfaces:
TripleMatch

public class SemWebTriple
extends Triple

A Triple which contains information about it's source.

Author:
Tobias Gauß

Nested Class Summary
 
Nested classes/interfaces inherited from class com.hp.hpl.jena.graph.Triple
Triple.Field
 
Field Summary
 
Fields inherited from class com.hp.hpl.jena.graph.Triple
ANY, cache
 
Constructor Summary
SemWebTriple(Node s, Node p, Node o)
          Creates a SemWebTriple.
SemWebTriple(Triple t, Node sourceURI)
           
 
Method Summary
 Node getSource()
          Returns the triple's source.
 void setSource(Node n)
          Sets the triple's source.
 
Methods inherited from class com.hp.hpl.jena.graph.Triple
asTriple, create, create, create, createMatch, equals, getMatchObject, getMatchPredicate, getMatchSubject, getObject, getPredicate, getSubject, hashCode, hashCode, isConcrete, matches, matches, objectMatches, predicateMatches, sameAs, subjectMatches, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SemWebTriple

public SemWebTriple(Node s,
                    Node p,
                    Node o)
Creates a SemWebTriple.

Parameters:
s - The subject Node.
p - The predicate Node.
o - The object Node.

SemWebTriple

public SemWebTriple(Triple t,
                    Node sourceURI)
Method Detail

setSource

public void setSource(Node n)
Sets the triple's source.

Parameters:
n - The source Node.

getSource

public Node getSource()
Returns the triple's source.

Returns:
Node