Class ItemFieldDV
- java.lang.Object
-
- org.gcube.application.geoportalcommon.shared.geoportal.config.ItemFieldDV
-
- All Implemented Interfaces:
Serializable,GeoportalConfigurationID
public class ItemFieldDV extends Object implements GeoportalConfigurationID, Serializable
The Class ItemFieldDV.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Mar 16, 2022
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemFieldDV()Instantiates a new item field.ItemFieldDV(String displayName, List<String> jsonFields, String operator, boolean displayAsResult, boolean sortable, boolean searchable)Instantiates a new item field DV.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()Gets the display name.StringgetID()List<String>getJsonFields()Gets the json fields.StringgetOperator()Gets the operator.booleanisDisplayAsResult()Checks if is display as result.booleanisSearchable()Checks if is searchable.booleanisSortable()Checks if is sortable.voidsetDisplayAsResult(boolean displayAsResult)Sets the display as result.voidsetDisplayName(String displayName)Sets the display name.voidsetID(String configID)voidsetJsonFields(List<String> jsonFields)Sets the json fields.voidsetOperator(String operator)Sets the operator.voidsetSearchable(boolean searchable)Sets the searchable.voidsetSortable(boolean sortable)Sets the sortable.StringtoString()
-
-
-
Constructor Detail
-
ItemFieldDV
public ItemFieldDV()
Instantiates a new item field.
-
ItemFieldDV
public ItemFieldDV(String displayName, List<String> jsonFields, String operator, boolean displayAsResult, boolean sortable, boolean searchable)
Instantiates a new item field DV.- Parameters:
displayName- the display namejsonFields- the json fieldsoperator- the operatordisplayAsResult- the display as resultsortable- the sortablesearchable- the searchable
-
-
Method Detail
-
getID
public String getID()
- Specified by:
getIDin interfaceGeoportalConfigurationID
-
setID
public void setID(String configID)
- Specified by:
setIDin interfaceGeoportalConfigurationID
-
getDisplayName
public String getDisplayName()
Gets the display name.- Returns:
- the display name
-
getOperator
public String getOperator()
Gets the operator.- Returns:
- the operator
-
isDisplayAsResult
public boolean isDisplayAsResult()
Checks if is display as result.- Returns:
- true, if is display as result
-
isSortable
public boolean isSortable()
Checks if is sortable.- Returns:
- true, if is sortable
-
isSearchable
public boolean isSearchable()
Checks if is searchable.- Returns:
- true, if is searchable
-
setDisplayName
public void setDisplayName(String displayName)
Sets the display name.- Parameters:
displayName- the new display name
-
setJsonFields
public void setJsonFields(List<String> jsonFields)
Sets the json fields.- Parameters:
jsonFields- the new json fields
-
setOperator
public void setOperator(String operator)
Sets the operator.- Parameters:
operator- the new operator
-
setDisplayAsResult
public void setDisplayAsResult(boolean displayAsResult)
Sets the display as result.- Parameters:
displayAsResult- the new display as result
-
setSortable
public void setSortable(boolean sortable)
Sets the sortable.- Parameters:
sortable- the new sortable
-
setSearchable
public void setSearchable(boolean searchable)
Sets the searchable.- Parameters:
searchable- the new searchable
-
-