OSID Logo
OSID Specifications
metering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.metering.Reading
Implementsosid.OsidCapsule
Description

A Reading represents data from a Meter for a referenced metered object at the current point in time.

MethodgetMeterId
Description

Gets the Id of the Meter associated with this reading.

Returnosid.id.Idgets the Id of the Meter
CompliancemandatoryThis method must be implemented.
MethodgetMeter
Description

Gets the Meter associated with this reading.

Returnosid.metering.Metergets the Meter
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetMeteredObjectId
Description

Gets the metered object associated with this reading.

Returnosid.id.Idgets the metered object Id
CompliancemandatoryThis method must be implemented.
MethodgetAmount
Description

Gets the amount of this reading.

Returndecimalgets the amount of this reading
CompliancemandatoryThis method must be implemented.