Class DemandType
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.demand.DemandType
-
public class DemandType extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DemandType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMetaData(java.lang.String key, java.lang.String value)add a meta datajava.lang.StringgetAppCode()Get the app codejava.lang.StringgetCategory()Returns the CategoryintgetId()intgetIdDemandType()Get the id demand typejava.lang.StringgetLabel()Get the labeljava.util.Map<java.lang.String,java.lang.String>getMetaData()get meta datajava.lang.StringgetUrl()Get the url of the resourcevoidsetAppCode(java.lang.String strAppCode)Set the app codevoidsetCategory(java.lang.String strCategory)Sets the CategoryvoidsetId(int _nId)voidsetIdDemandType(int nIdDemandType)Set the id demand typevoidsetLabel(java.lang.String strLabel)Set the labelvoidsetMetaData(java.util.Map<java.lang.String,java.lang.String> _mapMetaData)set meta datavoidsetUrl(java.lang.String strUrl)Set the url of the form
-
-
-
Method Detail
-
getId
public int getId()
- Returns:
- the _nId
-
setId
public void setId(int _nId)
- Parameters:
_nId- the _nId to set
-
getIdDemandType
public int getIdDemandType()
Get the id demand type- Returns:
- the id demand type
-
setIdDemandType
public void setIdDemandType(int nIdDemandType)
Set the id demand type- Parameters:
nIdDemandType- the id deman type
-
getLabel
public java.lang.String getLabel()
Get the label- Returns:
- the label
-
setLabel
public void setLabel(java.lang.String strLabel)
Set the label- Parameters:
strLabel- the label
-
getUrl
public java.lang.String getUrl()
Get the url of the resource- Returns:
- the url of the resource
-
setUrl
public void setUrl(java.lang.String strUrl)
Set the url of the form- Parameters:
strUrl- the url of the form
-
getAppCode
public java.lang.String getAppCode()
Get the app code- Returns:
- the app code
-
setAppCode
public void setAppCode(java.lang.String strAppCode)
Set the app code- Parameters:
strUrl- the app code
-
getCategory
public java.lang.String getCategory()
Returns the Category- Returns:
- The Category
-
setCategory
public void setCategory(java.lang.String strCategory)
Sets the Category- Parameters:
strCategory- The Category
-
getMetaData
public java.util.Map<java.lang.String,java.lang.String> getMetaData()
get meta data- Returns:
- the data
-
setMetaData
public void setMetaData(java.util.Map<java.lang.String,java.lang.String> _mapMetaData)
set meta data- Parameters:
_mapMetaData-
-
addMetaData
public void addMetaData(java.lang.String key, java.lang.String value)add a meta data- Parameters:
key-value-
-
-