OSID Logo
OSID Specifications
metering package
Version 3.1.0
Interfaceosid.metering.Utility
Implementsosid.OsidCatalog
Used Byosid.metering.MeterAdminSession
osid.metering.MeterLookupSession
osid.metering.MeterNotificationSession
osid.metering.MeterQuerySession
osid.metering.MeterReadingSession
osid.metering.MeterSmartUtilitySession
osid.metering.StatisticLookupSession
osid.metering.StatisticNotificationSession
osid.metering.StatisticQuerySession
osid.metering.StatisticSmartUtilitySession
show 4 more…
osid.metering.UtilityAdminSession
osid.metering.UtilityList
osid.metering.UtilityLookupSession
osid.metering.UtilityNode
Description

A Utility represents a collection of Meters. Like all OSID objects, a Utility is identified by its Id and any persisted references should use the Id.

MethodgetUtilityRecord
Description

Gets the utility record corresponding to the given Utility record Type.This method is used to retrieve an object implementing the requested record. The utilityRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(utilityRecordType) is true.

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