当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
FactPattern (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.brms.client.modeldriven.brxml
Class FactPattern
java.lang.Object
org.drools.brms.client.modeldriven.brxml.FactPattern
- All Implemented Interfaces:
- IPattern, PortableObject
public class FactPattern
- extends Object
- implements IPattern
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constraints
public Constraint[] constraints
factType
public String factType
boundName
public String boundName
FactPattern
public FactPattern()
FactPattern
public FactPattern(String factType)
addConstraint
public void addConstraint(Constraint constraint)
removeConstraint
public void removeConstraint(int idx)
isBound
public boolean isBound()
- Returns true if there is a variable bound to this fact.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.