1
2
3
4
5
6
7
8
9
10
11
12
13
14 package org.gscg.singleuser.interactionlayer.dataobjects.content;
15
16 import java.io.Serializable;
17
18 /***
19 * This object is the basis for several data objects which are sent to a
20 * client-side graphical user interface and is used to update information. <br>
21 * <br>
22 * Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
23 * Delft, the Netherlands. All rights reserved.
24 *
25 * See for project information <a href="http://www.simulation.tudelft.nl/">
26 * www.simulation.tudelft.nl </a>.
27 *
28 * The source code and binary code of this software is proprietary information
29 * of Delft University of Technology.
30 *
31 * @author <a
32 * href="http://www.tbm.tudelft.nl/webstaf/alexandv/index.htm">Alexander
33 * Verbraeck </a>
34 * @version $Revision: 1.1 $ $Date: 2005/06/16 12:33:55 $
35 * @since 1.0.0
36 */
37 public class ContentData implements Serializable
38 {
39 /*** the serial version uid */
40 private static final long serialVersionUID = 11L;
41
42 /*** the sender name */
43 private String senderName = null;
44
45 /*** the location description of the sender */
46 private String senderLocationDescription = null;
47
48 /*** the receiver name */
49 private String receiverName = null;
50
51 /*** the location description of the receiver */
52 private String receiverLocationDescription = null;
53
54 /***
55 * @param senderName the name of the sender
56 * @param senderLocationDescription the description of the location of the
57 * sender
58 * @param receiverName the name of the receiver
59 * @param receiverLocationDescription the description of the location of the
60 * receiver
61 */
62 public ContentData(final String senderName,
63 final String senderLocationDescription, final String receiverName,
64 final String receiverLocationDescription)
65 {
66 super();
67 this.senderName = senderName;
68 this.senderLocationDescription = senderLocationDescription;
69 this.receiverName = receiverName;
70 this.receiverLocationDescription = receiverLocationDescription;
71 }
72
73 /***
74 * @return Returns the receiverName.
75 */
76 public String getReceiverName()
77 {
78 return this.receiverName;
79 }
80
81 /***
82 * @return Returns the receiver location description
83 */
84 public String getReceiverLocationDescription()
85 {
86 return this.receiverLocationDescription;
87 }
88
89 /***
90 * @return Returns the senderName.
91 */
92 public String getSenderName()
93 {
94 return this.senderName;
95 }
96
97 /***
98 * @return Returns the sender location description
99 */
100 public String getSenderLocationDescription()
101 {
102 return this.senderLocationDescription;
103 }
104 }