Package | Description |
---|---|
be.ac.ulb.infof307.g02.database | |
be.ac.ulb.infof307.g02.models |
Modifier and Type | Method and Description |
---|---|
private Schedule |
ShopDB.getScheduleFromResultSet(java.sql.ResultSet resultSet)
Gets the schedule of a shop from a ResultSet
|
Modifier and Type | Field and Description |
---|---|
private Schedule |
Shop.schedule |
Modifier and Type | Method and Description |
---|---|
Schedule |
Shop.getSchedule() |
Modifier and Type | Method and Description |
---|---|
void |
Shop.setSchedule(Schedule schedule) |
Constructor and Description |
---|
Schedule(Schedule schedule) |
Shop(int id,
java.lang.String name,
Schedule schedule,
Position position)
Construct the Shop with an empty stock.
|
Shop(int id,
java.lang.String name,
Schedule schedule,
Position position,
java.util.Map<Product,Article> stock)
Construct the Shop given the ID (from the database).
|
Shop(java.lang.String name,
Schedule schedule,
Position position,
java.util.Map<Product,Article> stock)
Construct the Shop without a real ID (indicated by having ID=1).
|