@Entity public class Notification extends Object
| Constructor and Description |
|---|
Notification() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Returns the body of the
Notification |
String |
getTitle()
Returns the title of the
Notification |
Set<User> |
getUsersToNotify()
Returns the
User who will get the Notification |
boolean |
isReaded()
Returns the readed value of the
Notification |
void |
setBody(String body)
Sets the body of the
Notification |
void |
setReaded(boolean readed)
Sets the readed value of the
Notification |
void |
setTitle(String title)
Sets the title of the
Notification |
void |
setUsersToNotify(Set<User> usersToNotify)
Sets the
User who will get the Notification |
public String getTitle()
NotificationNotificationpublic void setTitle(String title)
Notificationtitle - of the Notificationpublic String getBody()
NotificationNotificationpublic void setBody(String body)
Notificationbody - of the Notificationpublic boolean isReaded()
NotificationNotificationpublic void setReaded(boolean readed)
Notificationreaded - of the Notificationpublic Set<User> getUsersToNotify()
User who will get the NotificationUser who will get the Notificationpublic void setUsersToNotify(Set<User> usersToNotify)
User who will get the NotificationusersToNotify - the User who will get the NotificationCopyright © 2015. All rights reserved.