OSID Logo
OSID Specifications
profile package
Version 3.0.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.TypeprofileItemRecordTypethe type of the record to retrieve
Returnosid.profile.records.ProfileItemRecordthe profile item record
ErrorsNULL_ARGUMENTprofileItemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(profileItemRecordType) is false
CompliancemandatoryThis method must be implemented.