OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.RaceConstrainerEnabler
Implementsosid.OsidEnabler
Used Byosid.voting.rules.RaceConstrainerEnablerAdminSession
osid.voting.rules.RaceConstrainerEnablerList
osid.voting.rules.RaceConstrainerEnablerLookupSession
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.TyperaceConstrainerEnablerRecordType the type of race constrainer enabler record to retrieve
Returnosid.voting.rules.records.RaceConstrainerEnablerRecord the race constrainer enabler record
ErrorsNULL_ARGUMENT raceConstrainerEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(raceConstrainerEnablerRecordType) is false
Compliancemandatory This method must be implemented.