public class FullDataLoader extends java.lang.Object implements IFullDataLoader
Constructor and Description |
---|
FullDataLoader() |
Modifier and Type | Method and Description |
---|---|
void |
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 |
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.
|
public void assignOrders(java.util.ArrayList<Employee> personnel, java.util.ArrayList<Dish> menu, java.util.ArrayList<Order> orders)
personnel:
- list holding information about employeesmenu:
- list holding information about dishesorders:
- list holding information about orderspublic int fullDataLoad(java.util.ArrayList<Employee> personnel, java.util.ArrayList<Dish> menu, java.util.ArrayList<Order> orders)
fullDataLoad
in interface IFullDataLoader
personnel:
- empty list holding information about employeesmenu:
- empty list holding information about dishesorders:
- empty list holding information about orders