Lines of business modularization

In PolicyCenter 8.0, most of the line-of-business code has moved from rule sets, plugins, and non-line-of-business PCF files and Gosu classes to policy-line-methods classes in the gw.lob package. For example, workers’ compensation code has been moved to the policy line methods class for workers’ compensation, WCPolicyMethods in the gw.lob.wc package.

Guidewire recommends that you define line-of-business code in the policy line methods classes. Avoid putting line-of-business code in generic locations such as the rule sets, plugins, and non-line-of-business PCF files and Gosu classes. This recommendation is intended to make upgrade easier by grouping line-of-business changes in the gw.lob package.

Changes to cost wrapper

In PolicyCenter 7.0, the CostWrapper class contained line-of-business-specific code. In PolicyCenter 8.0, line-of-business-specific code in CostWrapper has moved to line-of-business classes. The following line-of-business classes which map costs to the correct CostWrapper:

  • GL_CostWrapperCollectionEnhancement
  • WC_CostWrapperCollectionEnhancement

These classes replaced the CostWrapperCollectionEnhancement class.The CostWrapper is now an abstract class.

Changes to industry code enhancement

In PolicyCenter 7.0, the IndustryCodeEnhancement class in the gw.systables package contained line-of-business-specific code. In PolicyCenter 8.0, this code has moved to the BOP_IndustryCodeEnhancement class in the gw.lob.bop.systables package.

See also