Class SelectSetting
- java.lang.Object
-
- com.gentics.contentnode.rest.model.SelectSetting
-
- All Implemented Interfaces:
Serializable
public class SelectSetting extends Object implements Serializable
Model for select settings- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectSetting()
Create empty instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDatasourceId()
Datasource IDList<SelectOption>
getOptions()
Selectable options of the datasourceString
getTemplate()
Rendering templatevoid
setDatasourceId(int datasourceId)
Set the datasource IDvoid
setOptions(List<SelectOption> options)
Set the option listvoid
setTemplate(String template)
Set the rendering template
-
-
-
Method Detail
-
getDatasourceId
public int getDatasourceId()
Datasource ID- Returns:
- datasource ID
-
setDatasourceId
public void setDatasourceId(int datasourceId)
Set the datasource ID- Parameters:
datasourceId
- datasource ID
-
getTemplate
public String getTemplate()
Rendering template- Returns:
- rendering template
-
setTemplate
public void setTemplate(String template)
Set the rendering template- Parameters:
template
- template
-
getOptions
public List<SelectOption> getOptions()
Selectable options of the datasource- Returns:
- option list
-
setOptions
public void setOptions(List<SelectOption> options)
Set the option list- Parameters:
options
- option list
-
-