Show answerHide answer
Correct answer: B si.pc.enhancements.entity, determineAuditType_Ext()
Explanation
Answer Option (Which option is correct) B. si.pc.enhancements.entity, determineAuditType_Ext()Explanation:
Place customer code in the customer namespace and organize it by product and purpose. Entity enhancements add reusable functions or computed properties without modifying generated entity classes. Use a getter for a value derived from existing fields and a function when a calculation needs an additional parameter.
Verification note: The selected function suffix is not explained for a custom entity. Verify enhancement naming and package conventions for the course version.
Why the other options are incorrect:
A. si.pc.enhancements.entity, determineAuditType():
The package is customer-specific. The function suffix differs from the selected answer. The need for that suffix on a custom entity is not established.
C. gw.job.audit, determineAuditType():
The gw namespace belongs to delivered Guidewire code. The question concerns an insurer customization. A customer namespace separates the implementation.
D. gw.entity.enhancement, determineAuditType_Ext():
This also uses the delivered gw package. Adding a method suffix does not establish customer package ownership. The package convention is a separate requirement.
References:
Guidewire-authored PolicyCenter 10.1.2 - Gosu naming and declarations
Gosu language project - Operators, loops, functions, and properties