sample-process-models/misc/shared/currency/currency-format.dmn

301 lines
11 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Currency_Format" name="Currency Format">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Currency Code">
<inputExpression id="inputExpression_1" typeRef="string">
<text>curCode</text>
</inputExpression>
</input>
<input id="InputClause_1ffzf04" label="Locale Code">
<inputExpression id="LiteralExpression_00ohrtk" typeRef="string">
<text>locCode</text>
</inputExpression>
</input>
<output id="output_1" label="Name" name="curName" typeRef="string" biodi:width="150" />
<output id="OutputClause_1ddtqpd" label="Symbol" name="curSymbol" typeRef="string" biodi:width="150" />
<output id="OutputClause_1ibv7n7" label="Symbol Location" name="curSymbolLocation" typeRef="string" biodi:width="150" />
<output id="OutputClause_0lzk3cc" label="Symbol Spaces" name="curSymbolSpaces" typeRef="number" biodi:width="150" />
<output id="OutputClause_097xwpe" label="Thousands Separator" name="curThousandsSeparator" typeRef="string" biodi:width="178" />
<output id="OutputClause_0kf6qh1" label="Fractional Separator" name="curFractionalSeparator" typeRef="string" biodi:width="169" />
<rule id="DecisionRule_1pscvvy">
<description>AUD - Australian Dollar - all locales</description>
<inputEntry id="UnaryTests_0xkxdqu">
<text>"AUD"</text>
</inputEntry>
<inputEntry id="UnaryTests_0kdaxq1">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0i8x6x1">
<text>"Australian Dollar"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ad2m7s">
<text>"$"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0u052l6">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1z0bn98">
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_0cempca">
<text>","</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ggfeof">
<text>"."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0p5q6gv">
<description>CAD - Canadian Dollar - all locales</description>
<inputEntry id="UnaryTests_0zn9py6">
<text>"CAD"</text>
</inputEntry>
<inputEntry id="UnaryTests_0gg483t">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0wl695f">
<text>"Canadian Dollar"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1b8dfu6">
<text>"$"</text>
</outputEntry>
<outputEntry id="LiteralExpression_07j22um">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1i103ho">
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_19ylxbl">
<text>","</text>
</outputEntry>
<outputEntry id="LiteralExpression_0icp0or">
<text>"."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ccdwqs">
<description>EUR - European Union - de-DE</description>
<inputEntry id="UnaryTests_1gmv76a">
<text>"EUR"</text>
</inputEntry>
<inputEntry id="UnaryTests_088k59t">
<text>"de-DE"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1v9gbvs">
<text>"Euro"</text>
</outputEntry>
<outputEntry id="LiteralExpression_09z9wv7">
<text>"€"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1o17j3b">
<text>"Right"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0u8taon">
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ajq3h6">
<text>"."</text>
</outputEntry>
<outputEntry id="LiteralExpression_0h7dhkk">
<text>","</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1evihvp">
<description>EUR - European Union - fr-FR</description>
<inputEntry id="UnaryTests_1xmss34">
<text>"EUR"</text>
</inputEntry>
<inputEntry id="UnaryTests_0zsarbw">
<text>"fr-FR"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1nrjst1">
<text>"Euro"</text>
</outputEntry>
<outputEntry id="LiteralExpression_02yojty">
<text>"€"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0mqweoc">
<text>"Right"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1w0xcym">
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_040e38c">
<text>"."</text>
</outputEntry>
<outputEntry id="LiteralExpression_1v538vp">
<text>","</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ijtbtg">
<description>EUR - European Union - en-IE</description>
<inputEntry id="UnaryTests_1eawitw">
<text>"EUR"</text>
</inputEntry>
<inputEntry id="UnaryTests_0ggkfri">
<text>"en-IE"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0hmqeru">
<text>"Euro"</text>
</outputEntry>
<outputEntry id="LiteralExpression_089pvco">
<text>"€"</text>
</outputEntry>
<outputEntry id="LiteralExpression_128splt">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1stt2f3">
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_0dw8gki">
<text>","</text>
</outputEntry>
<outputEntry id="LiteralExpression_06gz3yu">
<text>"."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ktp031">
<description>EUR - European Union - all other locales</description>
<inputEntry id="UnaryTests_1162ps7">
<text>"EUR"</text>
</inputEntry>
<inputEntry id="UnaryTests_1qhrzo9">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1arjkwq">
<text>"Euro"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ss3cqf">
<text>"€"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0njndf1">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1wn5idi">
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_09mnyrc">
<text>"."</text>
</outputEntry>
<outputEntry id="LiteralExpression_04mccvt">
<text>","</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0p4qlnj">
<description>GBR - UK/Great Briotian - all locales</description>
<inputEntry id="UnaryTests_0n8x1nh">
<text>"GBP"</text>
</inputEntry>
<inputEntry id="UnaryTests_0z1u2mn">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_031bv79">
<text>"Pound sterling"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0xymb8g">
<text>"‎£"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0m53m7f">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1xz9zyn">
<text>0</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ei12an">
<text>","</text>
</outputEntry>
<outputEntry id="LiteralExpression_0lhubom">
<text>"."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1v19j7f">
<description>SGD - Singapore Dollar - all locales</description>
<inputEntry id="UnaryTests_1to3rg4">
<text>"SGD"</text>
</inputEntry>
<inputEntry id="UnaryTests_0u1j2r4">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0z8doa3">
<text>"Singapore Dollar"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1lfp928">
<text>"$"</text>
</outputEntry>
<outputEntry id="LiteralExpression_124d6ye">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0aou8tf">
<text>0</text>
</outputEntry>
<outputEntry id="LiteralExpression_1hr6eo6">
<text>","</text>
</outputEntry>
<outputEntry id="LiteralExpression_05t9nxf">
<text>"."</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0je7f2x">
<description>CHF - Swiss Franc - all locales</description>
<inputEntry id="UnaryTests_0x25nng">
<text>"CHF"</text>
</inputEntry>
<inputEntry id="UnaryTests_1rindsy">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1044gmc">
<text>"Swiss Franc"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1m910u7">
<text>"fr."</text>
</outputEntry>
<outputEntry id="LiteralExpression_0tns4pd">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0exq1js">
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_1fay8px">
<text>"."</text>
</outputEntry>
<outputEntry id="LiteralExpression_09atvff">
<text>","</text>
</outputEntry>
</rule>
<rule id="DecisionRule_00f93zh">
<description>USD - US Dollar - all locales</description>
<inputEntry id="UnaryTests_1e6gjr6">
<text>"USD"</text>
</inputEntry>
<inputEntry id="UnaryTests_1u24k2z">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1afc86o">
<text>"US Dollar"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1xuiycb">
<text>"$"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1tc5ytq">
<text>"Left"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1a50v5t">
<text>0</text>
</outputEntry>
<outputEntry id="LiteralExpression_1aw0xuz">
<text>","</text>
</outputEntry>
<outputEntry id="LiteralExpression_10u48pm">
<text>"."</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Currency_Format">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>