OSID Logo
OSID Specifications
voting rules package
Version 3.0.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.TyperaceConstrainerRecordTypethe type of race constrainer record to retrieve
Returnosid.voting.rules.records.RaceConstrainerRecordthe race constrainer record
ErrorsNULL_ARGUMENTraceConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(raceConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.