zeus.concepts
Class ReteKB

java.lang.Object
  extended byzeus.concepts.AbstractTask
      extended byzeus.concepts.ReteKB

public class ReteKB
extends AbstractTask

this is the definition of a kb in Zeus for the Rulebase tasks.

See Also:
Rule, ReteEngine

Field Summary
protected  java.util.Vector rules
           
 
Fields inherited from class zeus.concepts.AbstractTask
BEHAVIOUR, name, PRIMITIVE, SCRIPT, SUMMARY, TaskTypes, type
 
Constructor Summary
ReteKB()
           
ReteKB(ReteKB kb)
           
ReteKB(java.lang.String name)
           
ReteKB(java.lang.String name, Rule[] rules)
           
ReteKB(java.lang.String name, java.util.Vector rules)
           
 
Method Summary
 void addRule(Rule rule)
           
 AbstractTask duplicate(DuplicationTable table)
           
 Rule getRule(int position)
           
 Rule getRule(java.lang.String rulename)
           
 Rule[] getRules()
           
 boolean isValid()
           
 java.lang.String pprint(int sp)
           
 Rule removeRule(int position)
           
 Rule removeRule(java.lang.String rulename)
           
 boolean resolve(Bindings bindings)
           
 void setRules(Rule[] List)
           
 void setRules(java.util.Vector List)
           
 java.lang.String toString()
           
 
Methods inherited from class zeus.concepts.AbstractTask
addRestriction, duplicate, getEmailInfo, getFaxInfo, getGeoInfo, getName, getPhoneInfo, getPhysicalInfo, getRestrictions, getTextInfo, getType, getType, getTypeName, getTypeName, isBehaviour, isPrimitive, isScript, isSummary, pprint, setEmailInfo, setFaxInfo, setGeoInfo, setName, setPhoneInfo, setPhysicalInfo, setTextInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rules

protected java.util.Vector rules
Constructor Detail

ReteKB

public ReteKB()

ReteKB

public ReteKB(java.lang.String name)

ReteKB

public ReteKB(java.lang.String name,
              java.util.Vector rules)

ReteKB

public ReteKB(java.lang.String name,
              Rule[] rules)

ReteKB

public ReteKB(ReteKB kb)
Method Detail

getRule

public Rule getRule(java.lang.String rulename)

getRule

public Rule getRule(int position)

getRules

public Rule[] getRules()

removeRule

public Rule removeRule(java.lang.String rulename)

removeRule

public Rule removeRule(int position)

addRule

public void addRule(Rule rule)

setRules

public void setRules(java.util.Vector List)

setRules

public void setRules(Rule[] List)

resolve

public boolean resolve(Bindings bindings)
Specified by:
resolve in class AbstractTask

isValid

public boolean isValid()
Specified by:
isValid in class AbstractTask

toString

public java.lang.String toString()

pprint

public java.lang.String pprint(int sp)
Specified by:
pprint in class AbstractTask

duplicate

public AbstractTask duplicate(DuplicationTable table)
Specified by:
duplicate in class AbstractTask


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.