OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.RaceProcessorEnabler
Implementsosid.OsidEnabler
Description

A RaceProcessorEnabler describes the rules for making a RaceProcessor effective.

MethodgetRaceProcessorEnablerRecord
Description

Gets the race processor enabler record corresponding to the given RaceProcessorEnabler record Type. This method is used to retrieve an object implementing the requested record. The raceProcessorEnablerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(raceProcessorEnablerRecordType) is true .

Parametersosid.type.TyperaceProcessorEnablerRecordTypethe type of race processor enabler record to retrieve
Returnosid.voting.rules.records.RaceProcessorEnablerRecordthe race processor enabler record
ErrorsNULL_ARGUMENT raceProcessorEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(raceProcessorEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.