public class FacetTO extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
date
Indicates if the range is a date
|
protected String |
field
The name of the field
|
protected boolean |
multiple
Indicates if the facet supports multiple values, defaults to
false |
protected String |
name
The name of the facet
|
protected List<FacetRangeTO> |
ranges
The ranges of the facet
|
Constructor and Description |
---|
FacetTO() |
Modifier and Type | Method and Description |
---|---|
String |
getField() |
String |
getName() |
List<FacetRangeTO> |
getRanges() |
boolean |
isDate() |
boolean |
isMultiple() |
boolean |
isRange() |
void |
setDate(boolean date) |
void |
setField(String field) |
void |
setMultiple(boolean multiple) |
void |
setName(String name) |
void |
setRanges(List<FacetRangeTO> ranges) |
protected String name
protected String field
protected List<FacetRangeTO> ranges
protected boolean date
protected boolean multiple
false
public String getName()
public void setName(String name)
public String getField()
public void setField(String field)
public List<FacetRangeTO> getRanges()
public void setRanges(List<FacetRangeTO> ranges)
public boolean isRange()
public boolean isDate()
public void setDate(boolean date)
public boolean isMultiple()
public void setMultiple(boolean multiple)
Copyright © 2020 CrafterCMS. All rights reserved.