1
2
3
4
5
6
7
8
9 package bexee.model.activity;
10
11 import org.apache.xml.utils.QName;
12
13 import bexee.model.elements.Variable;
14
15 /***
16 * This throw activity will throw a fault when called.
17 *
18 * @author Patric Fornasier
19 * @author Pawel Kowalski
20 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:11 $
21 */
22 public interface Throw extends Activity {
23
24 //***************************************************/
25
26 //***************************************************/
27
28 /***
29 * Set the fault name of the fault to be thrown.
30 *
31 * @param faultName
32 * a <code>QName</code> value
33 */
34 public void setFaultName(QName faultName);
35
36 /***
37 * Get the fault name of the fault to be thrown.
38 *
39 * @return a <code>QName</code> value
40 */
41 public QName getFaultName();
42
43 /***
44 * Set the variable of the fault to be thrown.
45 *
46 * @param variable
47 * a <code>Variable</code> value
48 */
49 public void setFaultVariable(Variable variable);
50
51 /***
52 * Get the variable of the fault to be thrown.
53 *
54 * @return a <code>Variable</code> value
55 */
56 public Variable getFaultVariable();
57
58 }