Class Category
java.lang.Object
fr.paris.lutece.plugins.appointment.business.category.Category
- All Implemented Interfaces:
Serializable
Business class of the Category
- Author:
- Laurent Payen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the id of the categorygetLabel()Get the label of the categoryintGet the maximum number of appointments authorized for a same uservoidsetIdCategory(int nIdCategory) Set the id of the categoryvoidSet the label of the categoryvoidsetNbMaxAppointmentsPerUser(int nNbMaxAppointmentsPerUser) Set the maximum number of appointments authorized for a same user
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
getIdCategory
public int getIdCategory()Get the id of the category- Returns:
- the id
-
setIdCategory
public void setIdCategory(int nIdCategory) Set the id of the category- Parameters:
nIdCategory- the id to set
-
getLabel
Get the label of the category- Returns:
- the label
-
setLabel
Set the label of the category- Parameters:
strLabel- the label to set
-
getNbMaxAppointmentsPerUser
public int getNbMaxAppointmentsPerUser()Get the maximum number of appointments authorized for a same user- Returns:
- the maximum number
-
setNbMaxAppointmentsPerUser
public void setNbMaxAppointmentsPerUser(int nNbMaxAppointmentsPerUser) Set the maximum number of appointments authorized for a same user- Parameters:
nNbMaxAppointmentsPerUser- the maximum number of appointments to set
-