org.kie.kogito.examples.Rules471B42E068A21F8D5BEF529A54AE3B27_PersonValidationService Maven / Gradle / Ivy
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.model.codegen.execmodel.generator.DRLIdGenerator@3486bfec
*/
@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();
}
}