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

org.kie.dmn.validation.DMNv1_2.Rules7676380D94DD33A71773908D7D47354BRuleMethods1 Maven / Gradle / Ivy

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

import org.drools.modelcompiler.dsl.pattern.D;
import org.drools.model.Index.ConstraintType;
import org.kie.dmn.core.util.MsgUtil;
import org.kie.dmn.core.impl.DMNMessageImpl;
import org.kie.dmn.api.core.DMNMessage;
import org.kie.dmn.feel.parser.feel11.FEELParser;
import org.kie.dmn.feel.lang.types.BuiltInType;
import org.kie.dmn.core.compiler.ImportDMNResolverUtil;
import org.kie.dmn.model.api.dmndi.*;
import org.kie.dmn.model.api.*;
import org.kie.dmn.api.feel.runtime.events.FEELEvent;
import org.kie.dmn.core.util.Msg;
import org.kie.dmn.feel.runtime.events.SyntaxErrorEvent;
import javax.xml.XMLConstants;
import static java.util.Collections.emptyMap;
import static org.kie.dmn.core.util.NamespaceUtil.getNamespaceAndName;
import static org.kie.dmn.validation.ValidatorUtil.rightOfHash;
import static org.kie.dmn.validation.ValidatorUtil.doesDefinitionsContainIdForDMNEdge;
import static org.kie.dmn.validation.DMNv1_2.Rules7676380D94DD33A71773908D7D47354B.*;
import static org.kie.dmn.validation.DMNv1_2.Rules7676380D94DD33A71773908D7D47354B.*;

public class Rules7676380D94DD33A71773908D7D47354BRuleMethods1 {

