OSID Logo
OSID Specifications
id package
Version 3.0.0
Release Candidate Preview
Interfaceosid.id.IdForm
Implementsosid.OsidForm
Description

This form provides a means of creating an Id.

MethodgetAuthorityMetadata
Description

Gets the metadata for the authority.

Returnosid.Metadatametadata for the authority
CompliancemandatoryThis method must be implemented.
MethodsetAuthority
Description

Sets the authority.

Parametersstringauthoritythe authority
ErrorsINVALID_ARGUMENT authority is invalid
NO_ACCESS authority cannot be modified
NULL_ARGUMENT authority is null
CompliancemandatoryThis method must be implemented.
MethodclearAuthority
Description

Clears the authority.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetIdentifierNamespaceMetadata
Description

Gets the metadata for the identifier namespace.

Returnosid.Metadatametadata for the namespace
CompliancemandatoryThis method must be implemented.
MethodsetIdentifierNamespace
Description

Seta the identifier namespace.

Parametersstringnamespacethe namespace
ErrorsINVALID_ARGUMENT namespace is invalid
NO_ACCESS namespace cannot be modified
NULL_ARGUMENT namespace is null
CompliancemandatoryThis method must be implemented.
MethodclearIdentifierNamespace
Description

Clears the identifier namespace.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetIdentifierPrefixMetadata
Description

Gets the metadata for the identifier prefix.

Returnosid.Metadatametadata for the prefix
CompliancemandatoryThis method must be implemented.
MethodsetIdentifierPrefix
Description

Seta the identifier prefix. An identifier will be generated with this prefix.

Parametersstringprefixthe prefix
ErrorsINVALID_ARGUMENT prefix is invalid
NO_ACCESS prefix cannot be modified
NULL_ARGUMENT prefix is null
CompliancemandatoryThis method must be implemented.
MethodclearIdentifierPrefix
Description

Clears the identifier prefix.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetIdentifierSuffixMetadata
Description

Gets the metadata for the identifier suffix.

Returnosid.Metadatametadata for the suffix
CompliancemandatoryThis method must be implemented.
MethodsetIdentifierSuffix
Description

Seta the identifier prefix. An identifier will be generated with this suffix.

Parametersstringsuffixthe suffix
ErrorsINVALID_ARGUMENT suffix is invalid
NO_ACCESS suffix cannot be modified
NULL_ARGUMENT suffix is null
CompliancemandatoryThis method must be implemented.
MethodclearIdentifierSuffix
Description

Clears the identifier suffix.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetIdentifierMetadata
Description

Gets the metadata for the identifier.

Returnosid.Metadatametadata for the identifier
CompliancemandatoryThis method must be implemented.
MethodsetIdentifier
Description

Seta the identifier.

Parametersstringidentifierthe identifier
ErrorsINVALID_ARGUMENT identifier is invalid
NO_ACCESS identifier cannot be modified
NULL_ARGUMENT identifier is null
CompliancemandatoryThis method must be implemented.
MethodclearIdentifier
Description

Clears the identifier.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.