View Javadoc

1   /*
2    wsmo4j extension - a Choreography API and Reference Implementation
3   
4    Copyright (c) 2005, University of Innsbruck, Austria
5   
6    This library is free software; you can redistribute it and/or modify it under
7    the terms of the GNU Lesser General Public License as published by the Free
8    Software Foundation; either version 2.1 of the License, or (at your option)
9    any later version.
10   This library is distributed in the hope that it will be useful, but WITHOUT
11   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13   details.
14   You should have received a copy of the GNU Lesser General Public License along
15   with this library; if not, write to the Free Software Foundation, Inc.,
16   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17   */
18  
19  package org.wsmo.service.rule;
20  
21  import org.omwg.logicalexpression.LogicalExpression;
22  import org.wsmo.common.exception.*;
23  
24  /**
25   * Condition is a sub-class of LogicalExpression and defines the condition under
26   * which a rule should be fired or not
27   * 
28   * @author James Scicluna
29   * @author Thomas Haselwanter
30   * @author Holger Lausen
31   * @author Vassil Momtchev
32   * 
33   * Created on 17-Oct-2005 Committed by $Author: vassil_momtchev $
34   * 
35   * $Source$,
36   * @version $Revision: 1844 $ $Date: 2006-10-24 17:11:48 +0300 (Tue, 24 Oct 2006) $
37   */
38  
39  public interface Condition {
40  
41      public LogicalExpression getRestrictedLogicalExpression();
42      
43      public void setRestrictedLogicalExpression(LogicalExpression le) throws InvalidModelException;
44  	
45  }