Impact testing plugin methods
The impact testing plugin must implement these methods.
Create Baseline Policy Period
The createBaselinePeriod method creates a baseline policy period from the original bound policy period. The baseline policy period is rated using the selected rate books. For more information on rate book selection, see Selecting the rate book edition during policy rating.
Impact testing compares the base policy period with the test policy period. The method signature is:
public PolicyPeriod createBaselinePeriod(PolicyPeriod original)The parameter is:
Parameter |
Description |
|---|---|
|
The original bound policy period from which to create a baseline policy period. |
This method returns the baseline policy period.
Create Test Policy Period
The createTestPeriod method creates a test policy period from the original bound policy period. The test policy period is rated using the alternate rate books. The method signature is:
public PolicyPeriod createTestPeriod(PolicyPeriod original, PolicyPeriod baseline)The parameters are:
Parameter |
Description |
|---|---|
|
The original bound policy period from which the baseline policy period was created. |
|
The baseline policy
period created by |
This method can create the test policy period using either the original or baseline policy period, or a combination of both.
This method returns the test policy period.
Request a Quote on the Baseline Policy Period
The requestBaselineQuote method request a quote on the baseline policy period. The quote rates the policy using the default rate books. The method signature is:
public void requestBaselineQuote(PolicyPeriod period)The parameter is:
Parameter |
Description |
|---|---|
|
The baseline policy period |
This method has no return value.
Request a Quote on the Test Policy Period
The requestTestQuote method requests a quote on the test policy period. The quote rates the policy using the alternate rate books specified in Impact testing plugin methods. The method signature is:
public void requestTestQuote(PolicyPeriod period)The parameter is:
Parameter |
Description |
|---|---|
|
The test policy period. |
This method has no return value.
Flag to Include the Policy Period
The shouldIncludePeriod
flag indicates whether to include or exclude the policy period in impact
testing. The method signature is:
public boolean shouldIncludePeriod(PolicyPeriod period)The parameter is:
Parameter |
Description |
|---|---|
|
The policy period to be considered for inclusion or exclusion |
If the return value is true, then include the policy
period in the test policy periods.
Get Alternate Rate Books
The getter for the AlternateRatebooks property returns
the rate books selected for rating the test policy periods. In the Impact Testing, Select Rate Books screen in PolicyCenter,
the alternate rate books appear under Rate
Books for Impact Testing. The getter signature is:
property get AlternateRatebooks() : List<ImpactTestingRateBook>This getter returns a list of alternate rate books.
Set Alternate Rate Books
The setter for the AlternateRatebooks property sets
the alternate rate books for rating the test policy periods. You specify
the alternate rate books in the books
parameter. When querying for rate books, impact testing uses the alternate
rate books instead of the default rate books. The setter signature is:
property set AlternateRatebooks(books : List<ImpactTestingRateBook>)The parameter is:
Parameter |
Description |
|---|---|
|
A list of alternate
rate books. Pass |
This method has no return value.
