c-java.applic.cdc-applic-demos.0.13.3.source-code.registry-encoder-repository.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <applic-repository xmlns="https://www.gitlab.com/cdc-java" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.gitlab.com/cdc-java https://www.gitlab.com/cdc-java/applic-repository.xsd"> <registries> <registry name="Registry" prefix="R"> <types> <boolean-type name="Boolean"/> <integer-type name="Rank" frozen="true" domain="1~999"/> <real-type name="Length" frozen="false" domain="1.0~2.0"/> <pattern-type name="Pattern" pattern=".*" frozen="true"/> <enumerated-type name="Version" frozen="false"> <value literal="V1" ordinal="0"/> <value literal="V2" ordinal="1"/> <value literal="V3" ordinal="2"/> <value literal="V4" ordinal="3"/> <less-than literal2="V1" literal1="V2"/> </enumerated-type> <enumerated-type name="Standard" frozen="false"> <value literal="S1"/> <value literal="S2"/> <value literal="S3"/> <value literal="S4"/> <less-than literal2="S1" literal1="S2"/> <less-than literal2="S2" literal1="S3"/> <less-than literal2="S3" literal1="S4"/> </enumerated-type> </types> <properties> <property name="Version" type="Version"/> <property name="Standard" type="Standard"/> <property name="Rank" type="Rank"/> <property name="Length1" type="Length"/> <property name="Boolean1" type="Boolean"/> <property name="Boolean2" type="Boolean"/> <property name="Pattern1" type="Pattern"/> </properties> <aliases> <alias name="Alias1" ordinal="0"> <expression>Rank=100</expression> </alias> </aliases> <constraints> <constraint type="AT_LEAST_ONE" id="1"> <params>["Rank=10", "Rank!=10"]</params> </constraint> <constraint type="AT_MOST_ONE" id="2"> <params>["Rank=10", "Rank!=10"]</params> </constraint> <constraint type="EXACTLY_ONE" id="3"> <params>["Rank=10", "Rank!=10"]</params> </constraint> <constraint type="PROPERTY_RESTRICTION" id="4"> <params>{"property":"Rank","values":"1~200"}</params> </constraint> </constraints> <assertions> <assertion> <expression>Alias1 -> Standard=S1</expression> </assertion> </assertions> <policies> <policy name="Policy1"> <item-usages> <item-usage name="Version"/> <item-usage name="Alias1"/> </item-usages> <assertions> <assertion> <expression>Standard = S1 -> Version = V1</expression> </assertion> </assertions> <writing-rules> <writing-rule name="Rule1"/> </writing-rules> </policy> <policy name="Policy2"> </policy> </policies> </registry> </registries> </applic-repository>