OSID Logo
OSID Specifications
voting rules package
Version 3.1.0
Interfaceosid.voting.rules.RaceConstrainerQueryInspector
Implementsosid.OsidConstrainerQueryInspector
Used Byosid.voting.rules.RaceConstrainerEnablerQueryInspector
osid.voting.rules.RaceConstrainerSearchResults
osid.voting.rules.RaceConstrainerSmartPollsSession
Description

This is the query inspector for examining race constrainer queries.

Like all OsidQueryInspectors, RaceConstrainerQueryInspector is stateful and must not be accessed by multiple processing threads.

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.
MethodgetRaceConstrainerQueryInspectorRecord
Description

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

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