OSID Logo
OSID Specifications
metering package
Version 3.1.0
Interfaceosid.metering.Meter
Implementsosid.OsidObject
Used Byosid.metering.MeterAdminSession
osid.metering.MeterList
osid.metering.MeterLookupSession
osid.metering.Reading
osid.metering.Statistic
Description

A Meter represents a measure. The measured value for a reference metered object is available in a Reading.

MethodgetMeterRecord
Description

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

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