OSID Logo
OSID Specifications
metering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.metering.MeterQueryInspector
Implementsosid.OsidObjectQueryInspector
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
CompliancemandatoryThis method must be implemented.
MethodgetUtilityTerms
Description

Gets the utility terms.

Returnosid.metering.UtilityQueryInspector[]the utility terms
CompliancemandatoryThis 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.TypemeterRecordTypea meter record type
Returnosid.metering.records.MeterQueryInspectorRecordthe meter query inspector record
ErrorsNULL_ARGUMENT meterRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(meterRecordType) is false
CompliancemandatoryThis method must be implemented.