Class Category
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.category.Category
-
- All Implemented Interfaces:
java.io.Serializable
public final class Category extends java.lang.Object implements java.io.SerializableBusiness class of the Category- Author:
- Laurent Payen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIdCategory()Get the id of the categoryjava.lang.StringgetLabel()Get the label of the categoryintgetNbMaxAppointmentsPerUser()Get the maximum number of appointments authorized for a same uservoidsetIdCategory(int nIdCategory)Set the id of the categoryvoidsetLabel(java.lang.String strLabel)Set the label of the categoryvoidsetNbMaxAppointmentsPerUser(int nNbMaxAppointmentsPerUser)Set the maximum number of appointments authorized for a same user
-
-
-
Method Detail
-
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
public java.lang.String getLabel()
Get the label of the category- Returns:
- the label
-
setLabel
public void setLabel(java.lang.String strLabel)
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
-
-