Course

public class Course extends CourseUnitMetadata

Course metadata containing chapter information Structure - Course is a collection of chapters Chapter is a collection of lessons Every Chapter has a quiz associated with it Quiz is a collection of questions Question contains pointer to question resource and answer resource.

Constructors

Course

public Course()

Course

public Course(String name, CourseUnitState state, String content, String description, Map<String, String> properties)

Course

public Course(String name, CourseUnitState state, String content, String description, Map<String, String> properties, List<Chapter> chapters)

Methods

equals

public boolean equals(Object obj)

getChapters

public List<Chapter> getChapters()

getProperties

public Map<String, String> getProperties()

hashCode

public int hashCode()

setChapters

public void setChapters(List<Chapter> chapters)

setProperties

public void setProperties(Map<String, String> properties)

toUnitDto

public CourseUnitDto toUnitDto()

{@inheritDoc}