Class DemandCategory
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory
-
- All Implemented Interfaces:
Serializable
public class DemandCategory extends Object implements Serializable
This is the business class for the object DemandCategory- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DemandCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Returns the CodeintgetId()Returns the IdStringgetLabel()Returns the LabelbooleanisDefault()voidsetCode(String strCode)Sets the CodevoidsetDefault(boolean isDefault)voidsetId(int nId)Sets the IdvoidsetLabel(String strLabel)Sets the Label
-
-
-
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
-
getCode
public String getCode()
Returns the Code- Returns:
- The Code
-
setCode
public void setCode(String strCode)
Sets the Code- Parameters:
strCode- The Code
-
getLabel
public String getLabel()
Returns the Label- Returns:
- The Label
-
setLabel
public void setLabel(String strLabel)
Sets the Label- Parameters:
strLabel- The Label
-
isDefault
public boolean isDefault()
- Returns:
- the _isDefault
-
setDefault
public void setDefault(boolean isDefault)
- Parameters:
isDefault- the _isDefault to set
-
-