Constructor | Description |
---|---|
Value() |
Modifier and Type | Method | Description |
---|---|---|
int |
getCount() |
Get the product count associated with this value.
|
double |
getRelevance() |
Deprecated.
|
String |
getText() |
Get the text of the value.
|
String |
getTicket() |
Deprecated.
|
boolean |
isSelected() |
Check if this value is a selected facet value.
|
static Result.Value |
mock(String text,
String ticket,
int count,
double relevance,
boolean selected) |
Creates a new Value object for test purposes.
|
String |
toString() |
public static Result.Value mock(String text, String ticket, int count, double relevance, boolean selected)
text
- the value textticket
- the value ticketcount
- the value countrelevance
- the value relevanceselected
- indicates if the value is a facet value that was included in the facets parameter to the panelpublic String getText()
@Deprecated public double getRelevance()
public boolean isSelected()
public int getCount()
@Deprecated public String getTicket()
Copyright © 2020 Apptus Technologies AB. All rights reserved.