public interface AnswerForm extends OsidObjectForm
This is the form for creating and updating Answers.
Modifier and Type | Method and Description |
---|---|
AnswerFormRecord |
getAnswerFormRecord(Type answerRecordType)
Gets the
AnswerFormRecord corresponding to the given
answer 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
AnswerFormRecord getAnswerFormRecord(Type answerRecordType) throws OperationFailedException
AnswerFormRecord
corresponding to the given
answer record Type.
answerRecordType
- the answer record typeNullArgumentException
- answerRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(answerRecordType)
is false
mandatory
- This method must be implemented.