| java.lang.Object org.drools.brms.client.modeldriven.brl.FactPattern
FactPattern | public class FactPattern implements IPattern(Code) | | A fact pattern is a declaration of a fact type, and its constraint,
and perhaps a variable that is it bound to
It is the equivalent of a "pattern" in drools terms.
author: Michael Neale |
FactPattern | public FactPattern()(Code) | | |
addConstraint | public void addConstraint(FieldConstraint constraint)(Code) | | This will add a top level constraint.
|
getFieldConstraints | public FieldConstraint[] getFieldConstraints()(Code) | | This will return the list of field constraints that are in the root
CompositeFieldConstraint object.
If there is no root, then an empty array will be returned.
an empty array, or the list of constraints (which may be composites). |
isBound | public boolean isBound()(Code) | | Returns true if there is a variable bound to this fact.
|
removeConstraint | public void removeConstraint(int idx)(Code) | | |
|
|