OSID Logo
OSID Specifications
id package
Version 3.1.0
Interfaceosid.id.IdForm
Implementsosid.OsidForm
Used Byosid.id.IdAdminSession
Description

This form provides a means of creating an Id.

MethodgetAuthorityMetadata
Description

Gets the metadata for the authority.

Returnosid.Metadata metadata for the authority
Compliancemandatory This method must be implemented.
MethodsetAuthority
Description

Sets the authority.

Parametersstringauthority the authority
ErrorsINVALID_ARGUMENT authority is invalid
NO_ACCESS authority cannot be modified
NULL_ARGUMENT authority is null
Compliancemandatory This method must be implemented.
MethodclearAuthority
Description

Clears the authority.

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

Gets the metadata for the identifier namespace.

Returnosid.Metadata metadata for the namespace
Compliancemandatory This method must be implemented.
MethodsetIdentifierNamespace
Description

Seta the identifier namespace.

Parametersstringnamespace the namespace
ErrorsINVALID_ARGUMENT namespace is invalid
NO_ACCESS namespace cannot be modified
NULL_ARGUMENT namespace is null
Compliancemandatory This method must be implemented.
MethodclearIdentifierNamespace
Description

Clears the identifier namespace.

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

Gets the metadata for the identifier prefix.

Returnosid.Metadata metadata for the prefix
Compliancemandatory This method must be implemented.
MethodsetIdentifierPrefix
Description

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

Parametersstringprefix the prefix
ErrorsINVALID_ARGUMENT prefix is invalid
NO_ACCESS prefix cannot be modified
NULL_ARGUMENT prefix is null
Compliancemandatory This method must be implemented.
MethodclearIdentifierPrefix
Description

Clears the identifier prefix.

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

Gets the metadata for the identifier suffix.

Returnosid.Metadata metadata for the suffix
Compliancemandatory This method must be implemented.
MethodsetIdentifierSuffix
Description

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

Parametersstringsuffix the suffix
ErrorsINVALID_ARGUMENT suffix is invalid
NO_ACCESS suffix cannot be modified
NULL_ARGUMENT suffix is null
Compliancemandatory This method must be implemented.
MethodclearIdentifierSuffix
Description

Clears the identifier suffix.

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

Gets the metadata for the identifier.

Returnosid.Metadata metadata for the identifier
Compliancemandatory This method must be implemented.
MethodsetIdentifier
Description

Seta the identifier.

Parametersstringidentifier the identifier
ErrorsINVALID_ARGUMENT identifier is invalid
NO_ACCESS identifier cannot be modified
NULL_ARGUMENT identifier is null
Compliancemandatory This method must be implemented.
MethodclearIdentifier
Description

Clears the identifier.

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