1
2
3
4
5
6
7
8
9
10
11
12
13
14 package org.gscg.singleuser.interactionlayer.dataobjects;
15
16 import java.io.Serializable;
17
18 /***
19 * The EconomicsData object is a placeholder for data for the client-side
20 * economics panel.
21 *
22 * <p>
23 * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
24 * Delft, the Netherlands. All rights reserved.
25 *
26 * See for project information <a href="http://www.simulation.tudelft.nl/">
27 * www.simulation.tudelft.nl </a>.
28 *
29 * The source code and binary code of this software is proprietary information
30 * of Delft University of Technology.
31 *
32 * @author <a
33 * href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
34 * van Houten </a>
35 * @version $Revision: 1.1 $ $Date: 2005/06/16 12:33:59 $
36 * @since 1.0.0
37 */
38 public class EconomicsData implements Serializable
39 {
40 /*** the serial version uid */
41 private static final long serialVersionUID = 11L;
42
43 /*** the column number */
44 private int columnNumber = 0;
45
46 /*** the value of the cell */
47 private String[] cellValues = null;
48
49 /*** the value of the column header */
50 private String headerValue = "";
51
52 /***
53 *
54 * constructs a new EconomicData
55 *
56 * @param columnNumber the column number
57 * @param headerValue the header value
58 * @param cellValues the cell values
59 */
60 public EconomicsData(final int columnNumber, final String headerValue,
61 final String[] cellValues)
62 {
63 super();
64 this.columnNumber = columnNumber;
65 this.headerValue = headerValue;
66 this.cellValues = cellValues;
67 }
68
69 /***
70 * @return Returns the cellValues.
71 */
72 public String[] getCellValues()
73 {
74 return this.cellValues;
75 }
76
77 /***
78 * @return Returns the columnNumber.
79 */
80 public int getColumnNumber()
81 {
82 return this.columnNumber;
83 }
84
85 /***
86 * @return Returns the headerValue.
87 */
88 public String getHeaderValue()
89 {
90 return this.headerValue;
91 }
92
93 /***
94 * @param cellValues The cellValues to set.
95 */
96 public void setCellValues(final String[] cellValues)
97 {
98 this.cellValues = cellValues;
99 }
100 }