XML Reference

Here is the XML for an example rule set, with a rule class extending PropagatorRuleSet.ActiveSuccessionSet, with its succession set start date and end date attributes set:

<?xml version="1.0" encoding="UTF-8"?>
<RuleSet name="Example_SuccessionSetPopulation">
  <Class name="Employment" extends="ActiveSuccessionSet"
 extendsRuleSet="PropagatorRuleSet">
    <Annotations>
      <SuccessionSetPopulation startDateAttribute="startDate"
        endDateAttribute="terminationDate"/>
    </Annotations>
    <Attribute>
      <type>
        <javaclass name="curam.util.type.Date"/>
      </type>
      <derivation>
        <specified/>
      </derivation>
    </Attribute>
    <Attribute>
      <type>
        <javaclass name="curam.util.type.Date"/>
      </type>
      <derivation>
        <specified/>
      </derivation>
    </Attribute>
  </Class>
</RuleSet>