Interface Docet
- All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject, OsidRelationship, Temporal
An Docet is an OsidRelationship between a
Module and an ActivityUnit . A Docet may represent a
descriptive portion of an in-class lesson plan, an assignment, or an
assessment. A Docet may exist at any level of granularity. A Docet may
cover an entire Module or there may be lots of Docets specific to
fine-grained learning objectives.
-
Method Summary
Modifier and TypeMethodDescriptionGets the activity unit.Gets theIdof the activity unit.Gets a list of assessments.Gets the assessments.Gets a list of asset materials distributed to the students.Gets the assets distributed to the students.getDocetRecord(Type docetRecordType) Gets the docet record corresponding to the givenDocetrecordType.This method must be used to retrieve an object implementing the requested record.Gets the estimated duration.Gets theIdsof the learning objectives.Gets the learning objectives.Gets the learning moduleGets theIdsof the learning module.booleanTests if thisDocethas a quiz or assignment expressed as anAssessment.booleanTests if thisDocethas a reading materials expressed asAssets.booleanTests if thisDocetoccurs within anActivityor it outlines efforts spent outside a convened activity.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods inherited from interface OsidRelationship
getEndReason, getEndReasonId, hasEndReasonModifier and TypeMethodDescriptionGets a state indicating why this relationship has ended.Gets a stateIdindicating why this relationship has ended.booleanTests if a reason this relationship came to an end is known.Methods inherited from interface Temporal
getEndDate, getStartDate, isEffectiveModifier and TypeMethodDescriptionGets the end date.Gets the start date.booleanTests if the current date is within the start end end dates inclusive.
-
Method Details
-
getModuleId
Id getModuleId()Gets theIdsof the learning module.- Returns:
- the learning module
Id - Compliance:
mandatory- This method must be implemented.
-
getModule
Gets the learning module- Returns:
- the learning module
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getActivityUnitId
Id getActivityUnitId()Gets theIdof the activity unit.- Returns:
- the activity unit
Id - Compliance:
mandatory- This method must be implemented.
-
getActivityUnit
Gets the activity unit.- Returns:
- the activity unit
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveIds
IdList getLearningObjectiveIds()Gets theIdsof the learning objectives.- Returns:
- the learning objective
Ids - Compliance:
mandatory- This method must be implemented.
-
getLearningObjectives
Gets the learning objectives.- Returns:
- the learning objectives
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
isInClass
boolean isInClass()Tests if thisDocetoccurs within anActivityor it outlines efforts spent outside a convened activity. In class docets can be used to align the estimated duration with the schedule of activities.- Returns:
trueif this occurs within an activity,falseif occurs outside a convened activity- Compliance:
mandatory- This method must be implemented.
-
getDuration
Duration getDuration()Gets the estimated duration.- Returns:
- the duration
- Compliance:
mandatory- This method must be implemented.
-
hasAssets
boolean hasAssets()Tests if thisDocethas a reading materials expressed asAssets.- Returns:
trueif assets are avilable,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssetIds
IdList getAssetIds()Gets a list of asset materials distributed to the students.- Returns:
- the asset
Ids - Throws:
IllegalStateException-hasAssets()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAssets
Gets the assets distributed to the students.- Returns:
- a list of assets
- Throws:
IllegalStateException-hasAssets()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
hasAssessments
boolean hasAssessments()Tests if thisDocethas a quiz or assignment expressed as anAssessment.- Returns:
trueif assessments are avilable,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentIds
IdList getAssessmentIds()Gets a list of assessments.- Returns:
- the assessment
Ids - Throws:
IllegalStateException-hasAssessments()isfalse- Compliance:
mandatory- This method must be implemented.
-
getAssessments
Gets the assessments.- Returns:
- a list of assessments
- Throws:
IllegalStateException-hasAssessments()isfalseOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getDocetRecord
Gets the docet record corresponding to the givenDocetrecordType.This method must be used to retrieve an object implementing the requested record. ThedocetRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(docetRecordType)istrue.- Parameters:
docetRecordType- the type of docet record to retrieve- Returns:
- the docet record
- Throws:
NullArgumentException-docetRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(docetRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-