OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationContentForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Used Byosid.installation.InstallationPackageAdminSession
Description

This is the form for creating and updating InstallationContents. Like all OsidForms, various data elements may be set here for use in the create and update methods in the InstallationContentsAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetDataMetadata
Description

Gets the metadata for the content data.

Returnosid.Metadata metadata for the content data
Compliancemandatory This method must be implemented.
MethodsetData
Description

Sets the content data.

Parametersosid.transport.DataInputStreamdata the content data
ErrorsINVALID_ARGUMENT data is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT data is null
Compliancemandatory This method must be implemented.
MethodclearData
Description

Removes the content data.

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

Gets the InstallationContentFormRecord corresponding to the given installation content record Type.

Parametersosid.type.TypeinstallationContentRecordType the installation content record type
Returnosid.installation.records.InstallationContentFormRecord the installation content form record
ErrorsNULL_ARGUMENT installationContentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(installationContentRecordType) is false
Compliancemandatory This method must be implemented.