public class QueryImpl extends RuleImpl implements org.kie.api.definition.rule.Query
RuleImpl.SafeConsequence, RuleImpl.SafeEnabled, RuleImpl.SafeSalience
activationListener, 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, getId, getLhs, getLoadOrder, getMetaAttribute, getMetaAttributes, getMetaData, getMethodBytecode, getName, getNamedConsequence, getNamedConsequences, getNamespace, getPackage, getPackageName, getParent, getRequiredDeclarationsForConsequence, getResource, getRuleFlowGroup, getSalience, getSpecifity, getTimer, getTransformedLhs, hashCode, hasLogicalDependency, hasNamedConsequences, isDataDriven, isEager, isEffective, isEnabled, isLockOnActive, isNoLoop, isSemanticallyValid, listMetaAttributes, setActivationGroup, setActivationListener, setAgendaGroup, setAutoFocus, setCalendars, setConsequence, setDataDriven, setDateEffective, setDateExpires, setDialect, setEager, setEnabled, setHasLogicalDependency, setLhs, setLoadOrder, setLockOnActive, setNoLoop, setPackage, setParent, setRequiredDeclarationsForConsequence, setResource, setRuleFlowGroup, setSalience, setSemanticallyValid, setTimer, toRuleNameAndPathString, toString, wire
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public QueryImpl()
public QueryImpl(String name)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class RuleImpl
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class RuleImpl
IOException
ClassNotFoundException
public 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.KieDefinition
getKnowledgeType
in class RuleImpl
public boolean isAbductive()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.