시작 및 종료 날짜(해당 날짜 포함) 쌍에서(두 날짜 중 하나는 선택적) 지정된 유형의 타임라인을 작성합니다.
타임라인 구성의 내용을 참조하십시오.
<?xml version="1.0" encoding="UTF-8"?> <RuleSet name="Example_existencetimeline" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.curamsoftware.com/CreoleRulesSchema.xsd"> <Class name="Person"> <Attribute name="dateOfBirth"> <type> <javaclass name="curam.util.type.Date"/> </type> <derivation> <specified/> </derivation> </Attribute> <!-- 개인이 여전히 생존해 있으면 널임 --> <Attribute name="dateOfDeath"> <type> <javaclass name="curam.util.type.Date"/> </type> <derivation> <specified/> </derivation> </Attribute> <!-- 개인이 태어나기 전이면 false이고 개인이 생존해 있는 동안에는 true이며 개인이 사망한 후에는 false인 타임라인을 작성합니다. 개인의 사망년월일이 기록되지 않은 경우 후미에 "false" 간격이 없습니다. --> <Attribute name="isAliveTimeline"> <type> <javaclass name="curam.creole.value.Timeline"> <javaclass name="Boolean"/> </javaclass> </type> <derivation> <existencetimeline> <intervaltype> <javaclass name="Boolean"/> </intervaltype> <intervalfromdate> <reference attribute="dateOfBirth"/> </intervalfromdate> <intervaltodate> <reference attribute="dateOfDeath"/> </intervaltodate> <preExistenceValue> <false/> </preExistenceValue> <existenceValue> <true/> </existenceValue> <postExistenceValue> <false/> </postExistenceValue> </existencetimeline> </derivation> </Attribute> <!-- 개인이 태어나기 전이면 "Before Birth"이고 개인이 생존해 있는 동안에는 "During Lifetime"이며 개인이 사망한 후에는 "After Death"인 타임라인을 작성합니다. 개인의 사망년월일이 기록되지 않은 경우 후미에 "After Death" 간격이 없습니다. --> <Attribute name="lifeStatus"> <type> <javaclass name="curam.creole.value.Timeline"> <javaclass name="String"/> </javaclass> </type> <derivation> <existencetimeline> <intervaltype> <javaclass name="String"/> </intervaltype> <intervalfromdate> <reference attribute="dateOfBirth"/> </intervalfromdate> <intervaltodate> <reference attribute="dateOfDeath"/> </intervaltodate> <preExistenceValue> <String value="Before Birth"/> </preExistenceValue> <existenceValue> <String value="During Lifetime"/> </existenceValue> <postExistenceValue> <String value="After Death"/> </postExistenceValue> </existencetimeline> </derivation> </Attribute> </Class> </RuleSet>