OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Interfaceosid.voting.rules.BallotConstrainer
Implementsosid.OsidConstrainer
Used Byosid.voting.rules.BallotConstrainerAdminSession
osid.voting.rules.BallotConstrainerList
osid.voting.rules.BallotConstrainerLookupSession
Description

A BallotConstrainer describes the rules for constraining the resources in a ballot.

MethodgetBallotConstrainerRecord
Description

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

Parametersosid.type.TypeballotConstrainerRecordTypethe type of ballot constrainer record to retrieve
Returnosid.voting.rules.records.BallotConstrainerRecordthe ballot constrainer record
ErrorsNULL_ARGUMENTballotConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(ballotConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.