/AWS1/CL_CEXCOMPARISONMETRIC00¶
Contains cost or usage metric values for comparing two time periods. Each value includes amounts for the baseline and comparison time periods, their difference, and the unit of measurement.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_baselinetimeperiodamount TYPE /AWS1/CEXGENERICSTRING /AWS1/CEXGENERICSTRING¶
The numeric value for the baseline time period measurement.
iv_comparisontimeperamount TYPE /AWS1/CEXGENERICSTRING /AWS1/CEXGENERICSTRING¶
The numeric value for the comparison time period measurement.
iv_difference TYPE /AWS1/CEXGENERICSTRING /AWS1/CEXGENERICSTRING¶
The calculated difference between
ComparisonTimePeriodAmountandBaselineTimePeriodAmount.
iv_unit TYPE /AWS1/CEXGENERICSTRING /AWS1/CEXGENERICSTRING¶
The unit of measurement applicable to all numeric values in this comparison.
Queryable Attributes¶
BaselineTimePeriodAmount¶
The numeric value for the baseline time period measurement.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BASELINETIMEPERIODAMOUNT() |
Getter for BASELINETIMEPERIODAMOUNT, with configurable defau |
ASK_BASELINETIMEPERIODAMOUNT() |
Getter for BASELINETIMEPERIODAMOUNT w/ exceptions if field h |
HAS_BASELINETIMEPERIODAMOUNT() |
Determine if BASELINETIMEPERIODAMOUNT has a value |
ComparisonTimePeriodAmount¶
The numeric value for the comparison time period measurement.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COMPARISONTIMEPERAMOUNT() |
Getter for COMPARISONTIMEPERIODAMOUNT, with configurable def |
ASK_COMPARISONTIMEPERAMOUNT() |
Getter for COMPARISONTIMEPERIODAMOUNT w/ exceptions if field |
HAS_COMPARISONTIMEPERAMOUNT() |
Determine if COMPARISONTIMEPERIODAMOUNT has a value |
Difference¶
The calculated difference between
ComparisonTimePeriodAmountandBaselineTimePeriodAmount.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DIFFERENCE() |
Getter for DIFFERENCE, with configurable default |
ASK_DIFFERENCE() |
Getter for DIFFERENCE w/ exceptions if field has no value |
HAS_DIFFERENCE() |
Determine if DIFFERENCE has a value |
Unit¶
The unit of measurement applicable to all numeric values in this comparison.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UNIT() |
Getter for UNIT, with configurable default |
ASK_UNIT() |
Getter for UNIT w/ exceptions if field has no value |
HAS_UNIT() |
Determine if UNIT has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_COMPARISONMETRICS¶
TYPES TT_COMPARISONMETRICS TYPE HASHED TABLE OF /AWS1/CL_CEXCOMPARISONMETRIC00=>TS_COMPARISONMETRICS_MAPROW WITH UNIQUE KEY key
.
TS_COMPARISONMETRICS_MAPROW¶
TYPES: BEGIN OF TS_COMPARISONMETRICS_MAPROW,
key TYPE /AWS1/CEXMETRICNAME,
value TYPE REF TO /AWS1/CL_CEXCOMPARISONMETRIC00,
END OF TS_COMPARISONMETRICS_MAPROW.