import java.util.Date; import java.util.ArrayList; import java.util.List; class Employee { private final String id; private final String name; private final List assignments = new ArrayList<>(); public Employee(String id, String name) { this.id = id; this.name = name; } public List getAssignments() { return assignments; } } class Project { private final String code; private final String title; private final List assignments = new ArrayList<>(); public Project(String code, String title) { this.code = code; this.title = title; } public List getAssignments() { return assignments; } } class Assignment { private Employee employee; private Project project; private Date startDate; private Date endDate; private String role; public Assignment(Employee employee, Project project, Date startDate, Date endDate, String role) { this.employee = employee; this.project = project; this.startDate = startDate; this.endDate = endDate; this.role = role; } public Employee getEmployee() { return employee; } public Project getProject() { return project; } public Date getStartDate() { return startDate; } public Date getEndDate() { return endDate; } public String getRole() { return role; } } public class Example02 { public static void main(String args[]){ } }