|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellet.sparqldl.model.ResultBindingImpl
public class ResultBindingImpl
Title: Default implementation of the result binding.
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
ResultBindingImpl()
|
Method Summary | |
---|---|
ResultBinding |
duplicate()
Clones the binding. |
boolean |
equals(java.lang.Object obj)
|
java.util.Set<aterm.ATermAppl> |
getAllVariables()
Returns all variables in this binding. |
aterm.ATermAppl |
getValue(aterm.ATermAppl var)
Gets value for given variable. |
int |
hashCode()
|
boolean |
isBound(aterm.ATermAppl var)
Checks whether given variable is bound. |
boolean |
isEmpty()
Checks for emptiness of the binding. |
void |
setValue(aterm.ATermAppl var,
aterm.ATermAppl binding)
Sets one variable binding. |
void |
setValues(ResultBinding binding)
Sets all variable bindings according to the bindings. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultBindingImpl()
Method Detail |
---|
public void setValue(aterm.ATermAppl var, aterm.ATermAppl binding)
setValue
in interface ResultBinding
var
- variable to set.public void setValues(ResultBinding binding)
setValues
in interface ResultBinding
binding
- to be set.public aterm.ATermAppl getValue(aterm.ATermAppl var)
getValue
in interface ResultBinding
public boolean isBound(aterm.ATermAppl var)
isBound
in interface ResultBinding
var
- variable to determine.
public java.util.Set<aterm.ATermAppl> getAllVariables()
getAllVariables
in interface ResultBinding
public ResultBinding duplicate()
duplicate
in interface ResultBinding
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isEmpty()
isEmpty
in interface ResultBinding
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |