org.wsmo.service.rule
Interface UpdateRule

All Superinterfaces:
ChoreographyRule, Rule
All Known Subinterfaces:
Add, Delete, Update
All Known Implementing Classes:
AbstractUpdateRule, AddRI, DeleteRI, UpdateRI

public interface UpdateRule
extends ChoreographyRule

An UpdateRule is an unconditional rule that specificies a certain kind of state update. The indent of this interface is to provide uniform, generic access to all kind of UpdateRules.

     Created on Jul 26, 2005
     Committed by $Author: vassil_momtchev $
     $Source$
 

Version:
$Revision: 1844 $ $Date: 2006-10-24 17:11:48 +0300 (Tue, 24 Oct 2006) $
Author:
James Scicluna, Thomas Haselwanter, Holger Lausen

Method Summary
 CompoundFact getFact()
          Returns the compound fact defined by an update rule
 void setFact(CompoundFact fact)
          Sets the fact of the update rule
 
Methods inherited from interface org.wsmo.service.rule.Rule
accept, toString
 

Method Detail

getFact

CompoundFact getFact()
Returns the compound fact defined by an update rule

Returns:
A CompoundFact object

setFact

void setFact(CompoundFact fact)
             throws org.wsmo.common.exception.InvalidModelException
Sets the fact of the update rule

Parameters:
fact - A CompoundFact object to defining the fact of the update rule
Throws:
org.wsmo.common.exception.InvalidModelException


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.