public class DataRangeBindingHelper extends Object implements BindingHelper
Title: Data Range Binding Helper
Description:
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Constructor and Description |
|---|
DataRangeBindingHelper(ABox abox,
DataRangeAtom atom) |
| Modifier and Type | Method and Description |
|---|---|
Collection<AtomVariable> |
getBindableVars(Collection<AtomVariable> bound)
Returns a set of variables which this binding helper can bind.
|
Collection<AtomVariable> |
getPrerequisiteVars(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.
|
String |
toString() |
public DataRangeBindingHelper(ABox abox, DataRangeAtom atom)
public Collection<AtomVariable> getBindableVars(Collection<AtomVariable> bound)
BindingHelpergetBindableVars in interface BindingHelperpublic Collection<AtomVariable> getPrerequisiteVars(Collection<AtomVariable> bound)
BindingHelpergetPrerequisiteVars in interface BindingHelperpublic void rebind(VariableBinding newBinding)
BindingHelperrebind in interface BindingHelpernewBinding - Binding map. Implementation will
copy map if needed.public boolean selectNextBinding()
BindingHelperselectNextBinding in interface BindingHelperpublic void setCurrentBinding(VariableBinding currentBinding)
BindingHelpersetCurrentBinding in interface BindingHelperCopyright © 2019. All rights reserved.