当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
Query (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.rule
Class Query
java.lang.Object
org.drools.rule.Rule
org.drools.rule.Query
- All Implemented Interfaces:
- Serializable
public class Query
- extends Rule
- See Also:
- Serialized Form
Method Summary |
boolean |
isValid()
Override this as Queries will NEVER have a consequence, and it should
not be taken into account when deciding if it is valid. |
Methods inherited from class org.drools.rule.Rule |
addPattern, equals, getActivationGroup, getAgendaGroup, getAutoFocus, getConsequence, getDeclaration, getDeclarations, getDialect, getDuration, getLhs, getLoadOrder, getName, getNoLoop, getPackage, getRuleFlowGroup, getSalience, getSpecifity, getTransformedLhs, hashCode, hasLogicalDependency, isEffective, isLockOnActive, isSemanticallyValid, setActivationGroup, setAgendaGroup, setAutoFocus, setConsequence, setDateEffective, setDateExpires, setDialect, setDuration, setDuration, setEnabled, setHasLogicalDependency, setLhs, setLockOnActive, setNoLoop, setRuleFlowGroup, setSalience, setSemanticallyValid, toString |
Query
public Query(String name)
isValid
public boolean isValid()
- Override this as Queries will NEVER have a consequence, and it should
not be taken into account when deciding if it is valid.
- Overrides:
isValid
in class Rule
- Returns:
true
if this rule is valid, else
false
.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.