Package io.constructor.client.models
Class FacetConfiguration
java.lang.Object
io.constructor.client.models.FacetConfiguration
Constructor.io Facet Configuration ... uses Gson/Reflection to load data in
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
getName()
int
int
getType()
void
setCountable
(Boolean countable) void
void
setDisplayName
(String displayName) void
void
setIsProtected
(Boolean isProtected) void
setMatchType
(FacetConfiguration.MatchType matchType) void
void
setOptions
(List<FacetOptionConfiguration> options) void
setOptionsLimit
(int optionsLimit) void
setPosition
(int position) void
setRangeFormat
(String rangeFormat) void
setRangeInclusive
(String rangeInclusive) void
setRangeLimits
(List<String> rangeLimits) void
setRangeType
(String rangeType) void
setSortDescending
(Boolean sortDescending) void
setSortOrder
(String sortOrder) void
-
Constructor Details
-
FacetConfiguration
public FacetConfiguration()
-
-
Method Details
-
getOptions
- Returns:
- the options
-
getName
- Returns:
- the name
-
getType
- Returns:
- the type
-
getDisplayName
- Returns:
- the displayName
-
getSortOrder
- Returns:
- the sortOrder
-
getSortDescending
- Returns:
- the sortDescending
-
getRangeType
- Returns:
- the rangeType
-
getRangeFormat
- Returns:
- the rangeFormat
-
getRangeInclusive
- Returns:
- the rangeInclusive
-
getRangeLimits
- Returns:
- the rangeLimits
-
getMatchType
- Returns:
- the matchType
-
getPosition
public int getPosition()- Returns:
- the position
-
getHidden
- Returns:
- the hidden
-
getIsProtected
- Returns:
- the isProtected
-
getCountable
- Returns:
- the countable
-
getOptionsLimit
public int getOptionsLimit()- Returns:
- the optionsLimit
-
getData
- Returns:
- the data
-
setOptions
-
setName
-
setType
-
setDisplayName
-
setSortOrder
-
setSortDescending
-
setRangeType
-
setRangeFormat
-
setRangeInclusive
-
setRangeLimits
-
setMatchType
-
setPosition
public void setPosition(int position) -
setHidden
-
setIsProtected
-
setCountable
-
setOptionsLimit
public void setOptionsLimit(int optionsLimit) -
setData
-