public class Notification extends Object
| Constructor and Description |
|---|
Notification() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail() |
boolean |
getHasNotif() |
int |
getIdUnit() |
boolean |
getUseEmail() |
boolean |
getUseList() |
void |
setEmail(String strEmail) |
void |
setHasNotif(boolean bHasNotif) |
void |
setIdUnit(int nIdUnit) |
void |
setUseEmail(boolean bUseEmail) |
void |
setUseList(boolean bUseList) |
public int getIdUnit()
public void setIdUnit(int nIdUnit)
nIdUnit - the id of the unitpublic String getEmail()
public void setEmail(String strEmail)
strEmail - the Email to setpublic boolean getHasNotif()
public void setHasNotif(boolean bHasNotif)
bHasNotif - true if the unit accept notificationpublic boolean getUseEmail()
public void setUseEmail(boolean bUseEmail)
bUseEmail - true if the unit has is own email and use it for notification (email should not be null)public boolean getUseList()
public void setUseList(boolean bUseList)
bUseList - true if the unit use all user email of the unit for notificationCopyright © 2017 City of Paris. All rights reserved.