1 /*
2 * @(#)$Id: BatchSequenceValue.java 689 2009-07-22 00:10:27Z bsigner $
3 *
4 * Author : Ueli Kurmann, igesture@uelikurmann.ch
5 *
6 * Purpose : Represents the value of a sequence. Used by the
7 * BatchProcess.
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 * Represents the value of a sequence. Used by the BatchProcess.
36 *
37 * @version 1.0 Dec 2006
38 * @author Ueli Kurmann, igesture@uelikurmann.ch
39 * @author Beat Signer, signer@inf.ethz.ch
40 */
41 public class BatchSequenceValue extends BatchParameter {
42
43
44 List<String> values;
45
46
47 public BatchSequenceValue() {
48 values = new ArrayList<String>();
49 }
50
51
52 /**
53 * Adds a value to the batch sequence value.
54 * @param value the value to be added.
55 */
56 public void addValue(String value) {
57 values.add(value);
58 } // addValue
59
60
61 /**
62 * Returns the list of values of the sequence.
63 *
64 * @return the list of values of the sequence.
65 */
66 public List<String> getValues() {
67 return values;
68 } // getValues
69
70
71
72 }