zeus.rete
Class FactAction

java.lang.Object
  extended byzeus.rete.FactAction

public class FactAction
extends java.lang.Object

FactAction is a conveinience class so that a fact can be placed on the reteEngine queue for later processing using the Zeus thread safe pattern

Since:
1.1
Author:
Simon Thompson
See Also:
reteEngine

Field Summary
private  int action
           
static int ADD
          defined these fields as int not boolean so that the class can be extended later
static int DELETE
           
private  Fact fact
           
 
Constructor Summary
FactAction()
           
 
Method Summary
 Fact getFact()
           
 boolean isAdd()
           
 boolean isDelete()
           
 void setAction(int action)
           
 void setFact(Fact fact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD

public static final int ADD
defined these fields as int not boolean so that the class can be extended later

See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

fact

private Fact fact

action

private int action
Constructor Detail

FactAction

public FactAction()
Method Detail

setFact

public void setFact(Fact fact)

getFact

public Fact getFact()

setAction

public void setAction(int action)

isAdd

public boolean isAdd()

isDelete

public boolean isDelete()


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