org.deri.wsmo4j.rule
Class AbstractUpdateRule

java.lang.Object
  extended by org.deri.wsmo4j.rule.AbstractUpdateRule
All Implemented Interfaces:
ChoreographyRule, Rule, UpdateRule
Direct Known Subclasses:
AddRI, DeleteRI, UpdateRI

public abstract class AbstractUpdateRule
extends Object
implements UpdateRule

Implements common functionality for Update Rules.

   Created on Sep 8, 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

Field Summary
protected  CompoundFact fact
           
 
Constructor Summary
AbstractUpdateRule()
          Default constructor for Update Rules
AbstractUpdateRule(CompoundFact fact)
           
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wsmo.service.rule.Rule
accept, toString
 

Field Detail

fact

protected CompoundFact fact
Constructor Detail

AbstractUpdateRule

public AbstractUpdateRule()
Default constructor for Update Rules


AbstractUpdateRule

public AbstractUpdateRule(CompoundFact fact)
Parameters:
fact - A CompoundFact object denoting the fact of the rule.
Method Detail

getFact

public CompoundFact getFact()
Description copied from interface: UpdateRule
Returns the compound fact defined by an update rule

Specified by:
getFact in interface UpdateRule
Returns:
A CompoundFact object

setFact

public void setFact(CompoundFact fact)
Description copied from interface: UpdateRule
Sets the fact of the update rule

Specified by:
setFact in interface UpdateRule
Parameters:
fact - A CompoundFact object to defining the fact of the update rule


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