public interface QuestionForm extends OsidObjectForm
This is the form for creating and updating Questions.
Modifier and Type | Method and Description |
---|---|
QuestionFormRecord |
getQuestionFormRecord(Type questionRecordType)
Gets the
QuestionFormRecord corresponding to the given
question record Type. |
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
QuestionFormRecord getQuestionFormRecord(Type questionRecordType) throws OperationFailedException
QuestionFormRecord
corresponding to the given
question record Type.
questionRecordType
- the question record typeNullArgumentException
- questionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(questionRecordType)
is false
mandatory
- This method must be implemented.