OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.BallotConstrainerForm
Implementsosid.OsidConstrainerForm
Used Byosid.voting.rules.BallotConstrainerAdminSession
Description

This is the form for creating and updating BallotConstrainers.Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the BallotConstrainerAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetBallotConstrainerFormRecord
Description

Gets the BallotConstrainerFormRecord corresponding to the given ballot constrainer record Type.

Parametersosid.type.TypeballotConstrainerRecordType a ballot constrainer record type
Returnosid.voting.rules.records.BallotConstrainerFormRecord the ballot constrainer form record
ErrorsNULL_ARGUMENT ballotConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(ballotConstrainerRecordType) is false
Compliancemandatory This method must be implemented.