Creating the modifier matcher

Create the modifier matcher for the new line of business. Each modifier must have a modifier matcher delegate that handles out-of-sequence events and preemption. The modifier matcher extends AbstractModifierMatcher.

Declare modifier matcher in the modifier entity

About this task

Declare the modifier matcher in the modifier entity for the new line of business.

Procedure

  1. In Studio, open the modifier object.
    For Golf Cart, open GOModifier.eti entity in configuration > config > extensions > entity.
  2. Declare the EffdatedCopyable interface in an implementsInterface element:

    Property

    Value

    iface

    gw.api.copier.EffDatedCopyable

    impl

    gw.api.copier.EffDatedCopier

  3. Declare the modifier matcher delegate.
    For Golf Cart, add the following implementsInterface element to the entity:

    Property

    Value

    iface

    gw.api.logicalmatch.EffDatedLogicalMatcher

    impl

    gw.lob.go.GOModifierMatcher

What to do next

Create the modifier matcher

Create the modifier matcher

Before you begin

Declare modifier matcher in the modifier entity

Procedure

  1. Create the modifier matcher for the new line of business. Examine other lines of business, such as General Liability, for examples of modifier matcher code. The General Liability class is GLModifierMatcher in configuration > config > metadata > entity. For Golf Cart, create GOModifierMatcher.gs for the GOModifier, and GOCartModifierMatcher.gs for the GOCartModifier.
  2. At this point, you can verify your work. For instructions, see Verify your work.