    /**
     * Rule name: DMNSHAPE_UNKNOWN_REF_WITHOUT_IMPORT
     */
    public static org.drools.model.Rule rule_DMNSHAPE__UNKNOWN__REF__WITHOUT__IMPORT() {
        final org.drools.model.Variable var_GENERATED_$pattern_DMNDI$13$ = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNDI.class,
                                                                                                                              DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNDI_Metadata_INSTANCE,
                                                                                                                              "GENERATED_$pattern_DMNDI$13$");
        final org.drools.model.Variable var_$shape = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNShape.class,
                                                                                                           DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNShape_Metadata_INSTANCE,
                                                                                                           "$shape");
        final org.drools.model.Variable var_GENERATED_$pattern_DRGElement$14$ = D.declarationOf(org.kie.dmn.model.api.DRGElement.class,
                                                                                                                                  DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_DRGElement_Metadata_INSTANCE,
                                                                                                                                  "GENERATED_$pattern_DRGElement$14$");
        final org.drools.model.Variable var_GENERATED_$pattern_TextAnnotation$15$ = D.declarationOf(org.kie.dmn.model.api.TextAnnotation.class,
                                                                                                                                          DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_TextAnnotation_Metadata_INSTANCE,
                                                                                                                                          "GENERATED_$pattern_TextAnnotation$15$");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_2",
                                            "DMNSHAPE_UNKNOWN_REF_WITHOUT_IMPORT")
                                      .build(D.pattern(var_GENERATED_$pattern_DMNDI$13$),
                                             D.pattern(var_$shape).expr("GENERATED_C0E192075FEB678FA0A0D2045E48B6A3",
                                                                        org.kie.dmn.validation.DMNv1_2.PE6.LambdaPredicateE69E5426D6C2EC3CC91249F0965CAF12.INSTANCE,
                                                                        D.reactOn("dmnElementRef")).watch("dmnElementRef"),
                                             D.not(D.pattern(var_GENERATED_$pattern_DRGElement$14$).expr("GENERATED_BF3AE9809BAF0CBFD72AF1DF74CBB079",
                                                                                                         var_$shape,
                                                                                                         org.kie.dmn.validation.DMNv1_2.P59.LambdaPredicate593888AA217E3DAA67AC9E3C26C54D30.INSTANCE,
                                                                                                         D.reactOn("id"))),
                                             D.not(D.pattern(var_GENERATED_$pattern_TextAnnotation$15$).expr("GENERATED_D29371DE962C47D06A1D240209A273B8",
                                                                                                             var_$shape,
                                                                                                             org.kie.dmn.validation.DMNv1_2.P7B.LambdaPredicate7BB260DDC23116DDB166E8C4CADABF17.INSTANCE,
                                                                                                             D.reactOn("id"))),
                                             D.on(var_reporter,
                                                  var_$shape).execute(org.kie.dmn.validation.DMNv1_2.PE9.LambdaConsequenceE9D826B60CB61E643C522B7A1D82B55C.INSTANCE));
        return rule;
    }

    /**
     * Rule name: DMNSHAPE_UNKNOWN_REF_WITH_IMPORT
     */
    public static org.drools.model.Rule rule_DMNSHAPE__UNKNOWN__REF__WITH__IMPORT() {
        final org.drools.model.Variable var_GENERATED_$pattern_DMNDI$16$ = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNDI.class,
                                                                                                                              DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNDI_Metadata_INSTANCE,
                                                                                                                              "GENERATED_$pattern_DMNDI$16$");
        final org.drools.model.Variable var_$shape = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNShape.class,
                                                                                                           DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNShape_Metadata_INSTANCE,
                                                                                                           "$shape");
        final org.drools.model.Variable var_$prefix = D.declarationOf(java.lang.String.class,
                                                                                        DomainClassesMetadata7676380D94DD33A71773908D7D47354B.java_lang_String_Metadata_INSTANCE,
                                                                                        "$prefix");
        final org.drools.model.Variable var_GENERATED_$pattern_Definitions$17$ = D.declarationOf(org.kie.dmn.model.api.Definitions.class,
                                                                                                                                    DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE,
                                                                                                                                    "GENERATED_$pattern_Definitions$17$");
        final org.drools.model.Variable var_$nsContext = D.declarationOf(java.util.Map.class,
                                                                                        DomainClassesMetadata7676380D94DD33A71773908D7D47354B.java_util_Map_Metadata_INSTANCE,
                                                                                        "$nsContext");
        final org.drools.model.Variable var_$import = D.declarationOf(org.kie.dmn.model.api.Import.class,
                                                                                                    DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Import_Metadata_INSTANCE,
                                                                                                    "$import");
        final org.drools.model.Variable var_$importDef = D.declarationOf(org.kie.dmn.model.api.Definitions.class,
                                                                                                            DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE,
                                                                                                            "$importDef",
                                                                                                            D.entryPoint("DMNImports"));
        final org.drools.model.Variable var_GENERATED_$pattern_DRGElement$18$ = D.declarationOf(org.kie.dmn.model.api.DRGElement.class,
                                                                                                                                  DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_DRGElement_Metadata_INSTANCE,
                                                                                                                                  "GENERATED_$pattern_DRGElement$18$",
                                                                                                                                  D.from(var_$importDef,
                                                                                                                                         org.kie.dmn.validation.DMNv1_2.P56.LambdaExtractor569E220CBF78EF6FB119FD20076F253B.INSTANCE));
        final org.drools.model.Variable var_GENERATED_$pattern_TextAnnotation$19$ = D.declarationOf(org.kie.dmn.model.api.TextAnnotation.class,
                                                                                                                                          DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_TextAnnotation_Metadata_INSTANCE,
                                                                                                                                          "GENERATED_$pattern_TextAnnotation$19$",
                                                                                                                                          D.from(var_$importDef,
                                                                                                                                                 org.kie.dmn.validation.DMNv1_2.PE9.LambdaExtractorE997255269B3CF3F9ED51BDD8B2AD0D5.INSTANCE));
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_2",
                                            "DMNSHAPE_UNKNOWN_REF_WITH_IMPORT")
                                      .build(D.pattern(var_GENERATED_$pattern_DMNDI$16$),
                                             D.pattern(var_$shape).expr("GENERATED_41D1F9191C8CFB5BCF655C56DEC30DF9",
                                                                        org.kie.dmn.validation.DMNv1_2.PC8.LambdaPredicateC8B9881AA59AAA7FDCBCFCCC6CF461CA.INSTANCE,
                                                                        D.reactOn("dmnElementRef")).bind(var_$prefix,
                                                                                                         org.kie.dmn.validation.DMNv1_2.PC6.LambdaExtractorC683219E435D6E8640D9DFD861FAA536.INSTANCE,
                                                                                                         D.reactOn("dmnElementRef")).watch("dmnElementRef"),
                                             D.pattern(var_GENERATED_$pattern_Definitions$17$).bind(var_$nsContext,
                                                                                                    org.kie.dmn.validation.DMNv1_2.PCE.LambdaExtractorCE25276A44F61BAFA2F60DE847D4BD80.INSTANCE,
                                                                                                    D.reactOn("nsContext")),
                                             D.pattern(var_$import).expr("GENERATED_2EBF0A4D1548A2C2595AC00B7D0FEBAD",
                                                                         org.kie.dmn.validation.DMNv1_2.PC6.LambdaPredicateC6C5801AE45876B12E3B2A53FE1FA687.INSTANCE).expr("GENERATED_D5D428C52BFCB0B145F456D39D0A34FD",
                                                                                                                                                                           var_$prefix,
                                                                                                                                                                           var_$nsContext,
                                                                                                                                                                           org.kie.dmn.validation.DMNv1_2.PC1.LambdaPredicateC1247759B26CD4CA125BDE32FC7690A5.INSTANCE,
                                                                                                                                                                           D.reactOn("nsContext",
                                                                                                                                                                                     "namespace")).watch("namespace"),
                                             D.pattern(var_$importDef).expr("GENERATED_C445838A43A47803331BD31586957DEE",
                                                                            var_$import,
                                                                            org.kie.dmn.validation.DMNv1_2.P19.LambdaPredicate19F97F998D0C5E25EBECB7EDB7826E5C.INSTANCE,
                                                                            D.betaIndexedBy(java.lang.String.class,
                                                                                            org.drools.model.Index.ConstraintType.EQUAL,
                                                                                            DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE.getPropertyIndex("namespace"),
                                                                                            org.kie.dmn.validation.DMNv1_2.P6E.LambdaExtractor6EC045AEA9CA1406259A3582119EDA58.INSTANCE,
                                                                                            org.kie.dmn.validation.DMNv1_2.PD7.LambdaExtractorD74DFE119E4324E009314F4F72D9D664.INSTANCE,
                                                                                            java.lang.String.class),
                                                                            D.reactOn("namespace")),
                                             D.not(D.pattern(var_GENERATED_$pattern_DRGElement$18$).expr("GENERATED_BF3AE9809BAF0CBFD72AF1DF74CBB079",
                                                                                                         var_$shape,
                                                                                                         org.kie.dmn.validation.DMNv1_2.P59.LambdaPredicate593888AA217E3DAA67AC9E3C26C54D30.INSTANCE,
                                                                                                         D.reactOn("id"))),
                                             D.not(D.pattern(var_GENERATED_$pattern_TextAnnotation$19$).expr("GENERATED_D29371DE962C47D06A1D240209A273B8",
                                                                                                             var_$shape,
                                                                                                             org.kie.dmn.validation.DMNv1_2.P7B.LambdaPredicate7BB260DDC23116DDB166E8C4CADABF17.INSTANCE,
                                                                                                             D.reactOn("id"))),
                                             D.on(var_reporter,
                                                  var_$shape).execute(org.kie.dmn.validation.DMNv1_2.PE9.LambdaConsequenceE9D826B60CB61E643C522B7A1D82B55C.INSTANCE));
        return rule;
    }

    /**
     * Rule name: DMNEGDE_UNKNOWN_REF_WITHOUT_IMPORT
     */
    public static org.drools.model.Rule rule_DMNEGDE__UNKNOWN__REF__WITHOUT__IMPORT() {
        final org.drools.model.Variable var_GENERATED_$pattern_DMNDI$20$ = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNDI.class,
                                                                                                                              DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNDI_Metadata_INSTANCE,
                                                                                                                              "GENERATED_$pattern_DMNDI$20$");
        final org.drools.model.Variable var_$edge = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNEdge.class,
                                                                                                         DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNEdge_Metadata_INSTANCE,
                                                                                                         "$edge");
        final org.drools.model.Variable var_GENERATED_$pattern_InformationRequirement$21$ = D.declarationOf(org.kie.dmn.model.api.InformationRequirement.class,
                                                                                                                                                          DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_InformationRequirement_Metadata_INSTANCE,
                                                                                                                                                          "GENERATED_$pattern_InformationRequirement$21$");
        final org.drools.model.Variable var_GENERATED_$pattern_KnowledgeRequirement$22$ = D.declarationOf(org.kie.dmn.model.api.KnowledgeRequirement.class,
                                                                                                                                                      DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_KnowledgeRequirement_Metadata_INSTANCE,
                                                                                                                                                      "GENERATED_$pattern_KnowledgeRequirement$22$");
        final org.drools.model.Variable var_GENERATED_$pattern_AuthorityRequirement$23$ = D.declarationOf(org.kie.dmn.model.api.AuthorityRequirement.class,
                                                                                                                                                      DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_AuthorityRequirement_Metadata_INSTANCE,
                                                                                                                                                      "GENERATED_$pattern_AuthorityRequirement$23$");
        final org.drools.model.Variable var_GENERATED_$pattern_Association$24$ = D.declarationOf(org.kie.dmn.model.api.Association.class,
                                                                                                                                    DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Association_Metadata_INSTANCE,
                                                                                                                                    "GENERATED_$pattern_Association$24$");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_2",
                                            "DMNEGDE_UNKNOWN_REF_WITHOUT_IMPORT")
                                      .build(D.pattern(var_GENERATED_$pattern_DMNDI$20$),
                                             D.pattern(var_$edge).expr("GENERATED_1E1C2860964505A58138F80772537B1A",
                                                                       org.kie.dmn.validation.DMNv1_2.P4E.LambdaPredicate4E39FD0FF4F83D6909F5264350F87FAF.INSTANCE,
                                                                       D.reactOn("dmnElementRef")).watch("dmnElementRef"),
                                             D.not(D.pattern(var_GENERATED_$pattern_InformationRequirement$21$).expr("GENERATED_3AC901E42359BF95C05E0C91F68D7B21",
                                                                                                                     var_$edge,
                                                                                                                     org.kie.dmn.validation.DMNv1_2.P83.LambdaPredicate83516E20F0EC40E8BBB9DF7625C7D3C2.INSTANCE,
                                                                                                                     D.reactOn("id"))),
                                             D.not(D.pattern(var_GENERATED_$pattern_KnowledgeRequirement$22$).expr("GENERATED_D70AB02EA296C6A829CDE44C8E730DFE",
                                                                                                                   var_$edge,
                                                                                                                   org.kie.dmn.validation.DMNv1_2.P95.LambdaPredicate9527C25AB5340DD49BDB82BA61CC41AC.INSTANCE,
                                                                                                                   D.reactOn("id"))),
                                             D.not(D.pattern(var_GENERATED_$pattern_AuthorityRequirement$23$).expr("GENERATED_5C6A7105950D4CC9E72626B2CA94CB87",
                                                                                                                   var_$edge,
                                                                                                                   org.kie.dmn.validation.DMNv1_2.PCF.LambdaPredicateCFBDE0583003A0FC2504997048AE16E4.INSTANCE,
                                                                                                                   D.reactOn("id"))),
                                             D.not(D.pattern(var_GENERATED_$pattern_Association$24$).expr("GENERATED_D476BFDE171E2CA0611E23ACC0A9CE9E",
                                                                                                          var_$edge,
                                                                                                          org.kie.dmn.validation.DMNv1_2.PA3.LambdaPredicateA313A13D81CB6641E1788785B97CE465.INSTANCE,
                                                                                                          D.reactOn("id"))),
                                             D.on(var_reporter,
                                                  var_$edge).execute(org.kie.dmn.validation.DMNv1_2.P04.LambdaConsequence0441BBF58C314B4DE46292B78F1A2B49.INSTANCE));
        return rule;
    }

    /**
     * Rule name: DMNEGDE_UNKNOWN_REF_WITH_IMPORT
     */
    public static org.drools.model.Rule rule_DMNEGDE__UNKNOWN__REF__WITH__IMPORT() {
        final org.drools.model.Variable var_GENERATED_$pattern_DMNDI$25$ = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNDI.class,
                                                                                                                              DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNDI_Metadata_INSTANCE,
                                                                                                                              "GENERATED_$pattern_DMNDI$25$");
        final org.drools.model.Variable var_$edge = D.declarationOf(org.kie.dmn.model.api.dmndi.DMNEdge.class,
                                                                                                         DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_dmndi_DMNEdge_Metadata_INSTANCE,
                                                                                                         "$edge");
        final org.drools.model.Variable var_$prefix = D.declarationOf(java.lang.String.class,
                                                                                        DomainClassesMetadata7676380D94DD33A71773908D7D47354B.java_lang_String_Metadata_INSTANCE,
                                                                                        "$prefix");
        final org.drools.model.Variable var_$localPart = D.declarationOf(java.lang.String.class,
                                                                                           DomainClassesMetadata7676380D94DD33A71773908D7D47354B.java_lang_String_Metadata_INSTANCE,
                                                                                           "$localPart");
        final org.drools.model.Variable var_GENERATED_$pattern_Definitions$26$ = D.declarationOf(org.kie.dmn.model.api.Definitions.class,
                                                                                                                                    DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE,
                                                                                                                                    "GENERATED_$pattern_Definitions$26$");
        final org.drools.model.Variable var_$nsContext = D.declarationOf(java.util.Map.class,
                                                                                        DomainClassesMetadata7676380D94DD33A71773908D7D47354B.java_util_Map_Metadata_INSTANCE,
                                                                                        "$nsContext");
        final org.drools.model.Variable var_$import = D.declarationOf(org.kie.dmn.model.api.Import.class,
                                                                                                    DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Import_Metadata_INSTANCE,
                                                                                                    "$import");
        final org.drools.model.Variable var_$importDef = D.declarationOf(org.kie.dmn.model.api.Definitions.class,
                                                                                                            DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE,
                                                                                                            "$importDef",
                                                                                                            D.entryPoint("DMNImports"));
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_2",
                                            "DMNEGDE_UNKNOWN_REF_WITH_IMPORT")
                                      .build(D.pattern(var_GENERATED_$pattern_DMNDI$25$),
                                             D.pattern(var_$edge).expr("GENERATED_C716FA446C32468411A0E0E7C711E112",
                                                                       org.kie.dmn.validation.DMNv1_2.P9C.LambdaPredicate9C8375CAA29E7B1ACC7AE32CB28A40BC.INSTANCE,
                                                                       D.reactOn("dmnElementRef")).bind(var_$prefix,
                                                                                                        org.kie.dmn.validation.DMNv1_2.P42.LambdaExtractor42947FF51A6538B887C658AD682D9BCA.INSTANCE,
                                                                                                        D.reactOn("dmnElementRef")).bind(var_$localPart,
                                                                                                                                         org.kie.dmn.validation.DMNv1_2.P17.LambdaExtractor1723CB5FA1CCD9C107613E923A01F571.INSTANCE),
                                             D.pattern(var_GENERATED_$pattern_Definitions$26$).bind(var_$nsContext,
                                                                                                    org.kie.dmn.validation.DMNv1_2.PCE.LambdaExtractorCE25276A44F61BAFA2F60DE847D4BD80.INSTANCE,
                                                                                                    D.reactOn("nsContext")),
                                             D.pattern(var_$import).expr("GENERATED_2EBF0A4D1548A2C2595AC00B7D0FEBAD",
                                                                         org.kie.dmn.validation.DMNv1_2.PC6.LambdaPredicateC6C5801AE45876B12E3B2A53FE1FA687.INSTANCE).expr("GENERATED_D5D428C52BFCB0B145F456D39D0A34FD",
                                                                                                                                                                           var_$prefix,
                                                                                                                                                                           var_$nsContext,
                                                                                                                                                                           org.kie.dmn.validation.DMNv1_2.PC1.LambdaPredicateC1247759B26CD4CA125BDE32FC7690A5.INSTANCE,
                                                                                                                                                                           D.reactOn("nsContext",
                                                                                                                                                                                     "namespace")).watch("namespace"),
                                             D.pattern(var_$importDef).expr("GENERATED_C445838A43A47803331BD31586957DEE",
                                                                            var_$import,
                                                                            org.kie.dmn.validation.DMNv1_2.P19.LambdaPredicate19F97F998D0C5E25EBECB7EDB7826E5C.INSTANCE,
                                                                            D.betaIndexedBy(java.lang.String.class,
                                                                                            org.drools.model.Index.ConstraintType.EQUAL,
                                                                                            DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_Definitions_Metadata_INSTANCE.getPropertyIndex("namespace"),
                                                                                            org.kie.dmn.validation.DMNv1_2.P6E.LambdaExtractor6EC045AEA9CA1406259A3582119EDA58.INSTANCE,
                                                                                            org.kie.dmn.validation.DMNv1_2.PD7.LambdaExtractorD74DFE119E4324E009314F4F72D9D664.INSTANCE,
                                                                                            java.lang.String.class),
                                                                            D.reactOn("namespace")),
                                             D.expr("GENERATED_E0D9853C7DF5C5F915EA31DCC0821CCA",
                                                    var_$importDef,
                                                    var_$localPart,
                                                    org.kie.dmn.validation.DMNv1_2.P4A.LambdaPredicate4A226D17B5F5AE9E69E657696CC99696.INSTANCE),
                                             D.on(var_reporter,
                                                  var_$edge).execute(org.kie.dmn.validation.DMNv1_2.P04.LambdaConsequence0441BBF58C314B4DE46292B78F1A2B49.INSTANCE));
        return rule;
    }

    /**
     * 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,
                                                                                                          DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_InformationItem_Metadata_INSTANCE,
                                                                                                          "$ce1");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_2",
                                            "VARIABLE_NOTYPEREF")
                                      .build(D.pattern(var_$ce1).expr("GENERATED_47CD95E7F0260B7BE5931757AB4E7A55",
                                                                      org.kie.dmn.validation.DMNv1_2.P34.LambdaPredicate34787D3E8ECFD241EAA45330F50A1323.INSTANCE,
                                                                      D.reactOn("typeRef")).expr("GENERATED_CB6D5C8202C7F15485376ABEE3679A96",
                                                                                                 org.kie.dmn.validation.DMNv1_2.PD8.LambdaPredicateD8EB6FFC5B1D947D9E35EE79B9BE735A.INSTANCE,
                                                                                                 D.reactOn("parent")),
                                             D.on(var_reporter,
                                                  var_$ce1).execute(org.kie.dmn.validation.DMNv1_2.P86.LambdaConsequence868840548BA84C3382B8EB40649E543F.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,
                                                                                                          DomainClassesMetadata7676380D94DD33A71773908D7D47354B.org_kie_dmn_model_api_InformationItem_Metadata_INSTANCE,
                                                                                                          "$ce1");
        org.drools.model.Rule rule = D.rule("org.kie.dmn.validation.DMNv1_2",
                                            "PARAMETER_NOTYPEREF")
                                      .build(D.pattern(var_$ce1).expr("GENERATED_47CD95E7F0260B7BE5931757AB4E7A55",
                                                                      org.kie.dmn.validation.DMNv1_2.P34.LambdaPredicate34787D3E8ECFD241EAA45330F50A1323.INSTANCE,
                                                                      D.reactOn("typeRef")).expr("GENERATED_57E09905BBF71525CA24BD0F1C0C45C0",
                                                                                                 org.kie.dmn.validation.DMNv1_2.P6E.LambdaPredicate6E01C53AD14D5480542DE93FB88CA9EC.INSTANCE,
                                                                                                 D.reactOn("parent")),
                                             D.on(var_reporter,
                                                  var_$ce1).execute(org.kie.dmn.validation.DMNv1_2.PC3.LambdaConsequenceC372407DE9BE7DA93759940B50BADE6D.INSTANCE));
        return rule;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy