Class Category
- java.lang.Object
-
- fr.paris.lutece.plugins.crm.business.demand.category.Category
-
public class Category extends Object
This is the business class for the object Category
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Returns the CodeStringgetDescription()Returns the DescriptionintgetIdCategory()Returns the IdCategoryStringgetName()Returns the NameStringgetXml(javax.servlet.http.HttpServletRequest request, Locale locale)Returns the xml of this CategoryStringgetXml(javax.servlet.http.HttpServletRequest request, Locale locale, List<DemandType> listDemandType)Returns the xml of this Category with demand Type associatedvoidsetCode(String strCode)Sets the CodevoidsetDescription(String strDescription)Sets the DescriptionvoidsetIdCategory(int nIdCategory)Sets the IdCategoryvoidsetName(String strName)Sets the Name
-
-
-
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 requestlocale- the LocalelistDemandType- the list of demande type- Returns:
- the xml of this Category
-
-