Gosu methods for calculating the total insured value

Each line of business calculates the total insured value.

In the default configuration, the calculateTotalInsuredValue method in gw.api.policy.AbstractPolicyLineMethodsImpl calculates the total insured value. For each coverage, this method calls the getTIVForCoverage method. Each line of business overrides the getTIVForCoverage method. For an example, see the getTIVForCoverage method in gw.lob.ba.BAPolicyLineMethods.gs.

If you implement a new policy line and do not use AbstractPolicyLineMethodsImpl, you must implement a calculateTotalInsuredValue method.

If the new policy line inherits from AbstractPolicyLineMethodsImpl, the policy line needs to implement the getTIVForCoverage method.