osnap.api.model
Interface MessageInterface

All Known Implementing Classes:
CoreMessage, SocialNetworkMessage

public interface MessageInterface

Basic methods all message objects passed between core and modules should have


Method Summary
 java.lang.String getDescription()
          Returns the information contained in the message
 java.lang.String getOSNAPUsername()
          Returns the OSNAP username
 void setDescription(java.lang.String description)
          Sets the information contained in the message
 

Method Detail

getOSNAPUsername

java.lang.String getOSNAPUsername()
Returns the OSNAP username

Returns:
Returns the OSNAP username

getDescription

java.lang.String getDescription()
Returns the information contained in the message

Returns:
Returns the information contained in the message

setDescription

void setDescription(java.lang.String description)
Sets the information contained in the message

Parameters:
description - Information contained in the message