Class Category
- java.lang.Object
-
- fr.paris.lutece.plugins.mydashboard.modules.favorites.business.Category
-
- All Implemented Interfaces:
Serializable
public class Category extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Category()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Returns the CodeintgetId()Returns the IdStringgetName()Returns the NamebooleanisDefault()Returns the isDefault booleanvoidsetCode(String strCode)Sets the CodevoidsetDefault(boolean isDefault)Sets the isDefault booleanvoidsetId(int nId)Sets the IdvoidsetName(String strName)Sets the Name
-
-
-
Method Detail
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getName
public String getName()
Returns the Name- Returns:
- The Name
-
setName
public void setName(String strName)
Sets the Name- Parameters:
strName- The Name
-
getCode
public String getCode()
Returns the Code- Returns:
- The Code
-
setCode
public void setCode(String strCode)
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
-
-