Class SelectSetting
java.lang.Object
com.gentics.contentnode.rest.model.SelectSetting
- All Implemented Interfaces:
Serializable
Model for select settings
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Datasource IDSelectable options of the datasourceRendering templatevoid
setDatasourceId
(int datasourceId) Set the datasource IDvoid
setOptions
(List<SelectOption> options) Set the option listvoid
setTemplate
(String template) Set the rendering template
-
Constructor Details
-
SelectSetting
public SelectSetting()Create empty instance
-
-
Method Details
-
getDatasourceId
public int getDatasourceId()Datasource ID- Returns:
- datasource ID
-
setDatasourceId
public void setDatasourceId(int datasourceId) Set the datasource ID- Parameters:
datasourceId
- datasource ID
-
getTemplate
Rendering template- Returns:
- rendering template
-
setTemplate
Set the rendering template- Parameters:
template
- template
-
getOptions
Selectable options of the datasource- Returns:
- option list
-
setOptions
Set the option list- Parameters:
options
- option list
-