Drools :: Core 6.1.0.Beta1

org.drools.core.rule
Class AbductiveQuery

java.lang.Object
  extended by org.drools.core.rule.Rule
      extended by org.drools.core.rule.Query
          extended by org.drools.core.rule.AbductiveQuery
All Implemented Interfaces:
Externalizable, Serializable, Dialectable, Acceptor, AcceptsClassObjectType, Wireable, org.kie.api.definition.KieDefinition, org.kie.api.definition.rule.Query, org.kie.api.definition.rule.Rule

public class AbductiveQuery
extends Query
implements Externalizable, AcceptsClassObjectType

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.core.rule.Rule
Rule.SafeConsequence, Rule.SafeEnabled, Rule.SafeSalience
 
Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition
org.kie.api.definition.KieDefinition.KnowledgeType
 
Field Summary
 
Fields inherited from class org.drools.core.rule.Rule
activationListener, DEFAULT_CONSEQUENCE_NAME
 
Constructor Summary
AbductiveQuery()
           
AbductiveQuery(String name, Object value)
           
 
Method Summary
 Object abduce(Object... args)
           
protected  void findConstructor()
           
 ClassObjectType getReturnType()
           
 Object getValue()
           
 boolean isAbductive()
           
 boolean isReturnBound()
           
 void readExternal(ObjectInput in)
           
 void setClassObjectType(ClassObjectType classObjectType)
           
 void setReturnBound(boolean returnBound)
           
 void setReturnType(ClassObjectType objectType, String[] params)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.drools.core.rule.Query
getKnowledgeType, getParameters, isQuery, isValid, setParameters
 
Methods inherited from class org.drools.core.rule.Rule
addMetaAttribute, addNamedConsequence, addPattern, equals, getActivationGroup, getActivationListener, getAgendaGroup, getAutoFocus, getCalendars, getConsequence, getConsequenceMetaData, getDateEffective, getDateExpires, getDeclaration, getDeclarations, 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, isEager, isEffective, isEnabled, isLockOnActive, isNoLoop, isSemanticallyValid, listMetaAttributes, setActivationGroup, setActivationListener, setAgendaGroup, setAutoFocus, setCalendars, setConsequence, setDateEffective, setDateExpires, setDialect, setEager, setEnabled, setHasLogicalDependency, setLhs, setLoadOrder, setLockOnActive, setNoLoop, setPackage, setParent, setRequiredDeclarationsForConsequence, setResource, setRuleFlowGroup, setSalience, setSemanticallyValid, setTimer, toString, wire
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kie.api.definition.rule.Query
getMetaData, getName, getPackageName
 
Methods inherited from interface org.kie.api.definition.KieDefinition
getId, getNamespace
 

Constructor Detail

AbductiveQuery

public AbductiveQuery()

AbductiveQuery

public AbductiveQuery(String name,
                      Object value)
Method Detail

isAbductive

public boolean isAbductive()
Overrides:
isAbductive in class Query

setReturnType

public void setReturnType(ClassObjectType objectType,
                          String[] params)
                   throws NoSuchMethodException
Throws:
NoSuchMethodException

findConstructor

protected void findConstructor()
                        throws NoSuchMethodException
Throws:
NoSuchMethodException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class Query
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class Query
Throws:
IOException
ClassNotFoundException

abduce

public Object abduce(Object... args)

getReturnType

public ClassObjectType getReturnType()

getValue

public Object getValue()

setClassObjectType

public void setClassObjectType(ClassObjectType classObjectType)
Specified by:
setClassObjectType in interface AcceptsClassObjectType

setReturnBound

public void setReturnBound(boolean returnBound)

isReturnBound

public boolean isReturnBound()

Drools :: Core 6.1.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.