public interface SignalQuery extends OsidRuleQuery
This is the query for searching signals. 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 |
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 |
clearStateIdTerms()
Clears the state
Id query terms. |
void |
clearStateTerms()
Clears the state query terms.
|
MapQuery |
getMapQuery()
Gets the query for a map.
|
PathQuery |
getPathQuery()
Gets the query for a path.
|
SignalQueryRecord |
getSignalQueryRecord(Type signalRecordType)
Gets the signal query record corresponding to the given
Signal
record Type. |
StateQuery |
getStateQuery()
Gets the query for a state.
|
void |
matchAnyCoordinate(boolean match)
Matches signals that have any coordinate assignment.
|
void |
matchContainingSpatialUnit(SpatialUnit spatialUnit,
boolean match)
Matches signals within the specified
SpatialUnit. |
void |
matchCoordinate(Coordinate coordinate,
boolean match)
Matches signals overlapping with the specified
Coordinate. |
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 |
matchStateId(Id stateId,
boolean match)
Sets the state
Id for this query. |
boolean |
supportsMapQuery()
Tests if a
MapQuery is available. |
boolean |
supportsPathQuery()
Tests if a
PathQuery is available. |
boolean |
supportsStateQuery()
Tests if a
StateQuery is available. |
clearRuleIdTerms, clearRuleTerms, getRuleQuery, matchAnyRule, matchRuleId, supportsRuleQueryclearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, 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 matchAnyCoordinate(boolean match)
match - true to match signals with any
coordinate, false to match signals with no
coordinatesmandatory - 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 matchStateId(Id stateId, boolean match)
Id for this query.matchStateId in interface OsidObjectQuerystateId - the state Id match - true for a positive match, false
for a negative matchNullArgumentException - stateId is
null mandatory - This method must be implemented. void clearStateIdTerms()
Id query terms.clearStateIdTerms in interface OsidObjectQuerymandatory - This method must be implemented. boolean supportsStateQuery()
StateQuery is available.supportsStateQuery in interface OsidObjectQuery true if a state query is available,
false otherwisemandatory - This method must be implemented. StateQuery getStateQuery()
OR term.getStateQuery in interface OsidObjectQueryUnimplementedException - supportsStateQuery()
is false optional - This method must be implemented if
supportsStateQuery() is true. void clearStateTerms()
clearStateTerms in interface OsidObjectQuerymandatory - 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. SignalQueryRecord getSignalQueryRecord(Type signalRecordType) throws OperationFailedException
Signal
record Type. Multiple record retrievals produce
a nested OR term.signalRecordType - a signal record typeNullArgumentException - signalRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(signalRecordType) is false
mandatory - This method must be implemented.