OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.RaceConstrainer
Implementsosid.OsidConstrainer
Description

A RaceConstrainer describes the rules for constraining the voting requests in a race.

MethodgetRaceConstrainerRecord
Description

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

Parametersosid.type.TyperaceConstrainerRecordTypethe type of race constrainer record to retrieve
Returnosid.voting.rules.records.RaceConstrainerRecordthe race constrainer record
ErrorsNULL_ARGUMENT raceConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(raceConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.