All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kie.dmn.validation.DMNv1_1.Rules803C2BA845209DF0531E32D851F31E3DRuleMethods0 Maven / Gradle / Ivy

The newest version!
package org.kie.dmn.validation.DMNv1_1;

import org.drools.modelcompiler.dsl.pattern.D;
import org.drools.model.Index.ConstraintType;
import org.kie.dmn.model.api.*;
import org.kie.dmn.core.util.MsgUtil;
import org.kie.dmn.api.core.DMNMessage;
import org.kie.dmn.core.impl.DMNMessageImpl;
import org.kie.dmn.api.feel.runtime.events.FEELEvent;
import org.kie.dmn.feel.lang.types.BuiltInType;
import org.kie.dmn.feel.parser.feel11.FEELParser;
import org.kie.dmn.feel.runtime.events.SyntaxErrorEvent;
import org.kie.dmn.core.util.Msg;
import static org.kie.dmn.validation.ValidatorUtil.rightOfHash;
import static org.kie.dmn.validation.DMNv1_1.Rules803C2BA845209DF0531E32D851F31E3D.*;
import static org.kie.dmn.validation.DMNv1_1.Rules803C2BA845209DF0531E32D851F31E3D.*;

public class Rules803C2BA845209DF0531E32D851F31E3DRuleMethods0 {

