public interface EntryForm extends OsidObjectForm
This is the form for creating and updating an Entry.
Like all OsidForm
objects, various data elements may be set
here for use in the create and update methods in the
EntryAdminSession.
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 |
clearValue()
Removes the value.
|
EntryFormRecord |
getEntryFormRecord(Type entryRecordType)
Gets the
EntryFormRecord corresponding to the given
entry record Type. |
Metadata |
getValueMetadata()
Gets the metadata for the vakue.
|
void |
setValue(java.lang.Object value)
Sets the value.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
Metadata getValueMetadata()
mandatory
- This method must be implemented. void setValue(java.lang.Object value)
value
- the valueInvalidArgumentException
- value
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- value
is
null
mandatory
- This method must be implemented. void clearValue()
NoAccessException
- Metadata.isRequired()
is true
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. EntryFormRecord getEntryFormRecord(Type entryRecordType) throws OperationFailedException
EntryFormRecord
corresponding to the given
entry record Type.
entryRecordType
- an entry record typeNullArgumentException
- entryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(entryRecordType)
is false
mandatory
- This method must be implemented.