Package | Description |
---|---|
dataLoad | |
dataModel |
Modifier and Type | Method and Description |
---|---|
void |
FullDataLoader.assignOrders(java.util.ArrayList<Employee> personnel,
java.util.ArrayList<Dish> menu,
java.util.ArrayList<Order> orders)
Creates the mapping between the three different entities
(Employee, Dish, Order)
|
int |
OrderLoader.constructObjectFromRow(java.lang.String[] tokens,
java.util.ArrayList<Order> orders)
Adds a record in the input list given the tokens of a
row.
|
int |
IFullDataLoader.fullDataLoad(java.util.ArrayList<Employee> personnel,
java.util.ArrayList<Dish> menu,
java.util.ArrayList<Order> orders) |
int |
FullDataLoader.fullDataLoad(java.util.ArrayList<Employee> personnel,
java.util.ArrayList<Dish> menu,
java.util.ArrayList<Order> orders)
Loads the three different types of files and stores
the data in the three different lists that receives
as parameters.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Order> |
Dish.getOrders() |
Modifier and Type | Method and Description |
---|---|
void |
Employee.addOrder(Order o)
Adds an order to the list of orders
|
void |
Dish.addOrder(Order o) |