站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by org.drools.rule.Rule
      extended by org.drools.rule.Query
All Implemented Interfaces:
Serializable

public class Query
extends Rule

See Also:
Serialized Form

Constructor Summary
Query(String name)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

public Query(String name)
Method Detail

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.