org.kie.kogito.examples.Rules471B42E068A21F8D5BEF529A54AE3B27_PersonValidationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbpm-quarkus-example
Show all versions of jbpm-quarkus-example
Order management service
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();
}
}