@Entity public class Notification extends Object
| Constructor and Description |
|---|
Notification()
Default constructor
|
Notification(String title,
String body)
Constructor of
Notification |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
Returns the body of the
Notification |
int |
getId() |
String |
getTitle()
Returns the title of the
Notification |
void |
setBody(String body)
Sets the body of the
Notification |
void |
setId(int id) |
void |
setTitle(String title)
Sets the title of the
Notification |
public Notification()
public Notification(String title, String body)
Notificationtitle - of the Notificationbody - of the Notificationpublic String getTitle()
NotificationNotificationpublic void setTitle(String title)
Notificationtitle - of the Notificationpublic String getBody()
NotificationNotificationpublic void setBody(String body)
Notificationbody - of the Notificationpublic int getId()
public void setId(int id)
Copyright © 2015. All rights reserved.