public class Notification extends Object
Constructor and Description |
---|
Notification() |
Modifier and Type | Method and Description |
---|---|
Timestamp |
getDateCreation()
Get the date creation of the notification
|
int |
getIdDemand()
Get the id demand
|
int |
getIdNotification()
Get the id notification
|
String |
getMessage()
Get the message of the notification
|
String |
getObject()
Get the object of the notification
|
String |
getSender()
Get the sender
|
boolean |
isRead()
Check if the notification is read or not
|
void |
setDateCreation(Timestamp dateCreation)
Set the date creation of the notification
|
void |
setIdDemand(int nIdDemand)
Set the id demand
|
void |
setIdNotification(int nIdNotification)
Set the id notification
|
void |
setIsRead(boolean bIsRead)
Set the status of the notification
|
void |
setMessage(String strMessage)
Set the message of the notification
|
void |
setObject(String strObject)
Set the object of the notification
|
void |
setSender(String strSender)
Set the sender
|
public void setIdNotification(int nIdNotification)
nIdNotification
- the id notificationpublic int getIdNotification()
public void setIdDemand(int nIdDemand)
nIdDemand
- the id demandpublic int getIdDemand()
public void setObject(String strObject)
strObject
- the objectpublic String getObject()
public void setMessage(String strMessage)
strMessage
- the message of the notificationpublic String getMessage()
public void setIsRead(boolean bIsRead)
bIsRead
- true if the notification is read, false otherwisepublic boolean isRead()
public void setDateCreation(Timestamp dateCreation)
dateCreation
- the date creationpublic Timestamp getDateCreation()
public void setSender(String strSender)
strSender
- the senderpublic String getSender()
Copyright © 2019 City of Paris. All rights reserved.