messaging
Class Message

java.lang.Object
  extended by messaging.Message

public class Message
extends Object

Represents a Message transmitted between Teamshare users.


Field Summary
 String content
          The message's content, either generated by the application or input from the user (or combined)
 User destination
          The user that receives the message in its mailbox
 User source
          The user that sends the message
 MessageStatus status
          The message's status, if it is read, unread etc
 MessageType type
          The message's type, currently just invitation or ownership transfer.
 
Constructor Summary
Message()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

public User source
The user that sends the message


destination

public User destination
The user that receives the message in its mailbox


status

public MessageStatus status
The message's status, if it is read, unread etc


content

public String content
The message's content, either generated by the application or input from the user (or combined)


type

public MessageType type
The message's type, currently just invitation or ownership transfer.

Constructor Detail

Message

public Message()