OSID Logo
OSID Specifications
communication package
Version 3.0.0
Interfaceosid.communication.ResponseOption
Implementsosid.OsidObject
Used Byosid.communication.Communique
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_ARGUMENTresponseOptionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(responseOptionRecordType) is false
CompliancemandatoryThis method must be implemented.