View Javadoc

1   /*
2    wsmo4j - a WSMO API and Reference Implementation
3   
4    Copyright (c) 2005 University of Innsbruck, Austria
5                  2005 National University of Ireland, Galway
6   
7    This library is free software; you can redistribute it and/or modify it under
8    the terms of the GNU Lesser General Public License as published by the Free
9    Software Foundation; either version 2.1 of the License, or (at your option)
10   any later version.
11   This library is distributed in the hope that it will be useful, but WITHOUT
12   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
14   details.
15   You should have received a copy of the GNU Lesser General Public License along
16   with this library; if not, write to the Free Software Foundation, Inc.,
17   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18   */
19  
20  
21  package org.omwg.logicalexpression;
22  
23  
24  import java.util.*;
25  
26  
27  /**
28   * Representing Compound Expressions.
29   *
30   * <pre>
31   * Created on Sep 7, 2005
32   * Committed by $Author$
33   * $Source$,
34   * </pre>
35   *
36   * @author Holger Lausen (holger.lausen@deri.org)
37   *
38   * @version $Revision$ $Date$
39   */
40  public interface CompoundExpression
41          extends LogicalExpression {
42      /**
43       *
44       * @return returns a list of all operands grouped by a Compound Expression
45       */
46      public List <LogicalExpression> listOperands();
47      
48      /**
49       * 
50       * @param operands sets the operands of the compound expression
51       */
52      public void setOperands(List <LogicalExpression> operands);
53  }
54  /*
55   * $Log$
56   * Revision 1.5  2007/04/02 12:13:15  morcen
57   * Generics support added to wsmo-api, wsmo4j and wsmo-test
58   *
59   * Revision 1.4  2005/09/21 06:31:55  holgerlausen
60   * allowing to set arguments rfe  1290049
61   *
62   * Revision 1.3  2005/09/09 11:46:48  holgerlausen
63   * fixed license error MIT > LGPL
64   *
65   */
66