View Javadoc

1   /*
2    * BusinessData.java Created @ Jun 16, 2004
3    * 
4    * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
5    * Delft, the Netherlands. All rights reserved.
6    * 
7    * See for project information <a href="http://www.simulation.tudelft.nl/">
8    * www.simulation.tudelft.nl </a>.
9    * 
10   * The source code and binary code of this software is proprietary information
11   * of Delft University of Technology.
12   */
13  
14  package org.gscg.singleuser.interactionlayer.dataobjects;
15  
16  import java.io.Serializable;
17  
18  /***
19   * The BusinessData object is used by the business objects (e.g.
20   * BusinessPurchase and BusinessSales). A BusinessData object contains the date
21   * per cell which is sent by these business objects. <br>
22   * <br>
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:34:00 $
36   * @since 1.0.0
37   */
38  public class BusinessData 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 row number */
47  	private int rowNumber = 0;
48  
49  	/*** the value of the cell */
50  	private String cellValue = null;
51  
52  	/*** the value of the row header */
53  	private String headerValue = "";
54  
55  	/***
56  	 * constructs a new BusinessData
57  	 * 
58  	 * @param columnNumber the column number
59  	 * @param rowNumber the row number
60  	 * @param cellValue the cell value
61  	 * @param headerValue the header value
62  	 */
63  	public BusinessData(final int columnNumber, final int rowNumber,
64  			final String cellValue, final String headerValue)
65  	{
66  		super();
67  		this.columnNumber = columnNumber;
68  		this.rowNumber = rowNumber;
69  		this.cellValue = cellValue;
70  		this.headerValue = headerValue;
71  	}
72  
73  	/***
74  	 * @return Returns the cellValue.
75  	 */
76  	public String getCellValue()
77  	{
78  		return this.cellValue;
79  	}
80  
81  	/***
82  	 * @return Returns the columnNumber.
83  	 */
84  	public int getColumnNumber()
85  	{
86  		return this.columnNumber;
87  	}
88  
89  	/***
90  	 * @return Returns the headerValue.
91  	 */
92  	public String getHeaderValue()
93  	{
94  		return this.headerValue;
95  	}
96  
97  	/***
98  	 * @return Returns the rowNumber.
99  	 */
100 	public int getRowNumber()
101 	{
102 		return this.rowNumber;
103 	}
104 }