Rate modifiers
You can define rating modifiers on custom lines of business. The Golf Cart line has rating modifiers for both the policy line and the golf cart. For example, rating modifiers can modify the premium rate on the line with a multi-policy discount. Or rating modifiers can modify the premium rate on the golf cart with a discount for good driving record. You can control the availability of rating modifiers by using availability lookup tables.
Delegates actively connect the modifiable
to its modifier. A delegate establishes the interface from one object
to another. The ModifiableAdapter
links the Modifiable to
the Modifier.
The Golf Cart line has two modifiable
objects: GolfCartLine
and GOCart. Each modifiable
object has a modifier, GOModifier
and GOCartModifier, respectively.
Each modifier has modifier methods. Each modifiable object has a modifiable
adapter that connects the modifiable object to its modifier.
The following illustrations shows GolfCartLine and its modifier
objects:
The following illustrations
shows GOCart and its modifier
objects:
Defining modifiers is
similar to defining coverages, with a few differences. Instead of defining
a CoverableAdapter, you
define a ModifiableAdapter
for each modifiable object. Instead of defining a CoverageAdapter, you define a
ModifierAdapter for each
modifier. In addition, you must define a MatchableEffDated delegate on
the modifier. This delegate handles out-of-sequence events and preemption.
