Class Category


  • public class Category
    extends Object
    This is the business class for the object Category
    • Constructor Detail

      • Category

        public Category()
    • Method Detail

      • getIdCategory

        public int getIdCategory()
        Returns the IdCategory
        Returns:
        The IdCategory
      • setIdCategory

        public void setIdCategory​(int nIdCategory)
        Sets the IdCategory
        Parameters:
        nIdCategory - The IdCategory
      • getName

        public String getName()
        Returns the Name
        Returns:
        The Name
      • setName

        public void setName​(String strName)
        Sets the Name
        Parameters:
        strName - The Name
      • getDescription

        public String getDescription()
        Returns the Description
        Returns:
        The Description
      • setDescription

        public void setDescription​(String strDescription)
        Sets the Description
        Parameters:
        strDescription - The Description
      • getCode

        public String getCode()
        Returns the Code
        Returns:
        The Code
      • setCode

        public void setCode​(String strCode)
        Sets the Code
        Parameters:
        strCode - The Code
      • getXml

        public String getXml​(javax.servlet.http.HttpServletRequest request,
                             Locale locale,
                             List<DemandType> listDemandType)
        Returns the xml of this Category with demand Type associated
        Parameters:
        request - The HTTP Servlet request
        locale - the Locale
        listDemandType - the list of demande type
        Returns:
        the xml of this Category
      • getXml

        public String getXml​(javax.servlet.http.HttpServletRequest request,
                             Locale locale)
        Returns the xml of this Category
        Parameters:
        request - The HTTP Servlet request
        locale - the Locale
        Returns:
        the xml of this Category