|
||||||||||
| 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 |
clone()
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 ResultBindingvar - variable to set.public void setValues(ResultBinding binding)
setValues in interface ResultBindingbinding - to be set.public aterm.ATermAppl getValue(aterm.ATermAppl var)
getValue in interface ResultBindingpublic boolean isBound(aterm.ATermAppl var)
isBound in interface ResultBindingvar - variable to determine.
public java.util.Set<aterm.ATermAppl> getAllVariables()
getAllVariables in interface ResultBindingpublic ResultBinding clone()
clone in interface ResultBindingclone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEmpty()
isEmpty in interface ResultBindingpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | |||||||||