Configure a new match operation
About this task
To configure a new match operation:
Procedure
- In Product Designer, navigate to the rtm_matchop_defs.xml system table.
-
In RateTableMatchOpDefinition,
add an entry to the system table. You must specify the following:
- OpCode – A code that uniquely identifies this match operation.
- OpName – Appears in PolicyCenter as a match operation choice when the user clicks Add in the Parameters tab of the Rate Table Definition Editor screen.
- NumberOfParameters – The number of parameters.
- ImplClass
– The fully qualified name of the new match operation factory class.
For example, you can define the class as
gw.rating.rtm.matchop.OpCodeMatchOpFactory.
-
Create the following new classes:
- A factory class
that extends abstract
gw.rating.rtm.matchop.MatchOperationFactory. See Extending the match operation factory class. - A class that extends
abstract
gw.rating.rtm.matchop.StatelessMatchOperator. See Match operation implementation.
- A factory class
that extends abstract
-
Optionally,
create a custom validator for the match operation.
- A class that extends
gw.rating.rtm.validation.MatchOpValidator. See Match operation validator.
- A class that extends
