Package knf.hydra.core.models.data
Class FilterData
-
- All Implemented Interfaces:
public final class FilterDataRepresents a filter section, each one contains a list of options, the behavior is controlled by the filterType which change the options between a list of checkboxes and radio buttons, when the filters are applied by the user the app will detect the differences between the filters and will return only the changed sections.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumFilterData.Type
-
Field Summary
Fields Modifier and Type Field Description private final Stringkeyprivate final Stringnameprivate final FilterData.TypefilterTypeprivate final List<FilterItem>items
-
Constructor Summary
Constructors Constructor Description FilterData(String key, String name, FilterData.Type filterType, List<FilterItem> items)
-
Method Summary
Modifier and Type Method Description final StringgetKey()final StringgetName()final FilterData.TypegetFilterType()final List<FilterItem>getItems()-
-
Constructor Detail
-
FilterData
FilterData(String key, String name, FilterData.Type filterType, List<FilterItem> items)
-
-
Method Detail
-
getFilterType
final FilterData.Type getFilterType()
-
getItems
final List<FilterItem> getItems()
-
-
-
-