View Javadoc

1   /*
2    * $Id: BpelCase.java,v 1.1 2004/12/15 14:18:09 patforna Exp $
3    *
4    * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
5    * Berne University of Applied Sciences
6    * School of Engineering and Information Technology
7    * All rights reserved.
8    */
9   package bexee.model.elements;
10  
11  import bexee.model.activity.Activity;
12  import bexee.model.expression.BooleanExpression;
13  
14  /***
15   * This interface is used to represent a case element within the Switch
16   * activity.
17   * 
18   * @author Patric Fornasier
19   * @author Pawel Kowalski
20   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:09 $
21   */
22  public interface BpelCase {
23  
24      /***
25       * Set the BooleanExpression associated with this Case.
26       * 
27       * @param booleanExpression
28       */
29      public void setBooleanExpression(BooleanExpression booleanExpression);
30  
31      /***
32       * Get the BooleanExpression associated with this Case.
33       * 
34       * @return a BooleanExpression
35       */
36      public BooleanExpression getBooleanExpression();
37  
38      /***
39       * Set the Activity associated with this Case.
40       * 
41       * @param activity
42       */
43      public void setCaseActivity(Activity activity);
44  
45      /***
46       * Get the Activity associated with this Case.
47       * 
48       * @return
49       */
50      public Activity getCaseActivity();
51  }