public class AbductiveQuery extends QueryImpl implements Externalizable, AcceptsClassObjectType
RuleImpl.SafeConsequence, RuleImpl.SafeEnabled, RuleImpl.SafeSalienceactivationListener, 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, setParametersaddMetaAttribute, 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, getSalienceValue, getSpecifity, getTimer, getTransformedLhs, hashCode, hasLogicalDependency, hasNamedConsequences, isAllMatches, isDataDriven, isEager, isEffective, isEnabled, isLockOnActive, isNoLoop, isSalienceDynamic, 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 boolean isAbductive()
isAbductive in class QueryImplpublic void setReturnType(ClassObjectType objectType, String[] params, String[] args, Declaration[] declarations) throws NoSuchMethodException, IllegalArgumentException
protected void findConstructor(Declaration[] declarations) throws NoSuchMethodException
NoSuchMethodExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class QueryImplIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class QueryImplIOExceptionClassNotFoundExceptionpublic ClassObjectType getReturnType()
public Object getValue()
public String[] getAbducibleArgs()
public void setClassObjectType(ClassObjectType classObjectType)
setClassObjectType in interface AcceptsClassObjectTypepublic void setReturnBound(boolean returnBound)
public boolean isReturnBound()
public int mapArgToParam(int j)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.