OSID Logo
OSID Specifications
metering package
Version 3.1.0
Interfaceosid.metering.MeterQueryInspector
Implementsosid.OsidObjectQueryInspector
Used Byosid.metering.MeterSearchResults
osid.metering.MeterSmartUtilitySession
osid.metering.StatisticQueryInspector
osid.metering.UtilityQueryInspector
Description

This is the query inspector for examining meter queries. Each method specifies an AND term while multiple terms from the same method produce a nested OR.

MethodgetUtilityIdTerms
Description

Gets the utility Id terms.

Returnosid.search.terms.IdTerm[] the utility Id terms
Compliancemandatory This method must be implemented.
MethodgetUtilityTerms
Description

Gets the utility terms.

Returnosid.metering.UtilityQueryInspector[] the utility terms
Compliancemandatory This method must be implemented.
MethodgetMeterQueryInspectorRecord
Description

Gets the meter query inspector record corresponding to the given Meter record Type. Multiple retrievals produce a nested OR term.

Parametersosid.type.TypemeterRecordType a meter record type
Returnosid.metering.records.MeterQueryInspectorRecord the meter query inspector record
ErrorsNULL_ARGUMENT meterRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(meterRecordType) is false
Compliancemandatory This method must be implemented.