org.semanticweb.triple.application
Class TripleSubstitution

java.lang.Object
  extended byorg.semanticweb.triple.application.TripleSubstitution

public class TripleSubstitution
extends java.lang.Object

Copyright ? Juergen Angele and Stefan Decker, Institut AIFB, University of Karlsruhe. All Rights Reserved.

Author:
Administrator

Constructor Summary
TripleSubstitution(Variable v, Term t)
          Constructor for the Substitution object
 
Method Summary
 Term getTerm()
          returns the term of the substitution *@return the term of the substitution
 Term getVariable()
          returns the term of the substitution *@return the term of the substitution
 void setTerm(Term t)
          sets the term of the substitution
 void setVariable(Variable v)
          sets the variable of the substitution
 java.lang.String toN3()
          print results
 java.lang.String toString()
          print results
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TripleSubstitution

public TripleSubstitution(Variable v,
                          Term t)
Constructor for the Substitution object

Parameters:
v - Variable to be substituted
t - Term the variable v is substituted with
Method Detail

getTerm

public Term getTerm()
returns the term of the substitution *@return the term of the substitution


getVariable

public Term getVariable()
returns the term of the substitution *@return the term of the substitution


setTerm

public void setTerm(Term t)
sets the term of the substitution

Parameters:
t - The term of the substitution

setVariable

public void setVariable(Variable v)
sets the variable of the substitution

Parameters:
v - The variable of the substitution

toString

public java.lang.String toString()
print results


toN3

public java.lang.String toN3()
print results