public Coordinator getCoordinator() { for (Coordinator coordinator : getExecutionDegree().getCoordinatorsList()) { if (this.getPerson().equals(coordinator.getPerson())) { return coordinator; } } return null; }
public Coordinator getCoordinatorByTeacher(Person person) { for (Coordinator coordinator : getCoordinatorsListSet()) { if (coordinator.getPerson() == person) { return coordinator; } } return null; }