public interface Meter extends OsidObject
A Meter
represents a measure. The measured value for a
reference metered object is available in a Reading.
Modifier and Type | Method and Description |
---|---|
MeterRecord |
getMeterRecord(Type meterRecordType)
Gets the meter record corresponding to the given
Meter
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
MeterRecord getMeterRecord(Type meterRecordType) throws OperationFailedException
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
.meterRecordType
- the meter record typeNullArgumentException
- meterRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(meterRecordType)
is false
mandatory
- This method must be implemented.