Class Subscription
- java.lang.Object
-
- fr.paris.lutece.plugins.notificationstore.modules.broadcast.business.Subscription
-
- All Implemented Interfaces:
Serializable
public class Subscription extends Object implements Serializable
This is the business class for the object Subscription- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Subscription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDemandTypeId()Returns the DemandTypeIdintgetFrequency()Returns the Frequency (in hours)intgetId()Returns the IdStringgetMail()Returns the MailvoidsetDemandTypeId(int nDemandTypeId)Sets the DemandTypeIdvoidsetFrequency(int nFrequency)Sets the Frequency (in hours)voidsetId(int nId)Sets the IdvoidsetMail(String strMail)Sets the Mail
-
-
-
Method Detail
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getDemandTypeId
public int getDemandTypeId()
Returns the DemandTypeId- Returns:
- The DemandTypeId
-
setDemandTypeId
public void setDemandTypeId(int nDemandTypeId)
Sets the DemandTypeId- Parameters:
nDemandTypeId- The DemandTypeId
-
getMail
public String getMail()
Returns the Mail- Returns:
- The Mail
-
setMail
public void setMail(String strMail)
Sets the Mail- Parameters:
strMail- The Mail
-
getFrequency
public int getFrequency()
Returns the Frequency (in hours)- Returns:
- The Frequency
-
setFrequency
public void setFrequency(int nFrequency)
Sets the Frequency (in hours)- Parameters:
nFrequency- The Frequency
-
-