|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.clarkparsia.pellet.rules.DataRangeBindingHelper
public class DataRangeBindingHelper
Title: Data Range Binding Helper
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Constructor Summary | |
|---|---|
DataRangeBindingHelper(ABox abox,
DataRangeAtom atom)
|
|
| Method Summary | |
|---|---|
java.util.Collection<AtomVariable> |
getBindableVars(java.util.Collection<AtomVariable> bound)
Returns a set of variables which this binding helper can bind. |
java.util.Collection<AtomVariable> |
getPrerequisiteVars(java.util.Collection<AtomVariable> bound)
Returns a set of variables which must be bound before this helper can generate bindings. |
void |
rebind(VariableBinding newBinding)
Set the incoming binding for this helper. |
boolean |
selectNextBinding()
Selects the next binding. |
void |
setCurrentBinding(VariableBinding currentBinding)
Set the variables this pattern uses in the given map. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataRangeBindingHelper(ABox abox,
DataRangeAtom atom)
| Method Detail |
|---|
public java.util.Collection<AtomVariable> getBindableVars(java.util.Collection<AtomVariable> bound)
BindingHelper
getBindableVars in interface BindingHelperpublic java.util.Collection<AtomVariable> getPrerequisiteVars(java.util.Collection<AtomVariable> bound)
BindingHelper
getPrerequisiteVars in interface BindingHelperpublic void rebind(VariableBinding newBinding)
BindingHelper
rebind in interface BindingHelpernewBinding - Binding map. Implementation will
copy map if needed.public boolean selectNextBinding()
BindingHelper
selectNextBinding in interface BindingHelperpublic void setCurrentBinding(VariableBinding currentBinding)
BindingHelper
setCurrentBinding in interface BindingHelperpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||