OSID Logo
OSID Specifications
voting rules package
Version 3.1.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.TypeballotConstrainerRecordType the type of ballot constrainer record to retrieve
Returnosid.voting.rules.records.BallotConstrainerRecord the ballot constrainer record
ErrorsNULL_ARGUMENT ballotConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(ballotConstrainerRecordType) is false
Compliancemandatory This method must be implemented.