Class Notification


  • public class Notification
    extends java.lang.Object
    • Constructor Detail

      • Notification

        public Notification()
    • Method Detail

      • getIdUnit

        public int getIdUnit()
        Returns:
        the id of the unit
      • setIdUnit

        public void setIdUnit​(int nIdUnit)
        Parameters:
        nIdUnit - the id of the unit
      • getEmail

        public java.lang.String getEmail()
        Returns:
        the set Email
      • setEmail

        public void setEmail​(java.lang.String strEmail)
        Parameters:
        strEmail - the Email to set
      • getHasNotif

        public boolean getHasNotif()
        Returns:
        true if the unit accept notification
      • setHasNotif

        public void setHasNotif​(boolean bHasNotif)
        Parameters:
        bHasNotif - true if the unit accept notification
      • getUseEmail

        public boolean getUseEmail()
        Returns:
        true if the unit has is own email and use it for notification (email should not be null)
      • setUseEmail

        public void setUseEmail​(boolean bUseEmail)
        Parameters:
        bUseEmail - true if the unit has is own email and use it for notification (email should not be null)
      • getUseList

        public boolean getUseList()
        Returns:
        true if the unit use all user email of the unit for notification
      • setUseList

        public void setUseList​(boolean bUseList)
        Parameters:
        bUseList - true if the unit use all user email of the unit for notification