public class RefinementValue extends Refinement<RefinementValue>
A RefinementValue extends Refinement and represents a navigation refinement that holds a value.
Typically, brand is a value refinement.
- `id`: an MD5 hash of the content of this value.
- `value`: The value of the refinement.
- `count`: the number of records that will be filtered down to by this navigation value.
- `isRange`: - whether this is a range refinement or a value refinement
- `type`: - the type of refinement, Value or Range
Refinement.Type| Constructor and Description |
|---|
RefinementValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Refinement.Type |
getType()
Types are either `Range` or `Value`
They represent the objects RefinementRange and RefinementValue
|
java.lang.String |
getValue() |
int |
hashCode() |
Refinement |
setValue(java.lang.String value) |
java.lang.String |
toTildeString() |
getCount, getExclude, getId, isRange, setCount, setExclude, setIdpublic Refinement.Type getType()
Refinement
Types are either `Range` or `Value`
They represent the objects RefinementRange and RefinementValue
getType in class Refinement<RefinementValue>public java.lang.String toTildeString()
toTildeString in class Refinement<RefinementValue>public java.lang.String getValue()
public Refinement setValue(java.lang.String value)
value - Set the valuepublic boolean equals(java.lang.Object o)
equals in class java.lang.Object`obj`: - the reference object with which to compare.public int hashCode()
hashCode in class java.lang.ObjectCopyright © 2013–2018 GroupBy Inc.. All rights reserved.