OSID Logo
OSID Specifications
repository package
Version 3.0.0
Release Candidate Preview
Interfaceosid.repository.Composition
Implementsosid.OsidObject
osid.Containable
osid.Operable
osid.Sourceable
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.IdListthe composition child Ids
CompliancemandatoryThis method must be implemented.
MethodgetChildren
Description

Gets the children of this composition.

Returnosid.repository.CompositionListthe composition children
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis 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.TypecompositionRecordTypea composition record type
Returnosid.repository.records.CompositionRecordthe composition record
ErrorsNULL_ARGUMENT compositionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(compositionRecordType) is false
CompliancemandatoryThis method must be implemented.