Class CategoryValueComputedDataHolder
- java.lang.Object
-
- com.funnelback.publicui.search.model.collection.facetednavigation.CategoryValueComputedDataHolder
-
public class CategoryValueComputedDataHolder extends java.lang.ObjectHolds the data of a category value.Unlike CategoryValue this has everything within it to generate a CategoryValue without doubling up on any data in different forms.
- Since:
- 15.14
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringconstraintConstraint used to get this value.private java.lang.IntegercountCount of occurrences for this valueprivate java.lang.StringdataActual value of the category (Ex: "Sydney").private java.lang.StringlabelLabel of the value, usually the same as the data.private java.lang.StringqueryStringParamNameName of the query string parameter for this value (e.g.private java.lang.StringqueryStringParamValueValue of the query string parameter for this value (e.g.private booleanselectedIndicates if this value is currently selected
-
Constructor Summary
Constructors Constructor Description CategoryValueComputedDataHolder(java.lang.String data, java.lang.String label, java.lang.Integer count, java.lang.String constraint, boolean selected, java.lang.String queryStringParamName, java.lang.String queryStringParamValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConstraint()Constraint used to get this value.java.lang.IntegergetCount()Count of occurrences for this valuejava.lang.StringgetData()Actual value of the category (Ex: "Sydney").java.lang.StringgetLabel()Label of the value, usually the same as the data.java.lang.StringgetQueryStringParamName()Name of the query string parameter for this value (e.g.java.lang.StringgetQueryStringParamValue()Value of the query string parameter for this value (e.g.booleanisSelected()Indicates if this value is currently selectedvoidsetConstraint(java.lang.String constraint)Constraint used to get this value.voidsetCount(java.lang.Integer count)Count of occurrences for this valuevoidsetData(java.lang.String data)Actual value of the category (Ex: "Sydney").voidsetLabel(java.lang.String label)Label of the value, usually the same as the data.voidsetQueryStringParamName(java.lang.String queryStringParamName)Name of the query string parameter for this value (e.g.voidsetQueryStringParamValue(java.lang.String queryStringParamValue)Value of the query string parameter for this value (e.g.voidsetSelected(boolean selected)Indicates if this value is currently selected
-
-
-
Field Detail
-
data
private java.lang.String data
Actual value of the category (Ex: "Sydney").- Since:
- 15.14
-
label
private java.lang.String label
Label of the value, usually the same as the data.- Since:
- 15.14
-
count
private java.lang.Integer count
Count of occurrences for this value- Since:
- 15.14
-
constraint
private java.lang.String constraint
Constraint used to get this value. Can be a metadata class or a GScope number, depending of the facet type.- Since:
- 15.14
-
selected
private boolean selected
Indicates if this value is currently selected- Since:
- 15.14
-
queryStringParamName
private java.lang.String queryStringParamName
Name of the query string parameter for this value (e.g.f.Location|X)
-
queryStringParamValue
private java.lang.String queryStringParamValue
Value of the query string parameter for this value (e.g.Syndey)
-
-
Method Detail
-
getData
public java.lang.String getData()
Actual value of the category (Ex: "Sydney").- Since:
- 15.14
-
setData
public void setData(java.lang.String data)
Actual value of the category (Ex: "Sydney").- Since:
- 15.14
-
getLabel
public java.lang.String getLabel()
Label of the value, usually the same as the data.- Since:
- 15.14
-
setLabel
public void setLabel(java.lang.String label)
Label of the value, usually the same as the data.- Since:
- 15.14
-
getCount
public java.lang.Integer getCount()
Count of occurrences for this value- Since:
- 15.14
-
setCount
public void setCount(java.lang.Integer count)
Count of occurrences for this value- Since:
- 15.14
-
getConstraint
public java.lang.String getConstraint()
Constraint used to get this value. Can be a metadata class or a GScope number, depending of the facet type.- Since:
- 15.14
-
setConstraint
public void setConstraint(java.lang.String constraint)
Constraint used to get this value. Can be a metadata class or a GScope number, depending of the facet type.- Since:
- 15.14
-
isSelected
public boolean isSelected()
Indicates if this value is currently selected- Since:
- 15.14
-
setSelected
public void setSelected(boolean selected)
Indicates if this value is currently selected- Since:
- 15.14
-
getQueryStringParamName
public java.lang.String getQueryStringParamName()
Name of the query string parameter for this value (e.g.f.Location|X)
-
setQueryStringParamName
public void setQueryStringParamName(java.lang.String queryStringParamName)
Name of the query string parameter for this value (e.g.f.Location|X)
-
getQueryStringParamValue
public java.lang.String getQueryStringParamValue()
Value of the query string parameter for this value (e.g.Syndey)
-
setQueryStringParamValue
public void setQueryStringParamValue(java.lang.String queryStringParamValue)
Value of the query string parameter for this value (e.g.Syndey)
-
-