OSID Logo
OSID Specifications
course program package
Version 3.1.0
Interfaceosid.course.program.Credential
Implementsosid.OsidObject
Used Byosid.course.chronicle.CredentialEntry
osid.course.program.CredentialAdminSession
osid.course.program.CredentialList
osid.course.program.CredentialLookupSession
osid.course.requisite.CredentialRequirement
Description

A Credential represents something awarded at program completion.

MethodhasLifeTime
Description

Tests if this credential has a limited lifetime.

Returnboolean true if this credential expires, false if permanent
Compliancemandatory This method is must be implemented.
MethodgetLifetime
Description

Gets the lifetime of this credential once awarded.

Returnosid.calendaring.Duration the lifetime
ErrorsILLEGAL_STATE hasLifetime() is false
Compliancemandatory This method must be implemented.
MethodgetCredentialRecord
Description

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

Parametersosid.type.TypecredentialRecordType the type of credential record to retrieve
Returnosid.course.program.records.CredentialRecord the credential record
ErrorsNULL_ARGUMENT credentialRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(credentialRecordType) is false
Compliancemandatory This method must be implemented.