자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private static boolean hasActiveProfessorship() { final ExecutionSemester executionSemester = ExecutionSemester.readActualExecutionSemester(); final Person person = AccessControl.getPerson(); for (final Professorship professorship : person.getProfessorshipsSet()) { if (professorship.getExecutionCourse().getExecutionPeriod() == executionSemester) { return true; } } return false; }