public static class SearchCriteria.BaseFacetDefinition extends Object implements Serializable
hashCode() and
equals(Object) methods.| Constructor and Description |
|---|
BaseFacetDefinition(String id,
int maxFacetResults)
Create a facet definition instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
getField(String dataField)
Retrieves the value of the specified data field.
|
String |
getId() |
int |
getMaxFacetResults() |
int |
hashCode() |
void |
setField(String dataField,
Object value)
Sets the value of the data field to the specified one.
|
public BaseFacetDefinition(String id, int maxFacetResults)
id - an unique identifier for this facet definition. This helps differentiate facet definitions that
are of the same type but are operating on different data objectsmaxFacetResults - the maximum number of facet results (different facet values) the facet should returnpublic String getId()
public int getMaxFacetResults()
public Object getField(String dataField)
dataField - the data field name to retrieve value forCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.