View Javadoc

1   /*
2    * @(#) ContentListData.java Aug 2, 2005
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 are proprietary information
11   * of Delft University of Technology.
12   */
13  package org.gscg.singleuser.interactionlayer.dataobjects.content;
14  
15  import java.io.Serializable;
16  import java.util.List;
17  
18  /***
19   * An object that contains the productname and a list containing information for
20   * a specific content type such as a rfq, quote, bill, etc.. Client-side the
21   * productname is needed to prevent unexpected closures of panels.
22   * 
23   * <p>
24   * (c) copyright 2005 <a href="http://www.simulation.tudelft.nl">Delft
25   * University of Technology </a>, the Netherlands. <br>
26   * See for project information <a
27   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
28   * 
29   * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
30   * Delft, the Netherlands. All rights reserved.
31   * 
32   * See for project information <a href="http://www.simulation.tudelft.nl/">
33   * www.simulation.tudelft.nl </a>.
34   * 
35   * The source code and binary code of this software are proprietary information
36   * of Delft University of Technology.
37   * 
38   * @author <a
39   *         href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
40   *         van Houten </a>
41   * @version $Revision: 1.1 $ $Date: 2005/08/03 08:52:51 $
42   * @since 1.1.10
43   */
44  public class ContentListData implements Serializable
45  {
46  	/*** the list containing the content data */
47  	private List contentList = null;
48  
49  	/*** the product name */
50  	private String productName = null;
51  
52  	/***
53  	 * constructs a new ContentListData
54  	 * 
55  	 * @param productName the name of the product
56  	 * @param contentList the list with the content data
57  	 */
58  	public ContentListData(final String productName, final List contentList)
59  	{
60  		super();
61  		this.productName = productName;
62  		this.contentList = contentList;
63  	}
64  
65  	/***
66  	 * Method getContentList
67  	 * 
68  	 * @return returns the list with content data
69  	 */
70  	public List getContentList()
71  	{
72  		return this.contentList;
73  	}
74  
75  	/***
76  	 * Method getProductName
77  	 * 
78  	 * @return returns the productName
79  	 */
80  	public String getProductName()
81  	{
82  		return this.productName;
83  	}
84  }