01: /*
02: * $Id: Throw.java,v 1.6 2004/11/22 08:47:58 kowap Exp $
03: *
04: * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
05: * Berne University of Applied Sciences
06: * School of Engineering and Information Technology
07: * All rights reserved.
08: */
09: 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.6 $, $Date: 2004/11/22 08:47:58 $
21: */
22: public interface Throw extends Activity {
23:
24: //**************************************************/
25: // xml attributes
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: }
|