|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellet.rules.DatavaluePropertyBindingHelper
public class DatavaluePropertyBindingHelper
Title: Datavalue Property Binding Helper
Description: Generates bindings based off the given pattern. The predicate must be a datatype property. TODO: Rename to DatavaluedPropertyBindingHelper
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
DatavaluePropertyBindingHelper(ABox abox,
DatavaluedPropertyAtom pattern)
|
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 DatavaluePropertyBindingHelper(ABox abox, DatavaluedPropertyAtom pattern)
Method Detail |
---|
public java.util.Collection<AtomVariable> getBindableVars(java.util.Collection<AtomVariable> bound)
BindingHelper
getBindableVars
in interface BindingHelper
public java.util.Collection<AtomVariable> getPrerequisiteVars(java.util.Collection<AtomVariable> bound)
BindingHelper
getPrerequisiteVars
in interface BindingHelper
public void rebind(VariableBinding newBinding)
rebind
in interface BindingHelper
newBinding
- Binding map. Copied on input.public boolean selectNextBinding()
selectNextBinding
in interface BindingHelper
public void setCurrentBinding(VariableBinding currentBinding)
setCurrentBinding
in interface BindingHelper
currentBinding
- public 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 |