OSID Logo
OSID Specifications
mapping path rules package
Version 3.1.0
Interfaceosid.mapping.path.rules.SpeedZoneEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.mapping.path.rules.SpeedZoneEnablerQuerySession
osid.mapping.path.rules.SpeedZoneEnablerSearchSession
osid.mapping.path.rules.SpeedZoneEnablerSmartMapSession
Description

This is the query for searching speed zone enablers. Each method match specifies a AND term while multiple invocations of the same method produce a nested OR.

MethodmatchRuledSpeedZoneId
Description

Matches enablers mapped to the speed zone.

Parametersosid.id.IdspeedZoneId the speed zone Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT speedZoneId is null
Compliancemandatory This method must be implemented.
MethodclearRuledSpeedZoneIdTerms
Description

Clears the speed zone Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledSpeedZoneQuery
Description

Tests if a SpeedZoneQuery is available.

Returnboolean true if a speed zone query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledSpeedZoneQuery
Description

Gets the query for a speed zone. Multiple retrievals produce a nested OR term.

Returnosid.mapping.path.SpeedZoneQuery the speed zone query
ErrorsUNIMPLEMENTED supportsRuledSpeedZoneQuery() is false
Complianceoptional This method must be implemented if supportsRuledSpeedZoneQuery() is true.
MethodmatchAnyRuledSpeedZone
Description

Matches enablers mapped to any speed zone.

Parametersbooleanmatch true for enablers mapped to any speed zone, false to match enablers mapped to no speed zones
Compliancemandatory This method must be implemented.
MethodclearRuledSpeedZoneTerms
Description

Clears the speed zone query terms.

Compliancemandatory This method must be implemented.
MethodmatchMapId
Description

Matches enablers mapped to the map.

Parametersosid.id.IdmapId the map Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT mapId is null
Compliancemandatory This method must be implemented.
MethodclearMapIdTerms
Description

Clears the map Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsMapQuery
Description

Tests if a MapQuery is available.

Returnboolean true if a map query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetMapQuery
Description

Gets the query for a map. Multiple retrievals produce a nested OR term.

Returnosid.mapping.MapQuery the map query
ErrorsUNIMPLEMENTED supportsMapQuery() is false
Complianceoptional This method must be implemented if supportsMapQuery() is true.
MethodclearMapTerms
Description

Clears the map query terms.

Compliancemandatory This method must be implemented.
MethodgetSpeedZoneEnablerQueryRecord
Description

Gets the speed zone enabler query record corresponding to the given SpeedZoneEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypespeedZoneEnablerRecordType a speed zone enabler record type
Returnosid.mapping.path.rules.records.SpeedZoneEnablerQueryRecord the speed zone enabler query record
ErrorsNULL_ARGUMENT speedZoneEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(speedZoneEnablerRecordType) is false
Compliancemandatory This method must be implemented.