Class SampleBrmCdrPluginExtension
java.lang.Object
oracle.communication.brm.charging.sdk.extensions.SampleBrmCdrPluginExtension
- All Implemented Interfaces:
BrmCdrPluginExtension
The class shows as a example to extend BrmCdrPlugin by adding records/fields
in addition to the records/fields produced by the BrmCdrPlugin.
Additional fields available in the usage request can be added to augment the BRM CDR records by
implementing the BrmCdrPluginExtension interface with the overridden method mapCustomerUsageRequestAddition.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapCustomUsageRequestAddition
(UsageRequest usageRequest, int recordNumber) This example shows to add the 'QUALITY_OF_SERVICE' field to BRM CDR record.
-
Field Details
-
RECORD_TYPE
public static final int RECORD_TYPE- See Also:
-
NEW_LINE
- See Also:
-
TAB
- See Also:
-
-
Constructor Details
-
SampleBrmCdrPluginExtension
public SampleBrmCdrPluginExtension()
-
-
Method Details
-
mapCustomUsageRequestAddition
public Map.Entry<String,Integer> mapCustomUsageRequestAddition(UsageRequest usageRequest, int recordNumber) This example shows to add the 'QUALITY_OF_SERVICE' field to BRM CDR record.- Specified by:
mapCustomUsageRequestAddition
in interfaceBrmCdrPluginExtension
- Parameters:
usageRequest
- the usage requestrecordNumber
- the starting record number to be used by the customized method- Returns:
- Map.Entry with the customized record strings and the record number of the last record written in the record strings
-