OSID Logo
OSID Specifications
metering package
Version 3.1.0
Interfaceosid.metering.UtilityQueryInspector
Implementsosid.OsidCatalogQueryInspector
Used Byosid.metering.MeterQueryInspector
osid.metering.UtilityQueryInspector
osid.metering.UtilitySearchResults
Description

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

MethodgetMeterIdTerms
Description

Gets the meter Id terms.

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

Gets the meter terms.

Returnosid.metering.MeterQueryInspector[] the meter terms
Compliancemandatory This method must be implemented.
MethodgetAncestorUtilityIdTerms
Description

Gets the ancestor utility Id terms.

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

Gets the ancestor utility terms.

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

Gets the descendant utility Id terms.

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

Gets the descendant utility terms.

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

Gets the utility query record interface corresponding to the given Utility record Type . Multiple retrievals produce a nested OR term.

Parametersosid.type.TypeutilityRecordType a utility record type
Returnosid.metering.records.UtilityQueryInspectorRecord the utility query inspector record
ErrorsNULL_ARGUMENT utilityRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(utilityRecordType) is false
Compliancemandatory This method must be implemented.