|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Update
An update may have two forms: - update(oldFact => newFact). - update(newFact). In the first form, the oldFact object must be defined. In the second form, this must not be defined.
Created on Jul 26, 2005
Committed by $Author: vassil_momtchev $
$Source$
| Method Summary | |
|---|---|
CompoundFact |
getNewFact()
Returns the new fact defined by the update rule. |
CompoundFact |
getOldFact()
Returns the old fact defined by the update rule. |
void |
setNewFact(CompoundFact newFact)
Sets the new fact associated with the update rule. |
void |
setOldFact(CompoundFact oldFact)
Sets the old fact associated with the update rule. |
| Methods inherited from interface org.wsmo.service.rule.UpdateRule |
|---|
getFact, setFact |
| Methods inherited from interface org.wsmo.service.rule.Rule |
|---|
accept, toString |
| Method Detail |
|---|
CompoundFact getNewFact()
void setNewFact(CompoundFact newFact)
newFact - A CompoundFact object representing the new fact to be added to
the knowledge baseCompoundFact getOldFact()
void setOldFact(CompoundFact oldFact)
oldFact - A CompoundFact object representing the old fact to be deleted
from the knowledge base
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||