public boolean isResponsibleFor(CurricularCourse curricularCourse, ExecutionPeriod executionPeriod) { for (final ExecutionCourse executionCourse : curricularCourse.getAssociatedExecutionCoursesSet()) { if (executionCourse.getExecutionPeriod() == executionPeriod) { return isResponsibleFor(executionCourse) != null;
public Professorship isResponsibleFor(ExecutionCourse executionCourse) { for (final Professorship professorship : this.getProfessorships()) { if (professorship.getResponsibleFor() && professorship.getExecutionCourse() == executionCourse) { return professorship;
    public boolean isResponsibleFor(CurricularCourse curricularCourse, ExecutionPeriod executionPeriod) {	for (final ExecutionCourse executionCourse : curricularCourse.getAssociatedExecutionCoursesSet()) {	    if (executionCourse.getExecutionPeriod() == executionPeriod) {		return isResponsibleFor(executionCourse) != null;	    }	}	return false;    }