public interface LearningObjectiveRequirementForm extends OsidRuleForm, OsidAggregateableForm
This is the form for creating and updating
LearningObjectiveRequirements.
Like all OsidForm
objects, various data elements may be set here for use in the create and
update methods in the RequisiteAdminSession.
For each data
element that may be set, metadata may be examined to provide display hints
or data constraints.
Modifier and Type | Method and Description |
---|---|
void |
clearMinimumProficiency()
Clears the minimum proficiency grade.
|
LearningObjectiveRequirementFormRecord |
getLearningObjectiveRequirementFormRecord(Type learningObectiveRequirementRecordType)
Gets the
LearningObjectiveRequirementFormRecord
corresponding to the given learning obective requirement record
Type. |
Metadata |
getMinimumProficiencyMetadata()
Gets the metadata for the minimum proficiency grade.
|
void |
setMinimumProficiency(Id gradeId)
Sets the minimum proficiency grade.
|
clearRule, getRuleMetadata, setRule
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabled
Metadata getMinimumProficiencyMetadata()
mandatory
- This method must be implemented. void setMinimumProficiency(Id gradeId)
gradeId
- the new proficiencyInvalidArgumentException
- gradeId
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- gradeId
is
null
mandatory
- This method must be implemented. void clearMinimumProficiency()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. LearningObjectiveRequirementFormRecord getLearningObjectiveRequirementFormRecord(Type learningObectiveRequirementRecordType) throws OperationFailedException
LearningObjectiveRequirementFormRecord
corresponding to the given learning obective requirement record
Type.
learningObectiveRequirementRecordType
- a learning obective
requirement record typeNullArgumentException
-
learningObectiveRequirementRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(learningObectiveRequirementRecordType)
is false
mandatory
- This method must be implemented.