public interface IConstraint extends BOp, Serializable
IBindingSet
. For example, you can impose the constraint that two
variables must have distinct bindings the constraint that a binding must be
(or must not be) a particular value type, or that the binding must take on
one of a set of enumerated values.BOp.Annotations
Modifier and Type | Field and Description |
---|---|
static IConstraint[] |
EMPTY
A zero length empty
IConstraint array. |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(IBindingSet bindingSet)
Return
true if the binding set satisfies the constraint. |
annotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString, toString
getProperty
static final IConstraint[] EMPTY
IConstraint
array.boolean accept(IBindingSet bindingSet)
true
if the binding set satisfies the constraint.bindingSet
- The binding set.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.