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.choreography.rule;
20  
21  import java.util.Set;
22  
23  import org.wsmo.service.rule.*;
24  
25  /**
26   * Interface or class description
27   *
28   * @author James Scicluna
29   * @author Thomas Haselwanter
30   * @author Vassil Momtchev
31   *
32   * Created on 02-Feb-2006
33   * 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 ChoreographyPipedRules extends ChoreographyRule {
40  
41      /**
42       * Adds a rule to the list of piped rules
43       * 
44       * @param rule Rule object to be added
45       */
46      public void addPipedRule(ChoreographyRule rule);
47      
48      /**
49       * Removes a rule from the list of piped rules
50       * 
51       * @param rule Rule object to be removed
52       */
53      public void removePipedRule(ChoreographyRule rule);
54      
55      /**
56       * returns the set of Piped Rules
57       * 
58       * @return A Set of Rule objects
59       */
60      public Set<ChoreographyRule> listPipedRules();
61  }