    /**
     * Rule name: VARIABLE_NOTYPEREF
     */
    public static org.drools.model.Rule rule_VARIABLE__NOTYPEREF() {
        final org.drools.model.Variable var_$ce1 = D.declarationOf(org.kie.dmn.model.api.InformationItem.class,
                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_InformationItem_Metadata_INSTANCE,
                                                                                                          "$ce1");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "VARIABLE_NOTYPEREF")
                                      .build(D.pattern(var_$ce1).expr("GENERATED_47CD95E7F0260B7BE5931757AB4E7A55",
                                                                      org.kie.dmn.validation.DMNv1_1.PF2.LambdaPredicateF280FDC16BA38524FF63B892504002DE.INSTANCE,
                                                                      D.reactOn("typeRef")).expr("GENERATED_CB6D5C8202C7F15485376ABEE3679A96",
                                                                                                 org.kie.dmn.validation.DMNv1_1.P49.LambdaPredicate491E5F259CB3E530B9A4AF8969E68A70.INSTANCE,
                                                                                                 D.reactOn("parent")),
                                             D.on(var_reporter,
                                                  var_$ce1).execute(org.kie.dmn.validation.DMNv1_1.P46.LambdaConsequence46532766FE6EDF4497BD894C3E4F7ACD.INSTANCE));
        return rule;
    }

    /**
     * Rule name: PARAMETER_NOTYPEREF
     */
    public static org.drools.model.Rule rule_PARAMETER__NOTYPEREF() {
        final org.drools.model.Variable var_$ce1 = D.declarationOf(org.kie.dmn.model.api.InformationItem.class,
                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_InformationItem_Metadata_INSTANCE,
                                                                                                          "$ce1");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "PARAMETER_NOTYPEREF")
                                      .build(D.pattern(var_$ce1).expr("GENERATED_47CD95E7F0260B7BE5931757AB4E7A55",
                                                                      org.kie.dmn.validation.DMNv1_1.PF2.LambdaPredicateF280FDC16BA38524FF63B892504002DE.INSTANCE,
                                                                      D.reactOn("typeRef")).expr("GENERATED_57E09905BBF71525CA24BD0F1C0C45C0",
                                                                                                 org.kie.dmn.validation.DMNv1_1.P20.LambdaPredicate201582F06E0D5DB5864A2B0E17BDC240.INSTANCE,
                                                                                                 D.reactOn("parent")),
                                             D.on(var_reporter,
                                                  var_$ce1).execute(org.kie.dmn.validation.DMNv1_1.P6E.LambdaConsequence6E026C5870F1589928E3B7D44462A492.INSTANCE));
        return rule;
    }

    /**
     * Rule name: COLUMN_NOTYPEREF
     */
    public static org.drools.model.Rule rule_COLUMN__NOTYPEREF() {
        final org.drools.model.Variable var_$ce1 = D.declarationOf(org.kie.dmn.model.api.InformationItem.class,
                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_InformationItem_Metadata_INSTANCE,
                                                                                                          "$ce1");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "COLUMN_NOTYPEREF")
                                      .build(D.pattern(var_$ce1).expr("GENERATED_47CD95E7F0260B7BE5931757AB4E7A55",
                                                                      org.kie.dmn.validation.DMNv1_1.PF2.LambdaPredicateF280FDC16BA38524FF63B892504002DE.INSTANCE,
                                                                      D.reactOn("typeRef")).expr("GENERATED_BE7A898DACBA252D6D747F1AE6E98309",
                                                                                                 org.kie.dmn.validation.DMNv1_1.PBF.LambdaPredicateBF68DDFFDBB8A4630DE1B30A5B913C23.INSTANCE,
                                                                                                 D.reactOn("parent")),
                                             D.on(var_reporter,
                                                  var_$ce1).execute(org.kie.dmn.validation.DMNv1_1.P89.LambdaConsequence8942C4157A231D726D6B25ABA9EC5C73.INSTANCE));
        return rule;
    }

    /**
     * Rule name: TYPEREF_NO_FEEL_TYPE_p1
     */
    public static org.drools.model.Rule rule_TYPEREF__NO__FEEL__TYPE__p1() {
        final org.drools.model.Variable var_$o = D.declarationOf(org.kie.dmn.model.api.Expression.class,
                                                                                                   DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Expression_Metadata_INSTANCE,
                                                                                                   "$o");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "TYPEREF_NO_FEEL_TYPE_p1")
                                      .build(D.pattern(var_$o).expr("GENERATED_194B8B79E15DF6DF68E432BECE8B4F40",
                                                                    org.kie.dmn.validation.DMNv1_1.P23.LambdaPredicate23560EFEE4E98DD4D465607AC5745CD1.INSTANCE).expr("GENERATED_08B8CFA7AEC9AA6D3B57CA96614A42A3",
                                                                                                                                                                      org.kie.dmn.validation.DMNv1_1.P3A.LambdaPredicate3A981F94B5D859257BF13C024B9D4749.INSTANCE,
                                                                                                                                                                      D.reactOn("typeRef")).expr("GENERATED_35ED473000DDF7BABDBB57AD1782DB07",
                                                                                                                                                                                                 org.kie.dmn.validation.DMNv1_1.P8B.LambdaPredicate8B0A5FF9D00C229E3A782822FA62282B.INSTANCE,
                                                                                                                                                                                                 D.reactOn("typeRef")).expr("GENERATED_423B8F72A200A6B4EAF8806820BFABF4",
                                                                                                                                                                                                                            org.kie.dmn.validation.DMNv1_1.P28.LambdaPredicate28133BCB730BAA905E201868E85EE411.INSTANCE,
                                                                                                                                                                                                                            D.reactOn("URIFEEL",
                                                                                                                                                                                                                                      "typeRef")).expr("GENERATED_B75216924774FE5FE5D7FDF7AEF1EE7E",
                                                                                                                                                                                                                                                       org.kie.dmn.validation.DMNv1_1.P38.LambdaPredicate389119FEF494E7FE6863953BE14A4DF3.INSTANCE),
                                             D.on(var_reporter,
                                                  var_$o).execute(org.kie.dmn.validation.DMNv1_1.P03.LambdaConsequence0302CE194BC71C70EF83A631A8B4F2A5.INSTANCE));
        return rule;
    }

    /**
     * Rule name: TYPEREF_NO_FEEL_TYPE_p2
     */
    public static org.drools.model.Rule rule_TYPEREF__NO__FEEL__TYPE__p2() {
        final org.drools.model.Variable var_$o = D.declarationOf(org.kie.dmn.model.api.InformationItem.class,
                                                                                                        DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_InformationItem_Metadata_INSTANCE,
                                                                                                        "$o");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "TYPEREF_NO_FEEL_TYPE_p2")
                                      .build(D.pattern(var_$o).expr("GENERATED_D5BD6082563B3611BCC7ACB76F906A94",
                                                                    org.kie.dmn.validation.DMNv1_1.P8F.LambdaPredicate8FF8B6C6CB64BEF0C984AB23DADC6AF7.INSTANCE,
                                                                    D.reactOn("typeRef")).expr("GENERATED_570774F7DED95E1B51E6B7A0A7FDDCFC",
                                                                                               org.kie.dmn.validation.DMNv1_1.P54.LambdaPredicate5474B698B8FCB00F713934A1D34419C0.INSTANCE,
                                                                                               D.reactOn("typeRef")).expr("GENERATED_EE4BB9D98B1CA44B74B0B560856FFBCC",
                                                                                                                          org.kie.dmn.validation.DMNv1_1.P04.LambdaPredicate04D835132D05F71060E14049A60AA8D8.INSTANCE,
                                                                                                                          D.reactOn("URIFEEL",
                                                                                                                                    "typeRef")).expr("GENERATED_A7B2E528EF0284FDC9C914AF3BA32DD9",
                                                                                                                                                     org.kie.dmn.validation.DMNv1_1.P5A.LambdaPredicate5AC9D25C378507DA7384A98E909224DB.INSTANCE),
                                             D.on(var_reporter,
                                                  var_$o).execute(org.kie.dmn.validation.DMNv1_1.PC4.LambdaConsequenceC4DEC930E4476ED4B37EB0E4632CEC4C.INSTANCE));
        return rule;
    }

    /**
     * Rule name: TYPEREF_NO_FEEL_TYPE_p3
     */
    public static org.drools.model.Rule rule_TYPEREF__NO__FEEL__TYPE__p3() {
        final org.drools.model.Variable var_$o = D.declarationOf(org.kie.dmn.model.api.ItemDefinition.class,
                                                                                                       DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_ItemDefinition_Metadata_INSTANCE,
                                                                                                       "$o");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "TYPEREF_NO_FEEL_TYPE_p3")
                                      .build(D.pattern(var_$o).expr("GENERATED_D92B95295C1A5BECF7C4CD0A7A985C60",
                                                                    org.kie.dmn.validation.DMNv1_1.P68.LambdaPredicate6858A068C26773DDD5737F807C30C623.INSTANCE,
                                                                    D.reactOn("typeRef")).expr("GENERATED_7C1EE24181CA9120DCC8823082793A6B",
                                                                                               org.kie.dmn.validation.DMNv1_1.PA4.LambdaPredicateA466932E9001D22FF25B7C1021228499.INSTANCE,
                                                                                               D.reactOn("typeRef")).expr("GENERATED_1BBCB2EBABAE948A0F80569C217304C6",
                                                                                                                          org.kie.dmn.validation.DMNv1_1.PAA.LambdaPredicateAA6A3FCA5CA6E4ACE9079AE32F16B477.INSTANCE,
                                                                                                                          D.reactOn("URIFEEL",
                                                                                                                                    "typeRef")).expr("GENERATED_B006E47C8FA6B24EE7998C4434C73D30",
                                                                                                                                                     org.kie.dmn.validation.DMNv1_1.PC8.LambdaPredicateC89225D56DFFCA6BE23F3C6D5895447B.INSTANCE),
                                             D.on(var_reporter,
                                                  var_$o).execute(org.kie.dmn.validation.DMNv1_1.P3C.LambdaConsequence3C66D9D4338FCA4D377EE79FEEB3AA6C.INSTANCE));
        return rule;
    }

    /**
     * Rule name: TYPEREF_NO_FEEL_TYPE_p4
     */
    public static org.drools.model.Rule rule_TYPEREF__NO__FEEL__TYPE__p4() {
        final org.drools.model.Variable var_$o = D.declarationOf(org.kie.dmn.model.api.OutputClause.class,
                                                                                                     DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_OutputClause_Metadata_INSTANCE,
                                                                                                     "$o");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "TYPEREF_NO_FEEL_TYPE_p4")
                                      .build(D.pattern(var_$o).expr("GENERATED_3B404FC3EFA1608F20DF7B4EC4719EAA",
                                                                    org.kie.dmn.validation.DMNv1_1.P08.LambdaPredicate0807E99A5A34806EE95B5F9023FD3496.INSTANCE,
                                                                    D.reactOn("typeRef")).expr("GENERATED_5DC9B1A7370E9B0777704EAA8B88D8FA",
                                                                                               org.kie.dmn.validation.DMNv1_1.PB8.LambdaPredicateB86995F93C6046D3B918AC9FE5BDA6B9.INSTANCE,
                                                                                               D.reactOn("typeRef")).expr("GENERATED_BC79DA92EE14C647B7CFE86068F55DF4",
                                                                                                                          org.kie.dmn.validation.DMNv1_1.PE5.LambdaPredicateE59B9CD2E51D694E30F309DA7AD73679.INSTANCE,
                                                                                                                          D.reactOn("URIFEEL",
                                                                                                                                    "typeRef")).expr("GENERATED_0734A1A6F72BA0C92B2F36F20A71E79B",
                                                                                                                                                     org.kie.dmn.validation.DMNv1_1.P5C.LambdaPredicate5C6FBD70675FBEA39037A69B03814596.INSTANCE),
                                             D.on(var_reporter,
                                                  var_$o).execute(org.kie.dmn.validation.DMNv1_1.PB0.LambdaConsequenceB09850D43A5B79EEE0EFEF7DF916D0BE.INSTANCE));
        return rule;
    }

    /**
     * Rule name: TYPEREF_NOT_FEEL_NOT_DEF_p1
     */
    public static org.drools.model.Rule rule_TYPEREF__NOT__FEEL__NOT__DEF__p1() {
        final org.drools.model.Variable var_$o = D.declarationOf(org.kie.dmn.model.api.Expression.class,
                                                                                                   DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Expression_Metadata_INSTANCE,
                                                                                                   "$o");
        final org.drools.model.Variable var_$typeRef = D.declarationOf(javax.xml.namespace.QName.class,
                                                                                                  DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.javax_xml_namespace_QName_Metadata_INSTANCE,
                                                                                                  "$typeRef");
        final org.drools.model.Variable var_GENERATED_$pattern_ItemDefinition$68$ = D.declarationOf(org.kie.dmn.model.api.ItemDefinition.class,
                                                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_ItemDefinition_Metadata_INSTANCE,
                                                                                                                                          "GENERATED_$pattern_ItemDefinition$68$");
        final org.drools.model.Variable var_GENERATED_$pattern_Import$69$ = D.declarationOf(org.kie.dmn.model.api.Import.class,
                                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Import_Metadata_INSTANCE,
                                                                                                                          "GENERATED_$pattern_Import$69$");
        final org.drools.model.Variable var_$importName_2_sCoPe = D.declarationOf(java.lang.String.class,
                                                                                                    DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.java_lang_String_Metadata_INSTANCE,
                                                                                                    "$importName_2_sCoPe");
        final org.drools.model.Variable var_$importedNS_2_sCoPe = D.declarationOf(java.lang.String.class,
                                                                                                    DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.java_lang_String_Metadata_INSTANCE,
                                                                                                    "$importedNS_2_sCoPe");
        final org.drools.model.Variable var_$importDef_2_sCoPe = D.declarationOf(org.kie.dmn.model.api.Definitions.class,
                                                                                                                    DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE,
                                                                                                                    "$importDef_2_sCoPe",
                                                                                                                    D.entryPoint("DMNImports"));
        final org.drools.model.Variable var_GENERATED_$pattern_ItemDefinition$70$ = D.declarationOf(org.kie.dmn.model.api.ItemDefinition.class,
                                                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_ItemDefinition_Metadata_INSTANCE,
                                                                                                                                          "GENERATED_$pattern_ItemDefinition$70$",
                                                                                                                                          D.from(var_$importDef_2_sCoPe,
                                                                                                                                                 org.kie.dmn.validation.DMNv1_1.P8E.LambdaExtractor8EBC58DA92A18E3306ADD348C358017F.INSTANCE));
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "TYPEREF_NOT_FEEL_NOT_DEF_p1")
                                      .build(D.pattern(var_$o).expr("GENERATED_194B8B79E15DF6DF68E432BECE8B4F40",
                                                                    org.kie.dmn.validation.DMNv1_1.P23.LambdaPredicate23560EFEE4E98DD4D465607AC5745CD1.INSTANCE).expr("GENERATED_08B8CFA7AEC9AA6D3B57CA96614A42A3",
                                                                                                                                                                      org.kie.dmn.validation.DMNv1_1.P3A.LambdaPredicate3A981F94B5D859257BF13C024B9D4749.INSTANCE,
                                                                                                                                                                      D.reactOn("typeRef")).expr("GENERATED_4515B2A9E200BDDA417E47286570C9DA",
                                                                                                                                                                                                 org.kie.dmn.validation.DMNv1_1.P32.LambdaPredicate322BFEC650445152DF19CC34142D9A9D.INSTANCE,
                                                                                                                                                                                                 D.reactOn("URIFEEL",
                                                                                                                                                                                                           "typeRef")).bind(var_$typeRef,
                                                                                                                                                                                                                            org.kie.dmn.validation.DMNv1_1.P54.LambdaExtractor54A40DCF43EA33EFBF491389D304B209.INSTANCE,
                                                                                                                                                                                                                            D.reactOn("typeRef")),
                                             D.not(D.pattern(var_GENERATED_$pattern_ItemDefinition$68$).expr("GENERATED_A4785EE10665D986793E03E4367F5714",
                                                                                                             var_$typeRef,
                                                                                                             org.kie.dmn.validation.DMNv1_1.P29.LambdaPredicate29A6C08AB32E4B9C4D4973EA0B9F74CD.INSTANCE,
                                                                                                             D.reactOn("name"))),
                                             D.not(D.and(D.pattern(var_GENERATED_$pattern_Import$69$).bind(var_$importName_2_sCoPe,
                                                                                                           org.kie.dmn.validation.DMNv1_1.P65.LambdaExtractor65098C4A3254DDAED3E2E24613A35E7A.INSTANCE,
                                                                                                           D.reactOn("name")).bind(var_$importedNS_2_sCoPe,
                                                                                                                                   org.kie.dmn.validation.DMNv1_1.P10.LambdaExtractor10C1FF720833E27DCE5E7E3CE0A672BE.INSTANCE,
                                                                                                                                   D.reactOn("namespace")),
                                                         D.pattern(var_$importDef_2_sCoPe).expr("GENERATED_8BB04BD8A3A86ED7E44529930C05F938",
                                                                                                var_$importedNS_2_sCoPe,
                                                                                                org.kie.dmn.validation.DMNv1_1.P9D.LambdaPredicate9D84376555905566940353B133D82F04.INSTANCE,
                                                                                                D.betaIndexedBy(java.lang.String.class,
                                                                                                                org.drools.model.Index.ConstraintType.EQUAL,
                                                                                                                DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE.getPropertyIndex("namespace"),
                                                                                                                org.kie.dmn.validation.DMNv1_1.P68.LambdaExtractor68473B7071AD7C0BE26BE482B846C349.INSTANCE,
                                                                                                                org.kie.dmn.validation.DMNv1_1.PFA.LambdaExtractorFAB86A7C6FE2F29B332A38542AA033B4.INSTANCE,
                                                                                                                java.lang.String.class),
                                                                                                D.reactOn("namespace")),
                                                         D.pattern(var_GENERATED_$pattern_ItemDefinition$70$).expr("GENERATED_9B3FC6FAA24604A530ECBAA1218BB9D1",
                                                                                                                   var_$typeRef,
                                                                                                                   var_$importName_2_sCoPe,
                                                                                                                   org.kie.dmn.validation.DMNv1_1.PFB.LambdaPredicateFBD8D7FF84139F7750C98770CD71EFBA.INSTANCE,
                                                                                                                   D.reactOn("name")))),
                                             D.on(var_$typeRef,
                                                  var_reporter,
                                                  var_$o).execute(org.kie.dmn.validation.DMNv1_1.PD4.LambdaConsequenceD4B472922FBC4DDF532DA6C35BE64A7D.INSTANCE));
        return rule;
    }

    /**
     * Rule name: TYPEREF_NOT_FEEL_NOT_DEF_p2
     */
    public static org.drools.model.Rule rule_TYPEREF__NOT__FEEL__NOT__DEF__p2() {
        final org.drools.model.Variable var_$o = D.declarationOf(org.kie.dmn.model.api.InformationItem.class,
                                                                                                        DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_InformationItem_Metadata_INSTANCE,
                                                                                                        "$o");
        final org.drools.model.Variable var_$typeRef = D.declarationOf(javax.xml.namespace.QName.class,
                                                                                                  DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.javax_xml_namespace_QName_Metadata_INSTANCE,
                                                                                                  "$typeRef");
        final org.drools.model.Variable var_GENERATED_$pattern_ItemDefinition$71$ = D.declarationOf(org.kie.dmn.model.api.ItemDefinition.class,
                                                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_ItemDefinition_Metadata_INSTANCE,
                                                                                                                                          "GENERATED_$pattern_ItemDefinition$71$");
        final org.drools.model.Variable var_GENERATED_$pattern_Import$72$ = D.declarationOf(org.kie.dmn.model.api.Import.class,
                                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Import_Metadata_INSTANCE,
                                                                                                                          "GENERATED_$pattern_Import$72$");
        final org.drools.model.Variable var_$importName_2_sCoPe = D.declarationOf(java.lang.String.class,
                                                                                                    DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.java_lang_String_Metadata_INSTANCE,
                                                                                                    "$importName_2_sCoPe");
        final org.drools.model.Variable var_$importedNS_2_sCoPe = D.declarationOf(java.lang.String.class,
                                                                                                    DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.java_lang_String_Metadata_INSTANCE,
                                                                                                    "$importedNS_2_sCoPe");
        final org.drools.model.Variable var_$importDef_2_sCoPe = D.declarationOf(org.kie.dmn.model.api.Definitions.class,
                                                                                                                    DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE,
                                                                                                                    "$importDef_2_sCoPe",
                                                                                                                    D.entryPoint("DMNImports"));
        final org.drools.model.Variable var_GENERATED_$pattern_ItemDefinition$73$ = D.declarationOf(org.kie.dmn.model.api.ItemDefinition.class,
                                                                                                                                          DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_ItemDefinition_Metadata_INSTANCE,
                                                                                                                                          "GENERATED_$pattern_ItemDefinition$73$",
                                                                                                                                          D.from(var_$importDef_2_sCoPe,
                                                                                                                                                 org.kie.dmn.validation.DMNv1_1.P8E.LambdaExtractor8EBC58DA92A18E3306ADD348C358017F.INSTANCE));
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_1",
                                            "TYPEREF_NOT_FEEL_NOT_DEF_p2")
                                      .build(D.pattern(var_$o).expr("GENERATED_D5BD6082563B3611BCC7ACB76F906A94",
                                                                    org.kie.dmn.validation.DMNv1_1.P8F.LambdaPredicate8FF8B6C6CB64BEF0C984AB23DADC6AF7.INSTANCE,
                                                                    D.reactOn("typeRef")).expr("GENERATED_6519C621BA517B6B3BC2B064A8977E28",
                                                                                               org.kie.dmn.validation.DMNv1_1.P92.LambdaPredicate92E1FFF5733FE0B90BD06C45B84887AD.INSTANCE,
                                                                                               D.reactOn("URIFEEL",
                                                                                                         "typeRef")).bind(var_$typeRef,
                                                                                                                          org.kie.dmn.validation.DMNv1_1.P65.LambdaExtractor6531862A5D06E8A556972CED67E82883.INSTANCE,
                                                                                                                          D.reactOn("typeRef")),
                                             D.not(D.pattern(var_GENERATED_$pattern_ItemDefinition$71$).expr("GENERATED_A4785EE10665D986793E03E4367F5714",
                                                                                                             var_$typeRef,
                                                                                                             org.kie.dmn.validation.DMNv1_1.P29.LambdaPredicate29A6C08AB32E4B9C4D4973EA0B9F74CD.INSTANCE,
                                                                                                             D.reactOn("name"))),
                                             D.not(D.and(D.pattern(var_GENERATED_$pattern_Import$72$).bind(var_$importName_2_sCoPe,
                                                                                                           org.kie.dmn.validation.DMNv1_1.P65.LambdaExtractor65098C4A3254DDAED3E2E24613A35E7A.INSTANCE,
                                                                                                           D.reactOn("name")).bind(var_$importedNS_2_sCoPe,
                                                                                                                                   org.kie.dmn.validation.DMNv1_1.P10.LambdaExtractor10C1FF720833E27DCE5E7E3CE0A672BE.INSTANCE,
                                                                                                                                   D.reactOn("namespace")),
                                                         D.pattern(var_$importDef_2_sCoPe).expr("GENERATED_8BB04BD8A3A86ED7E44529930C05F938",
                                                                                                var_$importedNS_2_sCoPe,
                                                                                                org.kie.dmn.validation.DMNv1_1.P9D.LambdaPredicate9D84376555905566940353B133D82F04.INSTANCE,
                                                                                                D.betaIndexedBy(java.lang.String.class,
                                                                                                                org.drools.model.Index.ConstraintType.EQUAL,
                                                                                                                DomainClassesMetadata803C2BA845209DF0531E32D851F31E3D.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE.getPropertyIndex("namespace"),
                                                                                                                org.kie.dmn.validation.DMNv1_1.P68.LambdaExtractor68473B7071AD7C0BE26BE482B846C349.INSTANCE,
                                                                                                                org.kie.dmn.validation.DMNv1_1.PFA.LambdaExtractorFAB86A7C6FE2F29B332A38542AA033B4.INSTANCE,
                                                                                                                java.lang.String.class),
                                                                                                D.reactOn("namespace")),
                                                         D.pattern(var_GENERATED_$pattern_ItemDefinition$73$).expr("GENERATED_9B3FC6FAA24604A530ECBAA1218BB9D1",
                                                                                                                   var_$typeRef,
                                                                                                                   var_$importName_2_sCoPe,
                                                                                                                   org.kie.dmn.validation.DMNv1_1.PFB.LambdaPredicateFBD8D7FF84139F7750C98770CD71EFBA.INSTANCE,
                                                                                                                   D.reactOn("name")))),
                                             D.on(var_$typeRef,
                                                  var_reporter,
                                                  var_$o).execute(org.kie.dmn.validation.DMNv1_1.P95.LambdaConsequence95517B0B7C6141272E197F478D0D9C2F.INSTANCE));
        return rule;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy