Interface LessonAnchor
- All Superinterfaces:
OsidCapsule
A LessonAnchor forces a Lesson to begin at the
specified Activity and optionally at a specified time.
-
Method Summary
Modifier and TypeMethodDescriptionGets the activity.Gets theIdof the activity.Gets the lesson.Gets theIdof the lesson.getTime()Gets the time offset from the start of the acttvity where the anchor exists.
-
Method Details
-
getLessonId
Id getLessonId()Gets theIdof the lesson.- Returns:
- the lesson
Id - Compliance:
mandatory- This method must be implemented.
-
getLesson
Gets the lesson.- Returns:
- the lesson
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getActivityId
Id getActivityId()Gets theIdof the activity.- Returns:
- the activity
Id - Compliance:
mandatory- This method must be implemented.
-
getActivity
Gets the activity.- Returns:
- the activity
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getTime
Duration getTime()Gets the time offset from the start of the acttvity where the anchor exists.- Returns:
- a duration from the start of the activity
- Compliance:
mandatory- This method must be implemented.
-