public interface ActivityUnit extends OsidObject, Operable, Subjugateable
An ActivityUnit represents a canonical learning unit. A
canonical learning unit describes a kind of activity that will be offered
and is used for curriculum planning.
| Modifier and Type | Method and Description |
|---|---|
ActivityUnitRecord |
getActivityUnitRecord(Type activityUnitRecordType)
Gets the activity unit record corresponding to the given
ActivityUnit record Type. |
Course |
getCourse()
Gets the canonical course associated with this activity.
|
Id |
getCourseId()
Gets the canonical course
Id associated with this
activity. |
IdList |
getLearningObjectiveIds()
Gets the overall learning objective
Ids for this
activity unit. |
ObjectiveList |
getLearningObjectives()
Gets the overall learning objectives for this activity unit.
|
Duration |
getTotalTargetContactTime()
Gets the total contact time for this activity.
|
Duration |
getTotalTargetEffort()
Gets the total time required for this activity.
|
Duration |
getTotalTargetIndividualEffort()
Gets the total indivudal time required for this activity.
|
Duration |
getWeeklyContactTime()
Gets the weekly contact time for ths activity.
|
Duration |
getWeeklyEffort()
Gets the time required for this recurring effort on a weekly basis.
|
Duration |
getWeeklyIndividualEffort()
Gets the weekly individual time for ths activity.
|
boolean |
hasLearningObjectives()
Tests if this activity unit has associated learning objectives.
|
boolean |
isContact()
Tests if this is a contact activity.
|
boolean |
isRecurringWeekly()
Tests if this activity is recurring.
|
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeisActive, isDisabled, isEnabled, isOperationalId getCourseId()
Id associated with this
activity. Id mandatory - This method must be implemented. Course getCourse() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. Duration getTotalTargetEffort()
mandatory - This method must be implemented. boolean isContact()
true if this is a contact activity,
false if an independent activitymandatory - This method must be implemented. Duration getTotalTargetContactTime()
mandatory - This method must be implemented. Duration getTotalTargetIndividualEffort()
mandatory - This method must be implemented. boolean isRecurringWeekly()
true if this activity is recurring,
false otherwisemandatory - This method must be implemented. Duration getWeeklyEffort()
IllegalStateException - isRecurringWeekly()
is false mandatory - This method must be implemented. Duration getWeeklyContactTime()
IllegalStateException - isRecurringWeekly()
is false mandatory - This method must be implemented. Duration getWeeklyIndividualEffort()
IllegalStateException - isRecurringWeekly()
is false mandatory - This method must be implemented. boolean hasLearningObjectives()
true if this activity unit has a learning
objective, false otherwisemandatory - This method must be implemented. IdList getLearningObjectiveIds()
Ids for this
activity unit. Ids of the l earning objectivesIllegalStateException - hasLearningObjectives()
is false mandatory - This method is must be implemented. ObjectiveList getLearningObjectives() throws OperationFailedException
IllegalStateException - hasLearningObjectives()
is false OperationFailedException - unable to complete requestmandatory - This method must be implemented. ActivityUnitRecord getActivityUnitRecord(Type activityUnitRecordType) throws OperationFailedException
ActivityUnit record Type. This method is used
to retrieve an object implementing the requested record. The
activityUnitRecordType may be the Type returned
in getRecordTypes() or any of its parents in a
Type hierarchy where
hasRecordType(activityUnitRecordType) is true .activityUnitRecordType - the type of activity unit record to
retrieveNullArgumentException - activityUnitRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(activityUnitRecordType) is false
mandatory - This method must be implemented.