Class Category

  • All Implemented Interfaces:
    java.io.Serializable

    public final class Category
    extends java.lang.Object
    implements java.io.Serializable
    Business 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
      int getIdCategory()
      Get the id of the category
      java.lang.String getLabel()
      Get the label of the category
      int getNbMaxAppointmentsPerUser()
      Get the maximum number of appointments authorized for a same user
      void setIdCategory​(int nIdCategory)
      Set the id of the category
      void setLabel​(java.lang.String strLabel)
      Set the label of the category
      void setNbMaxAppointmentsPerUser​(int nNbMaxAppointmentsPerUser)
      Set the maximum number of appointments authorized for a same user
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Category

        public Category()
    • 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