public class FilterData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
maxDistance
the maxDistance between the user and the shops
|
private java.lang.String |
name
The name of a shop
|
private java.util.List<Day> |
openingDays
The days during which the shops must be open
|
private Time |
openingTime
A time during which the shops must be open
|
private java.util.List<Product> |
productList
A list of products the shops must sell
|
Constructor and Description |
---|
FilterData(java.lang.String name,
int maxDistance,
java.util.List<Day> openingDays,
Time openingTime,
java.util.List<Product> productList) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxDistance() |
java.lang.String |
getName() |
java.util.List<Day> |
getOpeningDays() |
Time |
getOpeningTime() |
java.util.List<Product> |
getProductList() |
private final java.lang.String name
private final int maxDistance
private final java.util.List<Day> openingDays
private final Time openingTime
private final java.util.List<Product> productList