OSID Logo
OSID Specifications
repository package
Version 3.1.0
Interfaceosid.repository.Composition
Implementsosid.OsidObject
osid.Containable
osid.Operable
osid.Sourceable
Used Byosid.repository.Asset
osid.repository.CompositionAdminSession
osid.repository.CompositionList
osid.repository.CompositionLookupSession
Description

A Composition represents an authenticatable identity. Like all OSID objects, a Composition is identified by its Id and any persisted references should use the Id.

MethodgetChildrenIds
Description

Gets the child Ids of this composition.

Returnosid.id.IdList the composition child Ids
Compliancemandatory This method must be implemented.
MethodgetChildren
Description

Gets the children of this composition.

Returnosid.repository.CompositionList the composition children
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetCompositionRecord
Description

Gets the composition record corresponding to the given Composition record Type. This method is used to retrieve an object implementing the requested record. The compositionRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(compositionRecordType) is true.

Parametersosid.type.TypecompositionRecordType a composition record type
Returnosid.repository.records.CompositionRecord the composition record
ErrorsNULL_ARGUMENT compositionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(compositionRecordType) is false
Compliancemandatory This method must be implemented.