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: 0.9.0
Show newest version
package org.kie.kogito.examples;

import java.util.*;
import org.drools.model.*;
import org.drools.modelcompiler.dsl.pattern.D;
import org.drools.model.Index.ConstraintType;
import java.time.*;
import java.time.format.*;
import java.text.*;
import org.drools.core.util.*;
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@17e62872
     */
    @Override
    public List getRules() {
        return rules;
    }

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

    List rules = getRulesList();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy