public class QueryImpl extends RuleImpl implements org.kie.api.definition.rule.Query
RuleImpl.SafeConsequence, RuleImpl.SafeEnabled, RuleImpl.SafeSalienceactivationListener, DEFAULT_CONSEQUENCE_NAME| Modifier and Type | Method and Description |
|---|---|
org.kie.api.definition.KieDefinition.KnowledgeType |
getKnowledgeType() |
Declaration[] |
getParameters() |
boolean |
isAbductive() |
boolean |
isQuery() |
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.
|
void |
readExternal(ObjectInput in) |
void |
setParameters(Declaration[] parameters) |
void |
writeExternal(ObjectOutput out) |
addMetaAttribute, addNamedConsequence, addPattern, addUsedQuery, collectDependingQueries, equals, getActivationGroup, getActivationListener, getAgendaGroup, getAutoFocus, getCalendars, getConsequence, getConsequenceMetaData, getDateEffective, getDateExpires, getDeclaration, getDeclarations, getDependingQueries, getDialect, getEnabled, getFullyQualifiedName, getId, getLhs, getLoadOrder, getMetaAttribute, getMetaAttributes, getMetaData, getMethodBytecode, getName, getNamedConsequence, getNamedConsequences, getNamespace, getPackage, getPackageName, getParent, getRequiredDeclarationsForConsequence, getResource, getRuleFlowGroup, getSalience, getSpecifity, getTimer, getTransformedLhs, hashCode, hasLogicalDependency, hasNamedConsequences, isAllMatches, isDataDriven, isEager, isEffective, isEnabled, isLockOnActive, isNoLoop, isSemanticallyValid, listMetaAttributes, setActivationGroup, setActivationListener, setAgendaGroup, setAllMatches, setAutoFocus, setCalendars, setConsequence, setDataDriven, setDateEffective, setDateExpires, setDialect, setEager, setEnabled, setHasLogicalDependency, setLhs, setLoadOrder, setLockOnActive, setNoLoop, setPackage, setParent, setRequiredDeclarationsForConsequence, setResource, setRuleFlowGroup, setSalience, setSemanticallyValid, setTimer, toRuleNameAndPathString, toString, wireclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic QueryImpl()
public QueryImpl(String name)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class RuleImplIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class RuleImplIOExceptionClassNotFoundExceptionpublic boolean isValid()
public void setParameters(Declaration[] parameters)
public Declaration[] getParameters()
public org.kie.api.definition.KieDefinition.KnowledgeType getKnowledgeType()
getKnowledgeType in interface org.kie.api.definition.KieDefinitiongetKnowledgeType in class RuleImplpublic boolean isAbductive()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.