OSID Logo
OSID Specifications
profile package
Version 3.0.0
Release Candidate Preview
Interfaceosid.profile.ProfileItem
Implementsosid.OsidObject
Description

A ProfileItem represents an item in a profile. Like all OSID objects, a ProfileItem is identified by its Id and any persisted references should use the Id.

MethodgetProfileItemRecord
Description

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

Parametersosid.type.TypeprofileItemRecordTypethe type of the record to retrieve
Returnosid.profile.records.ProfileItemRecordthe profile item record
ErrorsNULL_ARGUMENT profileItemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(profileItemRecordType) is false
CompliancemandatoryThis method must be implemented.