| Constructor and Description |
|---|
FacetRange(sirius.kernel.commons.Amount min,
sirius.kernel.commons.Amount max)
Creates a new range with the given min and max values.
|
| Modifier and Type | Method and Description |
|---|---|
sirius.kernel.commons.Amount |
getFrom()
Returns the lower bound for filtering.
|
sirius.kernel.commons.Amount |
getMax()
Returns the largest available value.
|
sirius.kernel.commons.Amount |
getMin()
Returns the smallest available value.
|
sirius.kernel.commons.Amount |
getTo()
Returns the upper bound for filtering.
|
FacetRange |
setFrom(sirius.kernel.commons.Amount from)
Specifies the lower bound for filtering.
|
FacetRange |
setTo(sirius.kernel.commons.Amount to)
Specifies the upper bound for filtering.
|
public FacetRange(sirius.kernel.commons.Amount min,
sirius.kernel.commons.Amount max)
min - smallest available valuemax - the largest available valuepublic sirius.kernel.commons.Amount getMin()
public sirius.kernel.commons.Amount getMax()
public sirius.kernel.commons.Amount getFrom()
public sirius.kernel.commons.Amount getTo()
public FacetRange setFrom(sirius.kernel.commons.Amount from)
from - the lower boundpublic FacetRange setTo(sirius.kernel.commons.Amount to)
to - the upper boundCopyright © 2018. All rights reserved.