1 /*
2 * @(#)$Id: BatchAlgorithm.java 689 2009-07-22 00:10:27Z bsigner $
3 *
4 * Author : Ueli Kurmann, igesture@uelikurmann.ch
5 *
6 * Purpose : Datastructure to handle algorithms in batch process.
7 * This class also provides XML import functionality.
8 *
9 * -----------------------------------------------------------------------
10 *
11 * Revision Information:
12 *
13 * Date Who Reason
14 *
15 * Dec 26, 2006 ukurmann Initial Release
16 * Mar 22, 2007 bsigner Cleanup
17 *
18 * -----------------------------------------------------------------------
19 *
20 * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
21 *
22 * This software is the proprietary information of ETH Zurich.
23 * Use is subject to license terms.
24 *
25 */
26
27
28 package org.ximtec.igesture.batch.core;
29
30 import java.util.ArrayList;
31 import java.util.List;
32
33
34 /**
35 * Datastructure to handle algorithms in batch process. This class aslo provides
36 * XML import functionality.
37 *
38 * @version 1.0 Dec 2006
39 * @author Ueli Kurmann, igesture@uelikurmann.ch
40 * @author Beat Signer, signer@inf.ethz.ch
41 */
42 public class BatchAlgorithm {
43
44 private List<BatchParameter> parameters;
45
46 private String name;
47
48
49 public BatchAlgorithm() {
50 parameters = new ArrayList<BatchParameter>();
51 }
52
53
54 public void setName(String name) {
55 this.name = name;
56 } // setName
57
58
59 public String getName() {
60 return name;
61 } // getName
62
63
64 public void addParameter(BatchParameter parameter) {
65 parameters.add(parameter);
66 } // addParameter
67
68
69 public List<BatchParameter> getParameters() {
70 return parameters;
71 } // getParameters
72
73
74
75
76 }