1 |
/* Result.java -- Representation of an OWL-S process result. |
/* Result.java -- Representation of an OWL-S process result. |
2 |
Copyright (C) 2005 The University of Sheffield. |
Copyright (C) 2005 The University of Sheffield. |
3 |
|
|
4 |
This file is part of the CASheW-s editor. |
This file is part of the CASheW-s editor. |
5 |
|
|
6 |
The CASheW-s editor is free software; you can redistribute it and/or modify |
The CASheW-s editor is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
The CASheW-s editor is distributed in the hope that it will be useful, but |
The CASheW-s editor is distributed in the hope that it will be useful, but |
12 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 |
General Public License for more details. |
General Public License for more details. |
15 |
|
|
16 |
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License |
17 |
along with The CASheW-s editor; see the file COPYING. If not, write to the |
along with The CASheW-s editor; see the file COPYING. If not, write to the |
18 |
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
19 |
02111-1307 USA. |
02111-1307 USA. |
20 |
*/ |
*/ |
21 |
|
|
22 |
package nongnu.cashews.owls.process; |
package nongnu.cashews.owls.process; |
27 |
import java.util.List; |
import java.util.List; |
28 |
|
|
29 |
/** |
/** |
30 |
* This class represents the <code>Result</code> of an OWL-S |
* This class represents the <code>Result</code> of an OWL-S process. It |
31 |
* process. It bundles the conditional effects and outputs |
* bundles the conditional effects and outputs of the process, as well as |
32 |
* of the process, as well as parameters that are used within |
* parameters that are used within this context. |
33 |
* this context. |
* |
|
* |
|
34 |
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
35 |
*/ |
*/ |
36 |
public class Result |
public class Result |
37 |
{ |
{ |
38 |
|
|
39 |
/** |
/** |
40 |
* A list of <code>ResultVar</code>s used within the scope |
* A list of <code>ResultVar</code> s used within the scope of this |
41 |
* of this <code>Result</code> instance. |
* <code>Result</code> instance. |
42 |
* |
* |
43 |
* @serial the result variables scoped over this instance. |
* @serial the result variables scoped over this instance. |
44 |
*/ |
*/ |
45 |
private List<ResultVar> variables; |
private List<ResultVar> variables; |
46 |
|
|
47 |
/** |
/** |
48 |
* A list of <code>Condition</code>s used within the scope |
* A list of <code>Condition</code> s used within the scope of this |
49 |
* of this <code>Result</code> instance. |
* <code>Result</code> instance. |
50 |
* |
* |
51 |
* @serial the conditions scoped over this instance. |
* @serial the conditions scoped over this instance. |
52 |
*/ |
*/ |
53 |
private List<Condition> conditions; |
private List<Condition> conditions; |
55 |
/** |
/** |
56 |
* A list of <code>Expression</code>s used within the scope of this |
* A list of <code>Expression</code>s used within the scope of this |
57 |
* <code>Result</code> instance to define the effects of this operation. |
* <code>Result</code> instance to define the effects of this operation. |
58 |
* |
* |
59 |
* @serial the effects scoped over this instance. |
* @serial the effects scoped over this instance. |
60 |
*/ |
*/ |
61 |
private List<Expression> expressions; |
private List<Expression> expressions; |