Bookmark

public class Bookmark extends MdsEntity

Bookmark object to store the progress for the user. This stores the identifier for the individual course units (like chapters, lessons)

Constructors

Bookmark

public Bookmark()

Bookmark

public Bookmark(String externalId, String courseIdentifier, String chapterIdentifier, String lessonIdentifier, Map<String, Object> progress)

Methods

equals

public boolean equals(Object obj)

getChapterIdentifier

public String getChapterIdentifier()

getCourseIdentifier

public String getCourseIdentifier()

getExternalId

public String getExternalId()

getLessonIdentifier

public String getLessonIdentifier()

getProgress

public Map<String, Object> getProgress()

hashCode

public int hashCode()

setChapterIdentifier

public void setChapterIdentifier(String chapterIdentifier)

setCourseIdentifier

public void setCourseIdentifier(String courseIdentifier)

setExternalId

public void setExternalId(String externalId)

setLessonIdentifier

public void setLessonIdentifier(String lessonIdentifier)

setProgress

public void setProgress(Map<String, Object> progress)