OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Interfaceosid.voting.rules.BallotConstrainerEnabler
Implementsosid.OsidEnabler
Used Byosid.voting.rules.BallotConstrainerEnablerAdminSession
osid.voting.rules.BallotConstrainerEnablerList
osid.voting.rules.BallotConstrainerEnablerLookupSession
Description

A BallotConstrainerEnabler describes the rules for making a BallotConstrainer effective.

MethodgetBallotConstrainerEnablerRecord
Description

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

Parametersosid.type.TypeballotConstrainerEnablerRecordTypethe type of ballot constrainer enabler record to retrieve
Returnosid.voting.rules.records.BallotConstrainerEnablerRecordthe ballot constrainer enabler record
ErrorsNULL_ARGUMENTballotConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(ballotConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.