OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.RaceConstrainer
Implementsosid.OsidConstrainer
Used Byosid.voting.rules.RaceConstrainerAdminSession
osid.voting.rules.RaceConstrainerList
osid.voting.rules.RaceConstrainerLookupSession
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.TyperaceConstrainerRecordType the type of race constrainer record to retrieve
Returnosid.voting.rules.records.RaceConstrainerRecord the race constrainer record
ErrorsNULL_ARGUMENT raceConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(raceConstrainerRecordType) is false
Compliancemandatory This method must be implemented.