OSID Logo
OSID Specifications
type package
Version 3.0.0
Release Candidate Preview
Interfaceosid.type.TypeForm
Implementsosid.OsidForm
Description

This form provides a means of updating various fields in the Type. Note that the domain, authority and identifier are part of the Type identification, and as such not modifiable.

MethodgetDisplayNameMetadata
Description

Gets the metadata for the display name.

Returnosid.Metadatametadata for the display name
CompliancemandatoryThis method must be implemented.
MethodsetDisplayName
Description

Sets a display name.

ParametersstringdisplayNamethe new display name
ErrorsINVALID_ARGUMENT displayName is invalid
NO_ACCESS displayName cannot be modified
NULL_ARGUMENT displayName is null
CompliancemandatoryThis method must be implemented.
MethodclearDisplayName
Description

Clears the display name.

ErrorsNO_ACCESS displayName cannot be modified
CompliancemandatoryThis method must be implemented.
MethodgetDisplayLabelMetadata
Description

Gets the metadata for the display label.

Returnosid.Metadatametadata for the display label
CompliancemandatoryThis method must be implemented.
MethodsetDisplayLabel
Description

Seta a display label.

ParametersstringdisplayLabelthe new display label
ErrorsINVALID_ARGUMENT displayLabel is invalid
NO_ACCESS displayLabel cannot be modified
NULL_ARGUMENT displayLabel is null
CompliancemandatoryThis method must be implemented.
MethodclearDisplayLabel
Description

Clears the display label.

ErrorsNO_ACCESS displayLabel cannot be modified
CompliancemandatoryThis method must be implemented.
MethodgetDescriptionMetadata
Description

Gets the metadata for the description.

Returnosid.Metadatametadata for the description
CompliancemandatoryThis method must be implemented.
MethodsetDescription
Description

Sets a description.

Parametersstringdescriptionthe new description
ErrorsINVALID_ARGUMENT description is invalid
NO_ACCESS description cannot be modified
NULL_ARGUMENT description is null
CompliancemandatoryThis method must be implemented.
MethodclearDescription
Description

Clears the description.

ErrorsNO_ACCESS description cannot be modified
CompliancemandatoryThis method must be implemented.
MethodgetDomainMetadata
Description

Gets the metadata for the domain.

Returnosid.Metadatametadata for the domain
CompliancemandatoryThis method must be implemented.
MethodsetDomain
Description

Sets a domain.

Parametersstringdomainthe new domain
ErrorsINVALID_ARGUMENT domain is invalid
NO_ACCESS domain cannot be modified
NULL_ARGUMENT domain is null
CompliancemandatoryThis method must be implemented.
MethodclearDomain
Description

Clears the domain.

ErrorsNO_ACCESS domain cannot be modified
CompliancemandatoryThis method must be implemented.