| java.lang.Object com.hp.hpl.jena.reasoner.rulesys.builtins.BaseBuiltin com.hp.hpl.jena.reasoner.rulesys.builtins.Remove
Remove | public class Remove extends BaseBuiltin (Code) | | Remove the body clause given by index arguments from the database.
author: Dave Reynolds version: $Revision: 1.14 $ on $Date: 2008/01/02 12:06:21 $ |
Method Summary | |
public String | getName() Return a name for this builtin, normally this will be the name of the
functor that will be used to invoke it. | public void | headAction(Node[] args, int length, RuleContext context) This method is invoked when the builtin is called in a rule head. | public boolean | isMonotonic() Returns false if this builtin is non-monotonic. |
getName | public String getName()(Code) | | Return a name for this builtin, normally this will be the name of the
functor that will be used to invoke it.
|
headAction | public void headAction(Node[] args, int length, RuleContext context)(Code) | | This method is invoked when the builtin is called in a rule head.
Such a use is only valid in a forward rule.
Parameters: args - the array of argument values for the builtin, this is an array of Nodes. Parameters: length - the length of the argument list, may be less than the length of the args arrayfor some rule engines Parameters: context - an execution context giving access to other relevant data |
isMonotonic | public boolean isMonotonic()(Code) | | Returns false if this builtin is non-monotonic. This includes non-monotonic checks like noValue
and non-monotonic actions like remove/drop. A non-monotonic call in a head is assumed to
be an action and makes the overall rule and ruleset non-monotonic.
Most JenaRules are monotonic deductive closure rules in which this should be false.
|
Fields inherited from com.hp.hpl.jena.reasoner.rulesys.builtins.BaseBuiltin | final public static String BASE_URI(Code)(Java Doc)
|
|
|