public interface ProfileItem extends OsidObject
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.
Modifier and Type | Method and Description |
---|---|
ProfileItemRecord |
getProfileItemRecord(Type profileItemRecordType)
Gets the profile item record corresponding to the given
ProfileItem record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
ProfileItemRecord getProfileItemRecord(Type profileItemRecordType) throws OperationFailedException
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
.profileItemRecordType
- the type of the record to retrieveNullArgumentException
- profileItemRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(profileItemRecordType)
is false
mandatory
- This method must be implemented.