OSID Logo
OSID Specifications
voting rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.rules.RaceConstrainerEnablerQueryInspector
Implementsosid.OsidEnablerQueryInspector
Description

This is the query inspector for examining race constrainer enabler queries.

MethodgetRuledRaceConstrainerIdTerms
Description

Gets the race constrainer Id query terms.

Returnosid.search.terms.IdTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetRuledRaceConstrainerTerms
Description

Gets the race constrainer query terms.

Returnosid.voting.rules.RaceConstrainerQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetPollsIdTerms
Description

Gets the polls Id query terms.

Returnosid.search.terms.IdTerm[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetPollsTerms
Description

Gets the polls query terms.

Returnosid.voting.PollsQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetRaceConstrainerEnablerQueryInspectorRecord
Description

Gets the race constrainer enabler query inspector record corresponding to the given RaceConstrainerEnabler record Type.

Parametersosid.type.TyperaceConstrainerEnablerRecordTypea race constrainer enabler record type
Returnosid.voting.rules.records.RaceConstrainerEnablerQueryInspectorRecordthe race constrainer enabler query inspector record
ErrorsNULL_ARGUMENT raceConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(raceConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.