Question set object model
In the base configuration, the PolicyLine, PolicyPeriod, and PolicyLocation entities delegate
to AnswerContainer. Consequently,
each of these entities has an array to access the answers.
The PolicyLineAnswer,
PeriodAnswer, and LocationAnswer entities delegate
to PCAnswerDelegate.
The following illustration shows some of the relationships between these entities.
Answer container delegate
The AnswerContainer delegate has a
number of methods and properties. Some of the methods are:
createAnswer– Creates an answer to the specified question.getAnswer– Gets the answer to the specified question.removeAnswer– Removes the answer to the specified question.syncQuestions– Synchronizes answers that match the type, theAnswerContainerdelegate, and the product. You can call this method before displaying question sets in a PCF file. There are several examples of using this method in the job wizards. For example,IssuanceWizardmakes an indirect call tosyncQuestionsin theonEnterproperty in theOfferingstep.
The Answer Container Type
of the question set specifies the entity that delegates to AnswerContainer. In Product Designer,
for example, use the navigation pane to go to . In the question set’s home page, you
can see that the Question Set Type is PreQual
and that the PolicyPeriod
entity delegates to AnswerContainer.
