OSID Logo
OSID Specifications
profile package
Version 3.1.0
Interfaceosid.profile.ProfileItem
Implementsosid.OsidObject
Used Byosid.profile.ProfileEntry
osid.profile.ProfileItemAdminSession
osid.profile.ProfileItemList
osid.profile.ProfileItemLookupSession
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.TypeprofileItemRecordType the type of the record to retrieve
Returnosid.profile.records.ProfileItemRecord the profile item record
ErrorsNULL_ARGUMENT profileItemRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(profileItemRecordType) is false
Compliancemandatory This method must be implemented.