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

org.kie.dmn.validation.DMNv1x.PD5.LambdaPredicateD5DD9AF48DBD6535EA46CB0A35D674B0 Maven / Gradle / Ivy

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


import static org.kie.dmn.validation.DMNv1x.Rules8D6A06B2CA38F0645C450A91AA760788.*;
import org.kie.dmn.model.api.*;
import org.kie.dmn.core.util.MsgUtil;
import org.kie.dmn.validation.DMNv1x.*;
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;
import org.drools.modelcompiler.dsl.pattern.D;

@org.drools.compiler.kie.builder.MaterializedLambda()
public enum LambdaPredicateD5DD9AF48DBD6535EA46CB0A35D674B0 implements org.drools.model.functions.Predicate2, org.drools.model.functions.HashedExpression {

    INSTANCE;

    public static final String EXPRESSION_HASH = "7110388918B8402528C0F37CAF6142FD";

    public java.lang.String getExpressionHash() {
        return EXPRESSION_HASH;
    }

    @Override()
    public boolean test(org.kie.dmn.model.api.DMNElement _this, java.lang.String $targetId) throws java.lang.Exception {
        return org.drools.modelcompiler.util.EvaluationUtil.areNullSafeEquals(_this.getId(), $targetId);
    }

    @Override()
    public org.drools.model.functions.PredicateInformation predicateInformation() {
        org.drools.model.functions.PredicateInformation info = new org.drools.model.functions.PredicateInformation("id == $targetId");
        info.addRuleNames("AUTHREQ_DEP_REQ_AUTH_NOT_KNOWLEDGESOURCE", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-auth-req.drl", "AUTHREQ_DEP_REQ_DEC_NOT_DECISION", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-auth-req.drl", "AUTHREQ_DEP_REQ_INPUT_NOT_INPUT", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-auth-req.drl", "ELEMREF_MISSING_p1", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-dmnelementref.drl", "ELEMREF_MISSING_p2", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-dmnelementref.drl", "INFOREQ_DECISION_NOT_DECISION", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-info-req.drl", "INFOREQ_INPUT_NOT_INPUTDATA", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-info-req.drl", "KNOWREQ_REQ_DECISION_NOT_BKM_p1", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-know-req.drl", "KNOWREQ_REQ_DECISION_NOT_BKM_p2", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-know-req.drl", "KNOW_SOURCE_OWNER_NOT_ORG_UNIT", "org/kie/dmn/validation/DMNv1x/dmn-validation-rules-know-source.drl");
        return info;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy