Interface Reading
- All Superinterfaces:
OsidCapsule
A Reading represents data from a Meter for a referenced
metered object at the current point in time.
-
Method Summary
Modifier and TypeMethodDescriptionGets the amount of this reading.getMeter()Gets theMeterassociated with this reading.Gets the metered object associated with this reading.Gets theIdof theMeterassociated with this reading.
-
Method Details
-
getMeterId
Id getMeterId()Gets theIdof theMeterassociated with this reading.- Returns:
- gets the
Idof theMeter - Compliance:
mandatory- This method must be implemented.
-
getMeter
Gets theMeterassociated with this reading.- Returns:
- gets the
Meter - Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getMeteredObjectId
Id getMeteredObjectId()Gets the metered object associated with this reading.- Returns:
- gets the metered object
Id - Compliance:
mandatory- This method must be implemented.
-
getAmount
BigDecimal getAmount()Gets the amount of this reading.- Returns:
- gets the amount of this reading
- Compliance:
mandatory- This method must be implemented.
-