OSID Logo
OSID Specifications
communication package
Version 3.1.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.TyperesponseOptionRecordType the type of the record to retrieve
Returnosid.communication.records.ResponseOptionRecord the response option record
ErrorsNULL_ARGUMENT responseOptionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(responseOptionRecordType) is false
Compliancemandatory This method must be implemented.