OSID Logo
OSID Specifications
voting rules package
Version 3.0.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.TypeballotConstrainerRecordTypea ballot constrainer record type
Returnosid.voting.rules.records.BallotConstrainerFormRecordthe ballot constrainer form record
ErrorsNULL_ARGUMENTballotConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(ballotConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.