api/enums/ package. These are part of the public API and are used as parameters throughout the measure interfaces.
ExposureMetric
ExposureMetric identifies the six exposure metrics that the framework can compute.
The
isNumeric() method returns true for PFE, EE, ES, and ENE. It returns false for PFE_INDEX and PFE_SCENARIO_NAME.
The getNumericMetrics() method returns an array of the four numeric metric constants.
Usage in the public API:
Side
Side identifies which counterparty perspective the exposure is computed from.
The
other() method returns the opposite side: BANK.other() returns CPTY and vice versa.
The getLabel() method returns the string label ("Bank" or "Cpty"), which is used as a suffix in measure names.
ReportingOrCollateral
ReportingOrCollateral classifies each simulation date in the SimulationDates table.
A time point can appear in
SimulationDates with value R (reporting only), C (collateral only), or both (by having two rows, or by a consuming cube supplying its own classification logic).