public class NotEqual extends BaseBuiltin
BASE_URI
Constructor and Description |
---|
NotEqual() |
Modifier and Type | Method and Description |
---|---|
boolean |
bodyCall(Node[] args,
int length,
RuleContext context)
This method is invoked when the builtin is called in a rule body.
|
int |
getArgLength()
Return the expected number of arguments for this functor or 0 if the number is flexible.
|
String |
getName()
Return a name for this builtin, normally this will be the name of the
functor that will be used to invoke it.
|
checkArgs, getArg, getURI, headAction, isMonotonic, isSafe
public String getName()
public int getArgLength()
getArgLength
in interface Builtin
getArgLength
in class BaseBuiltin
public boolean bodyCall(Node[] args, int length, RuleContext context)
bodyCall
in interface Builtin
bodyCall
in class BaseBuiltin
args
- the array of argument values for the builtin, this is an array
of Nodes, some of which may be Node_RuleVariables.length
- the length of the argument list, may be less than the length of the args array
for some rule enginescontext
- an execution context giving access to other relevant dataCopyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP