OSID Logo
OSID Specifications
voting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.voting.RaceQueryInspector
Implementsosid.OsidGovernatorQueryInspector
osid.OsidSubjugateableQueryInspector
Description

This is the query inspector for examining race queries.

MethodgetBallotIdTerms
Description

Gets the ballot Id query terms.

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

Gets the ballot query terms.

Returnosid.voting.BallotQueryInspector[]the query terms
CompliancemandatoryThis method must be implemented.
MethodgetCandidateIdTerms
Description

Gets the candidate Id query terms.

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

Gets the candidate query terms.

Returnosid.voting.CandidateQueryInspector[]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.
MethodgetRaceQueryInspectorRecord
Description

Gets the race query inspector record corresponding to the given Race record Type.

Parametersosid.type.TyperaceRecordTypea race record type
Returnosid.voting.records.RaceQueryInspectorRecordthe race query inspector record
ErrorsNULL_ARGUMENT raceRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(raceRecordType) is false
CompliancemandatoryThis method must be implemented.