OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.RaceProcessorQueryInspector
Implementsosid.OsidProcessorQueryInspector
Used Byosid.voting.rules.RaceProcessorEnablerQueryInspector
osid.voting.rules.RaceProcessorSearchResults
osid.voting.rules.RaceProcessorSmartPollsSession
Description

This is the query inspector for examining race processor queries.

MethodgetMaximumWinnersTerms
Description

Gets the maximum winners query terms.

Returnosid.search.terms.CardinalRangeTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetMinimumPercentageToWinTerms
Description

Gets the minimum percentage to win query terms.

Returnosid.search.terms.CardinalRangeTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetMinimumVotesToWinTerms
Description

Gets the minimum votes to win query terms.

Returnosid.search.terms.CardinalRangeTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetRuledRaceIdTerms
Description

Gets the race Id query terms.

Returnosid.search.terms.IdTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetRuledRaceTerms
Description

Gets the race query terms.

Returnosid.voting.RaceQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetPollsIdTerms
Description

Gets the polls Id query terms.

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

Gets the polls query terms.

Returnosid.voting.PollsQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetRaceProcessorQueryInspectorRecord
Description

Gets the race processor query inspector record corresponding to the given RaceProcessor record Type.

Parametersosid.type.TyperaceProcessorRecordType a race processor record type
Returnosid.voting.rules.records.RaceProcessorQueryInspectorRecord the race processor query inspector record
ErrorsNULL_ARGUMENT raceProcessorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(raceProcessorRecordType) is false
Compliancemandatory This method must be implemented.