Measured usage for a single usage factor over the license period. Wraps the raw measured value alongside the UsageFactor it was measured for, and exposes the value after the factor's scale factor has been applied. Added to a MetricUsageDataList by KademiSubscriptionManager as it reads each usage factor's data series.


Properties

PropertyReturnsDescription
idStringIdentifier of the usage factor this measurement was taken for, matching UsageFactor.getId.
totalUsageBigDecimalTotal measured usage for this factor over the license period, with the usage factor's scale factor applied so the value is in its billed units.
usageFactorUsageFactorThe usage factor that this measurement was taken for.

Methods

getId()

Returns: String

Identifier of the usage factor this measurement was taken for, matching UsageFactor.getId.

getTotalUsage()

Returns: BigDecimal

Total measured usage for this factor over the license period, with the usage factor's scale factor applied so the value is in its billed units.

getUsageFactor()

Returns: UsageFactor

The usage factor that this measurement was taken for.

series()

Returns: SalesDataSeries

Looks up the sales data series that this factor's usage was read from.

hasUsage()

Returns: boolean

Whether any usage was measured for this factor over the license period.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.