Interface SpeedZoneEnablerQuery

All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidEnablerQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, OsidRuleQuery, OsidTemporalQuery, Suppliable

public interface SpeedZoneEnablerQuery extends OsidEnablerQuery

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 .

  • Method Details

    • matchRuledSpeedZoneId

      void matchRuledSpeedZoneId(Id speedZoneId, boolean match)
      Matches enablers mapped to the speed zone.
      Parameters:
      speedZoneId - the speed zone Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - speedZoneId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledSpeedZoneIdTerms

      void clearRuledSpeedZoneIdTerms()
      Clears the speed zone Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsRuledSpeedZoneQuery

      boolean supportsRuledSpeedZoneQuery()
      Tests if a SpeedZoneQuery is available.
      Returns:
      true if a speed zone query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getRuledSpeedZoneQuery

      SpeedZoneQuery getRuledSpeedZoneQuery()
      Gets the query for a speed zone. Multiple retrievals produce a nested OR term.
      Returns:
      the speed zone query
      Throws:
      UnimplementedException - supportsRuledSpeedZoneQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRuledSpeedZoneQuery()} is {@code true} .
    • matchAnyRuledSpeedZone

      void matchAnyRuledSpeedZone(boolean match)
      Matches enablers mapped to any speed zone.
      Parameters:
      match - true for enablers mapped to any speed zone, false to match enablers mapped to no speed zones
      Compliance:
      mandatory - This method must be implemented.
    • clearRuledSpeedZoneTerms

      void clearRuledSpeedZoneTerms()
      Clears the speed zone query terms.
      Compliance:
      mandatory - This method must be implemented.
    • matchMapId

      void matchMapId(Id mapId, boolean match)
      Matches enablers mapped to the map.
      Parameters:
      mapId - the map Id
      match - true for a positive match, false for a negative match
      Throws:
      NullArgumentException - mapId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearMapIdTerms

      void clearMapIdTerms()
      Clears the map Id query terms.
      Compliance:
      mandatory - This method must be implemented.
    • supportsMapQuery

      boolean supportsMapQuery()
      Tests if a MapQuery is available.
      Returns:
      true if a map query is available, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getMapQuery

      MapQuery getMapQuery()
      Gets the query for a map. Multiple retrievals produce a nested OR term.
      Returns:
      the map query
      Throws:
      UnimplementedException - supportsMapQuery() is false
      Compliance:
      optional - This method must be implemented if {@code supportsMapQuery()} is {@code true} .
    • clearMapTerms

      void clearMapTerms()
      Clears the map query terms.
      Compliance:
      mandatory - This method must be implemented.
    • getSpeedZoneEnablerQueryRecord

      SpeedZoneEnablerQueryRecord getSpeedZoneEnablerQueryRecord(Type speedZoneEnablerRecordType) throws OperationFailedException
      Gets the speed zone enabler query record corresponding to the given SpeedZoneEnabler record Type . Multiple record retrievals produce a nested OR term.
      Parameters:
      speedZoneEnablerRecordType - a speed zone enabler record type
      Returns:
      the speed zone enabler query record
      Throws:
      NullArgumentException - speedZoneEnablerRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(speedZoneEnablerRecordType) is false
      Compliance:
      mandatory - This method must be implemented.