ChapterUnitDto

public class ChapterUnitDto extends CourseUnitDto

Class used to provide data about structure of chapters. It is used by the tree view.

Constructors

ChapterUnitDto

public ChapterUnitDto()

ChapterUnitDto

public ChapterUnitDto(long id, String name, String state, List<CourseUnitDto> units, CourseUnitDto quiz)

Constructor with all arguments.

Parameters:
  • id – the id of the chapter
  • name – the name of the chapter
  • state – the status of the chapter
  • units – the list of the lover level chapter
  • quiz – the quiz for the chapter

Methods

getQuiz

public CourseUnitDto getQuiz()

setQuiz

public void setQuiz(CourseUnitDto quiz)