Class Message
- java.lang.Object
-
- com.tarsolution.notifyman.shared.common.Message
-
- All Implemented Interfaces:
Serializable
public class Message extends Object implements Serializable
The Class define Message model of Notifyman- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
Date
getMessageTime()
String
getNotificationType()
String
getSubject()
Map<String,String>
getUserInfo()
void
setContent(String content)
void
setMessageTime(Date messageTime)
void
setNotificationType(String notificationType)
void
setSubject(String subject)
void
setUserInfo(Map<String,String> userInfo)
-
-
-
Constructor Detail
-
Message
public Message(String subject, String content, String notificationType, Date messageTime, Map<String,String> userInfo)
- Parameters:
subject
- is your message subjectcontent
- is your message contentnotificationType
- is your message typemessageTime
- is your message timeuserInfo
- is user info
-
-
Method Detail
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getNotificationType
public String getNotificationType()
-
setNotificationType
public void setNotificationType(String notificationType)
-
getMessageTime
public Date getMessageTime()
-
setMessageTime
public void setMessageTime(Date messageTime)
-
-