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

org.kie.kogito.examples.Rules471B42E068A21F8D5BEF529A54AE3B27_PersonValidationService Maven / Gradle / Ivy

There is a newer version: 1.25.0.Final
Show newest version
package org.kie.kogito.examples;

import org.drools.modelcompiler.dsl.pattern.D;
import org.drools.model.Index.ConstraintType;
import org.kie.kogito.examples.demo.Person;
import static org.kie.kogito.examples.Rules471B42E068A21F8D5BEF529A54AE3B27.*;

public class Rules471B42E068A21F8D5BEF529A54AE3B27_PersonValidationService extends Rules471B42E068A21F8D5BEF529A54AE3B27 {

    @Override
    public String getName() {
        return super.getName() + ".PersonValidationService";
    }

    @Override
    public String getPackageName() {
        return super.getName();
    }

    /**
     * With the following expression ID:
     * org.drools.modelcompiler.builder.generator.DRLIdGenerator@6d4af58f
     */
    @Override
    public java.util.List getRules() {
        return rules;
    }

    public java.util.List getRulesList() {
        return java.util.Arrays.asList(Rules471B42E068A21F8D5BEF529A54AE3B27_PersonValidationServiceRuleMethods0.rule_Is_32adult());
    }

    java.util.List rules = getRulesList();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy