Diese Anmerkung wird nicht mehr verwendet. Sie ist hier lediglich aus Gründen der Abwärtskompatibilität aufgeführt.
Diese Anmerkung stellt eine lokalisierte Beschreibung für eines der folgenden Regelwerkelemente bereit:
Die Anmerkung "Label" enthält eine (vom CER-Editor festgelegte) Kennung sowie eine (vom Benutzer eingegebene) Beschreibung.
Wenn ein CER-Regelwerk gespeichert oder veröffentlicht wird, werden die Werte in den Anmerkungen "Label" einer Regel verwendet, um (in der Ländereinstellung des Benutzers) eine Eigenschaftenressource in den Anwendungsressourcenspeicher zu schreiben. Umgekehrt wird beim Anzeigen eines Regelwerks im CER-Editor die Eigenschaftenressource für die Ländereinstellung des Benutzers aus dem Ressourcenspeicher abgerufen und zum Füllen der Werte für die Anmerkungen "Label" im Regelwerk-XML verwendet.
<?xml version="1.0" encoding="UTF-8"?> <RuleSet name="Example_Label" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.curamsoftware.com/CreoleRulesSchema.xsd"> <Annotations> <!-- Rule-set level description --> <Label name="Example rule set for labels" label-id="annotation1"/> </Annotations> <Class name="Person"> <Annotations> <!-- Rule-class level description --> <Label name="A Person" label-id="annotation2"/> </Annotations> <Attribute name="age"> <Annotations> <!-- Attribute-class level description --> <Label name="The current age of the person, in years" label-id="annotation3"/> </Annotations> <type> <javaclass name="Number"/> </type> <derivation> <specified> <Annotations> <!-- Expression-level description --> <Label name="This value comes directly from evidence" label-id="annotation4"/> </Annotations> </specified> </derivation> </Attribute> <Attribute name="ageNextBirthday"> <Annotations> <!-- Attribute-class level description --> <Label name="The age of the person at the person's next birthday, in years" label-id="annotation5"/> </Annotations> <type> <javaclass name="Number"/> </type> <derivation> <arithmetic operation="+"> <Annotations> <!-- Expression-level description --> <Label name="Compute the person's age at next birthday" label-id="annotation6"/> </Annotations> <reference attribute="age"> <Annotations> <!-- Expression-level description --> <Label name="Get the person's current age" label-id="annotation7"/> </Annotations> </reference> <Number value="1"> <Annotations> <!-- Expression-level description --> <Label name="The number to add to get the age next birthday" label-id="annotation8"/> </Annotations> </Number> </arithmetic> </derivation> </Attribute> </Class> </RuleSet>
Weitere Informationen enthält das Handbuch Inside Cúram Eligibility and Entitlement Using Cúram Express Rules.
Weitere Informationen enthält das Handbuch Inside Cúram Eligibility and Entitlement Using Cúram Express Rules.
Gibt das primäre Attribut für eine Regelklasse wie im CER-Editor festgelegt an.
Diese Anmerkung kann nur für eine Regelklasse angegeben werden (siehe Regelklasse). Das benannte Attribut muss exakt den Namen eines für die Regelklasse deklarierten Attributs angeben (es kann nicht verwendet werden, um ein Attribut zu benennen, das übernommen, jedoch nicht überschrieben wurde).
<?xml version="1.0" encoding="UTF-8"?> <RuleSet name="Example_primary" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.curamsoftware.com/CreoleRulesSchema.xsd"> <Class name="Person"> <Annotations> <!-- Declaration of the "primary" rule attribute for this rule class, as shown in the CER Editor --> <primary attribute="age"/> </Annotations> <Attribute name="age"> <type> <javaclass name="Number"/> </type> <derivation> <specified/> </derivation> </Attribute> </Class> </RuleSet>
Weitere Informationen enthält das Handbuch Cúram Advisor Configuration Guide.
Weitere Informationen enthält das Handbuch Inside Cúram Eligibility and Entitlement Using Cúram Express Rules.
Weitere Informationen enthält das Handbuch Inside Cúram Eligibility and Entitlement Using Cúram Express Rules.
Diese Anmerkung ordnet den folgenden Elementen beliebige Zeichenfolgetags zu:
<?xml version="1.0" encoding="UTF-8"?> <RuleSet name="Example_tags" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://www.curamsoftware.com/CreoleRulesSchema.xsd"> <Annotations> <!-- Rule-set level tags --> <tags> <tag value="A rule-set tag"/> <tag value="Another tag"/> </tags> </Annotations> <Class name="Person"> <Annotations> <!-- Rule-class level tags--> <tags> <tag value="A rule-class tag"/> <tag value="Another tag"/> </tags> </Annotations> <Attribute name="age"> <Annotations> <!-- Attribute-class level tags --> <tags> <tag value="A rule-attribute tag"/> <tag value="Another tag"/> </tags> </Annotations> <type> <javaclass name="Number"/> </type> <derivation> <specified> <Annotations> <!-- Expression-level tags --> <tags> <tag value="An expression tag"/> <tag value="Another tag"/> </tags> </Annotations> </specified> </derivation> </Attribute> </Class> </RuleSet>