org.kie.dmn.validation.DMNv1x.P42.LambdaConsequence426590F80D8F6592C19DD3182CC51347 Maven / Gradle / Ivy
The newest version!
package org.kie.dmn.validation.DMNv1x.P42;
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 LambdaConsequence426590F80D8F6592C19DD3182CC51347 implements org.drools.model.functions.Block2, org.drools.model.functions.HashedExpression {
INSTANCE;
public static final String EXPRESSION_HASH = "30491B1872A62F68ED73087145654AFD";
public java.lang.String getExpressionHash() {
return EXPRESSION_HASH;
}
@Override()
public void execute(org.kie.dmn.validation.MessageReporter reporter, org.kie.dmn.model.api.NamedElement $ne) throws java.lang.Exception {
java.util.List errors = FEELParser.checkVariableName($ne.getName());
if (!errors.isEmpty()) {
reporter.report(DMNMessage.Severity.ERROR, $ne, Msg.INVALID_NAME, $ne.getName(), errors.get(0).getMessage());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy