public class AbductiveQuery extends QueryImpl implements Externalizable, AcceptsClassObjectType
RuleImpl.SafeConsequence, RuleImpl.SafeEnabled, RuleImpl.SafeSalience
activationListener, DEFAULT_CONSEQUENCE_NAME
Constructor and Description |
---|
AbductiveQuery() |
AbductiveQuery(String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
Object |
abduce(Object... args) |
protected void |
findConstructor(Declaration[] declarations) |
String[] |
getAbducibleArgs() |
ClassObjectType |
getReturnType() |
Object |
getValue() |
boolean |
isAbductive() |
boolean |
isReturnBound() |
int |
mapArgToParam(int j) |
void |
readExternal(ObjectInput in) |
void |
setClassObjectType(ClassObjectType classObjectType) |
void |
setReturnBound(boolean returnBound) |
void |
setReturnType(ClassObjectType objectType,
String[] params,
String[] args,
Declaration[] declarations) |
void |
writeExternal(ObjectOutput out) |
getKnowledgeType, getParameters, isQuery, isValid, setParameters
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, wire
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public boolean isAbductive()
isAbductive
in class QueryImpl
public void setReturnType(ClassObjectType objectType, String[] params, String[] args, Declaration[] declarations) throws NoSuchMethodException, IllegalArgumentException
protected void findConstructor(Declaration[] declarations) throws NoSuchMethodException
NoSuchMethodException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class QueryImpl
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class QueryImpl
IOException
ClassNotFoundException
public ClassObjectType getReturnType()
public Object getValue()
public String[] getAbducibleArgs()
public void setClassObjectType(ClassObjectType classObjectType)
setClassObjectType
in interface AcceptsClassObjectType
public void setReturnBound(boolean returnBound)
public boolean isReturnBound()
public int mapArgToParam(int j)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.