/home/caleb/ASDV-WebDev/Semester 2/LabJuneauValidateUserInput/src/main/java/edu/slcc/asdv/bl/Company.java |
package edu.slcc.asdv.bl;
import java.util.ArrayList;
import java.util.List;
@author
public class Company implements EmployeeInterface
{
private List<Employee> employeeList;
public Company(){employeeList = new ArrayList<Employee>(); }
@Override
public boolean insertEmployee(Employee e){return employeeList.add( e ); }
@Override
public boolean removeEmployee(Employee e){return employeeList.remove(e);}
@Override
public List<Employee> getEmployees(){return employeeList;}
}