OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.RaceConstrainerForm
Implementsosid.OsidConstrainerForm
Description

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

MethodgetRaceConstrainerFormRecord
Description

Gets the RaceConstrainerFormRecord corresponding to the given race constrainer record Type.

Parametersosid.type.TyperaceConstrainerRecordTypea race constrainer record type
Returnosid.voting.rules.records.RaceConstrainerFormRecordthe race constrainer form record
ErrorsNULL_ARGUMENT raceConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(raceConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.