public interface SubjectForm extends OsidObjectForm, OsidFederateableForm
This is the form for creating and updating Subjects.
Like all OsidForm
objects, various data elements may be set
here for use in the create and update methods in the
SubjectAdminSession.
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 |
---|---|
SubjectFormRecord |
getSubjectFormRecord(Type subjectRecordType)
Gets the
SubjectFormRecord corresponding to the given
subject 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
SubjectFormRecord getSubjectFormRecord(Type subjectRecordType) throws OperationFailedException
SubjectFormRecord
corresponding to the given
subject record Type.
subjectRecordType
- the subject record typeNullArgumentException
- subjectRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(subjectRecordType)
is false
mandatory
- This method must be implemented.