org.gscg.common.interactionlayer.dataobjects
Class SocialMessage

java.lang.Object
  extended byorg.gscg.common.interactionlayer.dataobjects.SocialMessage
All Implemented Interfaces:
java.io.Serializable

public class SocialMessage
extends java.lang.Object
implements java.io.Serializable

A social messsage is sent between human controlled actors and game leader.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:33:58 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Constructor Summary
SocialMessage(java.lang.String senderName, java.lang.String receiverName, java.lang.String subject, java.lang.String content)
          constructs a new SocialMessage
 
Method Summary
 java.lang.String getContent()
          Method getContent.
 java.lang.String getDate()
          Method getDate.
 java.lang.String getReceiverName()
          Method getReceiverName.
 java.lang.String getSenderName()
          Method getSenderName.
 java.lang.String getSubject()
          Method getSubject.
 void setDate(java.lang.String date)
          Method setDate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialMessage

public SocialMessage(java.lang.String senderName,
                     java.lang.String receiverName,
                     java.lang.String subject,
                     java.lang.String content)
constructs a new SocialMessage

Parameters:
senderName - the name of the sender
receiverName - the name of the receiver
subject - the subject of the message
content - the content of the message
Method Detail

getContent

public java.lang.String getContent()
Method getContent.

Returns:
returns the content of the message

getDate

public java.lang.String getDate()
Method getDate.

Returns:
returns the date the message was sent.

getReceiverName

public java.lang.String getReceiverName()
Method getReceiverName.

Returns:
returns the name of the receiver.

getSenderName

public java.lang.String getSenderName()
Method getSenderName.

Returns:
returns the name of the sender.

getSubject

public java.lang.String getSubject()
Method getSubject.

Returns:
returns the subject of the message

setDate

public void setDate(java.lang.String date)
Method setDate.

Parameters:
date - the date to set


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.