OSID Logo
OSID Specifications
metering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.metering.Meter
Implementsosid.OsidObject
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.TypemeterRecordTypethe meter record type
Returnosid.metering.records.MeterRecordthe meter record
ErrorsNULL_ARGUMENT meterRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(meterRecordType) is false
CompliancemandatoryThis method must be implemented.