Configuration de mappage simple pour la relation parent-enfant

Les éléments <def-create-participant> et <create-participant> sont présentés ici. Notez qu'un nouvel attribut 'dyn-evidence-primary-cpr-field-name' a été ajouté à l'élément <entity>. A l'aide de cet attribut, le développeur doit spécifier le nom d'attribut de l'élément CaseParticipantRole principal défini dans les métadonnées. Dans cet exemple, 'caseParticipantRoleID' est l'élément CaseParticipantRole qui a été défini dans l'entité Adoption. De même, le nom d'attribut CaseParticipantRole associé ('parCaseParticipantRoleID' dans cet exemple) est défini dans la zone 'name' de l'élément <create-participant>. Remarque : Dans le cas d'une preuve statique, cette même zone 'name' de l'élément <create-participant> est utilisée pour mentionner le nom d'agrégation correspondant.

<?xml version="1.0" encoding="UTF-8"?>
<application-builder-config xmlns="http://www.curamsoftware.com/
                            schemas/GUMBO/ApplicationBuilderConfig">
    <evidence-config package="curam.evidence">
     <def-create-participant id="AdoptedParentDetails" type="RL13">
            <participant-name-field name="firstName" 
                                    from="adParentName" order="1" />
            <participant-address type="AT3">
                <address-field name="addressLine1" 
                                           from="adParentStreet1" />
                <address-field name="addressLine2" 
                                           from="adParentStreet2" />
                <address-field name="city" from="adParentCity" />
                <address-field name="state" from="adParentState" />
                <address-field name="zip" from="adParentZipCode" />
            </participant-address>
      </def-create-participant>
       <entity name="Adoption" ev-type-code="DET004" 
       dyn-evidence-primary-cpr-field-name="caseParticipantRoleID">
            <create-participant refid="AdoptedParentDetails" 
                         name="parCaseParticipantRoleID" role="" />
        </entity>
        <entity name="AdoptionPayment" ev-type-code="DET005"/>
    </evidence-config>
</application-builder-config>