OSID Logo
OSID Specifications
communication package
Version 3.0.0
Release Candidate Preview
Interfaceosid.communication.ResponseOption
Implementsosid.OsidObject
Description

A response option. The option may be labeled in the display name and described using the description.

MethodgetResponseOptionRecord
Description

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

Parametersosid.type.TyperesponseOptionRecordTypethe type of the record to retrieve
Returnosid.communication.records.ResponseOptionRecordthe response option record
ErrorsNULL_ARGUMENT responseOptionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(responseOptionRecordType) is false
CompliancemandatoryThis method must be implemented.