Beispiel #1
0
  public Exercise removeExercis(Exercise exercis) {
    getExercises().remove(exercis);
    exercis.setLessonBean(null);

    return exercis;
  }
Beispiel #2
0
  public Exercise addExercis(Exercise exercis) {
    getExercises().add(exercis);
    exercis.setLessonBean(this);

    return exercis;
  }