OSID Logo
OSID Specifications
dictionary package
Version 3.1.0
Interfaceosid.dictionary.EntryForm
Implementsosid.OsidObjectForm
Implemented Byosid.dictionary.batch.EntryBatchForm
Used Byosid.dictionary.EntryAdminSession
Description

This is the form for creating and updating an Entry. Like all OsidForm s, 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.

MethodgetValueMetadata
Description

Gets the metadata for the vakue.

Returnosid.Metadata metadata for the value
Compliancemandatory This method must be implemented.
MethodsetValue
Description

Sets the value.

Parametersobjectvalue the value
ErrorsINVALID_ARGUMENT value is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodclearValue
Description

Removes the value.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetEntryFormRecord
Description

Gets the EntryFormRecord corresponding to the given entry record Type.

Parametersosid.type.TypeentryRecordType an entry record type
Returnosid.dictionary.records.EntryFormRecord the entry form record
ErrorsNULL_ARGUMENT entryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(entryRecordType) is false
Compliancemandatory This method must be implemented.