Class Notification


  • public class Notification
    extends Object
    Notification
    • Constructor Detail

      • Notification

        public Notification()
    • Method Detail

      • setIdNotification

        public void setIdNotification​(int nIdNotification)
        Set the id notification
        Parameters:
        nIdNotification - the id notification
      • getIdNotification

        public int getIdNotification()
        Get the id notification
        Returns:
        the id notification
      • setIdDemand

        public void setIdDemand​(int nIdDemand)
        Set the id demand
        Parameters:
        nIdDemand - the id demand
      • getIdDemand

        public int getIdDemand()
        Get the id demand
        Returns:
        the id demand
      • setObject

        public void setObject​(String strObject)
        Set the object of the notification
        Parameters:
        strObject - the object
      • getObject

        public String getObject()
        Get the object of the notification
        Returns:
        the object of the notification
      • setMessage

        public void setMessage​(String strMessage)
        Set the message of the notification
        Parameters:
        strMessage - the message of the notification
      • getMessage

        public String getMessage()
        Get the message of the notification
        Returns:
        the message
      • setIsRead

        public void setIsRead​(boolean bIsRead)
        Set the status of the notification
        Parameters:
        bIsRead - true if the notification is read, false otherwise
      • isRead

        public boolean isRead()
        Check if the notification is read or not
        Returns:
        true if it is read, false otherwise
      • setDateCreation

        public void setDateCreation​(Timestamp dateCreation)
        Set the date creation of the notification
        Parameters:
        dateCreation - the date creation
      • getDateCreation

        public Timestamp getDateCreation()
        Get the date creation of the notification
        Returns:
        the date creation of the notification
      • setSender

        public void setSender​(String strSender)
        Set the sender
        Parameters:
        strSender - the sender
      • getSender

        public String getSender()
        Get the sender
        Returns:
        the senders