public interface SpeedZoneQuery extends OsidRuleQuery
This is the query for searching speed zones. Each method match
specifies an AND term while multiple invocations of the
same method produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearContainingSpatialUnitTerms()
Clears the spatial unit terms.
|
void |
clearCoordinateTerms()
Clears the coordinate query terms.
|
void |
clearImplicitTerms()
Clears the implicit query terms.
|
void |
clearMapIdTerms()
Clears the map
Id query terms. |
void |
clearMapTerms()
Clears the map query terms.
|
void |
clearPathIdTerms()
Clears the path
Id query terms. |
void |
clearPathTerms()
Clears the path query terms.
|
void |
clearSpeedLimitTerms()
Clears the speed limit query terms.
|
MapQuery |
getMapQuery()
Gets the query for a map.
|
PathQuery |
getPathQuery()
Gets the query for a path.
|
SpeedZoneQueryRecord |
getSpeedZoneQueryRecord(Type speedZoneRecordType)
Gets the speed zone query record corresponding to the given
SpeedZone record Type. |
void |
matchAnySpeedLimit(boolean match)
Matches speed zones with any speed limit set.
|
void |
matchContainingSpatialUnit(SpatialUnit spatialUnit,
boolean match)
Matches speed zones within the specified
SpatialUnit. |
void |
matchCoordinate(Coordinate coordinate,
boolean match)
Matches speed zones overlapping with the specified
Coordinate. |
void |
matchImplicit(boolean match)
Matches implicitly defined speed zones.
|
void |
matchMapId(Id mapId,
boolean match)
Sets the map
Id for this query. |
void |
matchPathId(Id pathId,
boolean match)
Sets the path
Id for this query to match speed zones
along the given path. |
void |
matchSpeedLimit(Speed from,
Speed to,
boolean match)
Matches speed zones with speed limite within the given range
inclusive.
|
boolean |
supportsMapQuery()
Tests if a
MapQuery is available. |
boolean |
supportsPathQuery()
Tests if a
PathQuery is available. |
clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyRule, matchRuleId, supportsRuleQueryclearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalvoid matchPathId(Id pathId, boolean match)
Id for this query to match speed zones
along the given path.pathId - the path Id match - true for a positive match, false
for a negative matchNullArgumentException - pathId is
null mandatory - This method must be implemented. void clearPathIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsPathQuery()
PathQuery is available. true if a path query is available, false
otherwisemandatory - This method must be implemented. PathQuery getPathQuery()
OR term.UnimplementedException - supportsPathQuery()
is false optional - This method must be implemented if
supportsPathQuery() is true. void clearPathTerms()
mandatory - This method must be implemented. void matchCoordinate(Coordinate coordinate, boolean match)
Coordinate.
coordinate - a coordinatematch - true for a positive match, false
for a negative matchNullArgumentException - coordinate is
null mandatory - This method must be implemented. void clearCoordinateTerms()
mandatory - This method must be implemented. void matchContainingSpatialUnit(SpatialUnit spatialUnit, boolean match)
SpatialUnit. spatialUnit - a spatial unitmatch - true for a positive match, false
for a negative matchNullArgumentException - spatialUnit is
null mandatory - This method must be implemented. void clearContainingSpatialUnitTerms()
mandatory - This method must be implemented. void matchImplicit(boolean match)
match - true to match implicit speed zones with
any boundary, false otherwisemandatory - This method must be implemented. void clearImplicitTerms()
mandatory - This method must be implemented. void matchSpeedLimit(Speed from, Speed to, boolean match)
from - starting speed rangeto - ending speed rangematch - true for a positive match, false
for a negative matchNullArgumentException - from or
to is null mandatory - This method must be implemented. void matchAnySpeedLimit(boolean match)
match - true to match implicit speed zones with
any speed limit, false otherwisemandatory - This method must be implemented. void clearSpeedLimitTerms()
mandatory - This method must be implemented. void matchMapId(Id mapId, boolean match)
Id for this query.mapId - the map Id match - true for a positive match, false
for a negative matchNullArgumentException - mapId is
null mandatory - This method must be implemented. void clearMapIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsMapQuery()
MapQuery is available. true if a map query is available, false
otherwisemandatory - This method must be implemented. MapQuery getMapQuery()
OR term.UnimplementedException - supportsMapQuery()
is false optional - This method must be implemented if
supportsMapQuery() is true. void clearMapTerms()
mandatory - This method must be implemented. SpeedZoneQueryRecord getSpeedZoneQueryRecord(Type speedZoneRecordType) throws OperationFailedException
SpeedZone record Type. Multiple record
retrievals produce a nested OR term.speedZoneRecordType - a speed zone record typeNullArgumentException - speedZoneRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(speedZoneRecordType) is false
mandatory - This method must be implemented.