Class Category
java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.favorites.business.Category
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the CodeintgetId()Returns the IdgetName()Returns the NamebooleanReturns the isDefault booleanvoidSets the CodevoidsetDefault(boolean isDefault) Sets the isDefault booleanvoidsetId(int nId) Sets the IdvoidSets the Name
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getCode
Returns the Code- Returns:
- The Code
-
setCode
Sets the Code- Parameters:
strCode- The Code
-
isDefault
public boolean isDefault()Returns the isDefault boolean- Returns:
- The isDefault boolean
-
setDefault
public void setDefault(boolean isDefault) Sets the isDefault boolean- Parameters:
isDefault- The isDefault boolean
-