Пример #1
0
  public Exercise removeExercis(Exercise exercis) {
    getExercises().remove(exercis);
    exercis.setLessonBean(null);

    return exercis;
  }
Пример #2
0
  public Exercise addExercis(Exercise exercis) {
    getExercises().add(exercis);
    exercis.setLessonBean(this);

    return exercis;
  }