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

org.kie.dmn.validation.DMNv1x.Rules8D6A06B2CA38F0645C450A91AA760788 Maven / Gradle / Ivy

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

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.core.compiler.ImportDMNResolverUtil;
import org.kie.dmn.feel.runtime.events.SyntaxErrorEvent;
import org.kie.dmn.core.util.Msg;
import org.kie.dmn.validation.ValidatorUtil;
import static org.kie.dmn.validation.ValidatorUtil.getRootItemDef;
import static org.kie.dmn.validation.ValidatorUtil.rightOfHash;
import static org.kie.dmn.validation.ValidatorUtil.nameOrIDOfTable;
import static org.kie.dmn.validation.ValidatorUtil.leftOfHash;

public class Rules8D6A06B2CA38F0645C450A91AA760788 implements org.drools.model.Model {

    public final static java.time.format.DateTimeFormatter DATE_TIME_FORMATTER = new java.time.format.DateTimeFormatterBuilder().parseCaseInsensitive().appendPattern(org.drools.util.DateUtils.getDateFormatMask()).toFormatter(java.util.Locale.ENGLISH);

    @Override
    public String getName() {
        return "org.kie.dmn.validation.DMNv1x";
    }

    @Override
    public java.util.List getGlobals() {
        return globals;
    }

    @Override
    public java.util.List getTypeMetaDatas() {
        return typeMetaDatas;
    }

    public static final org.drools.model.Global var_reporter = D.globalOf(org.kie.dmn.validation.MessageReporter.class,
                                                                                                                  "org.kie.dmn.validation.DMNv1x",
                                                                                                                  "reporter");

    protected java.util.List globals = new java.util.ArrayList<>();

    java.util.List typeMetaDatas = java.util.Collections.emptyList();

    @Override
    public java.util.List getRules() {
        return rules;
    }

    public java.util.List getRulesList() {
        return java.util.Arrays.asList(Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods0.rule_DTABLE__MULTIPLEOUT__NAME(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods0.rule_DTABLE__MULTIPLEOUT__TYPEREF(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods0.rule_DTABLE__PRIORITY__MISSING__OUTVALS(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods0.rule_DTABLE__SINGLEOUT__NONAME(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods0.rule_DTABLE__SINGLEOUT__TYPEREF(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods1.rule_DTABLE__EMPTY__ENTRY(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods1.rule_DTABLE__MULTIPLEOUTPUTCOLLECTOPERATOR(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods1.rule_BKM__MISSING__EXPR(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods1.rule_BKM__MISSING__VAR(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods1.rule_BKM__VAR__MISMATCH(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods2.rule_DECISION__MISSING__EXPR(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods2.rule_DECISION__MISSING__VAR(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods2.rule_DECISION__VAR__MISMATCH(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods2.rule_DECISION__PERF__INDICATOR__WRONG__TYPE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods2.rule_DECISION__DECISION__MAKER__WRONG__TYPE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods3.rule_DECISION__DECISION__OWNER__WRONG__TYPE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods3.rule_KNOW__SOURCE__OWNER__NOT__ORG__UNIT(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods3.rule_CONTEXT__DUP__ENTRY(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods3.rule_CONTEXT__MISSING__ENTRIES(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods3.rule_CONTEXT__MISSING__VARIABLE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods4.rule_AUTHREQ__DEP__REQ__AUTH__NOT__KNOWLEDGESOURCE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods4.rule_AUTHREQ__DEP__REQ__DEC__NOT__DECISION(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods4.rule_AUTHREQ__DEP__REQ__INPUT__NOT__INPUT(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods4.rule_INPUT__MISSING__VAR(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods4.rule_INPUT__VAR__MISMATCH(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods5.rule_KNOWREQ__REQ__DECISION__NOT__BKM__p1(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods5.rule_KNOWREQ__REQ__DECISION__NOT__BKM__p2(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods5.rule_OUTPUT__NOT__FOUND__FOR__DS(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods5.rule_INFOREQ__INPUT__NOT__INPUTDATA(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods5.rule_INFOREQ__DECISION__NOT__DECISION(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods6.rule_MISSING__IMPORT__p1(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods6.rule_MISSING__IMPORT__p2(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods6.rule_INVOCATION__MISSING__EXPR(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods6.rule_NAME__EMPTY(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods6.rule_NAME__INVALID(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods7.rule_NAME__NOT__TRIMMED(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods7.rule_NAME__NOT__NORMALIZED(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods7.rule_VARIABLE__LEADING__TRAILING__SPACES(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods7.rule_DRGELEM__NOT__UNIQUE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods7.rule_IMPORT__NAME__NOT__UNIQUE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods8.rule_IMPORT__NAME__NOT__UNIQUE__WITH__DRG(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods8.rule_IMPORT__NAME__NOT__UNIQUE__WITH__ITEMDEF(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods8.rule_FORMAL__PARAM__DUPLICATED(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods8.rule_RELATION__DUP__COLUMN(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods8.rule_INVOCATION__MISSING__EXPRESSION(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods9.rule_INVOCATION__INCONSISTENT__PARAM__NAMES(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods9.rule_INVOCATION__WRONG__PARAM__COUNT(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods9.rule_ITEMCOMP__DUPLICATED(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods9.rule_ITEMDEF__NOT__UNIQUE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods9.rule_RELATION__ROW__CELL__NOT__LITERAL(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods10.rule_RELATION__ROW__CELLCOUNTMISMATCH(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods10.rule_ORG__UNIT__DECISION__MADE__WRONG__TYPE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods10.rule_ORG__UNIT__DECISION__OWNED__WRONG__TYPE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods10.rule_PERF__INDICATOR__IMP__DECISION__WRONG__TYPE(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods10.rule_ELEMREF__NOHASH__p1(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods11.rule_ELEMREF__NOHASH__p2(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods11.rule_ELEMREF__MISSING__p1(),
                                       Rules8D6A06B2CA38F0645C450A91AA760788RuleMethods11.rule_ELEMREF__MISSING__p2());
    }

    java.util.List rules = getRulesList();

    @Override
    public java.util.List getQueries() {
        return java.util.Collections.emptyList();
    }

    @Override
    public java.util.List getEntryPoints() {
        return java.util.Arrays.asList(D.entryPoint("DMNImports"));
    }

    {
        globals.add(var_reporter);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy