@Entity public class UserNotifications extends Object
| Constructor and Description |
|---|
UserNotifications() |
UserNotifications(String userId,
int notificationId,
boolean readed)
Constructor of
UserNotifications |
| Modifier and Type | Method and Description |
|---|---|
Notification |
getNotification()
Getter method of notification global variable
|
int |
getNotificationId()
Getter method of notificationId global variable
|
User |
getUser()
Getter method of user global variable
|
String |
getUserId()
Getter method of userId global variable
|
boolean |
isReaded()
Getter method of readed global variable
|
void |
setNotification(Notification notification)
Setter method of notification global variable
|
void |
setNotificationId(int notificationId)
Setter method of notificationId global variable
|
void |
setReaded(boolean readed)
Setter method of readed global variable
|
void |
setUser(User user)
Setter method of user global variable and userId global variable
|
void |
setUserId(String userId)
Setter method of notificationId global variable
|
public UserNotifications()
public UserNotifications(String userId, int notificationId, boolean readed)
UserNotificationsuserId - global variablenotificationId - global variablepublic boolean isReaded()
public void setReaded(boolean readed)
readed - global variablepublic User getUser()
public void setUser(User user)
user - global variablepublic Notification getNotification()
public void setNotification(Notification notification)
notification - global variablepublic String getUserId()
public void setUserId(String userId)
userId - global variablepublic int getNotificationId()
public void setNotificationId(int notificationId)
notificationId - global variableCopyright © 2016. All rights reserved.