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

A RaceConstrainerEnabler describes the rules for making a RaceConstrainer effective.

MethodgetRaceConstrainerEnablerRecord
Description

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

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