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

org.kie.kogito.examples.Rules471B42E068A21F8D5BEF529A54AE3B27 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;

public abstract class Rules471B42E068A21F8D5BEF529A54AE3B27 implements org.drools.model.Model {

    public final static java.time.format.DateTimeFormatter DATE_TIME_FORMATTER = new java.time.format.DateTimeFormatterBuilder().parseCaseInsensitive().appendPattern(org.drools.core.util.DateUtils.getDateFormatMask()).toFormatter(java.util.Locale.ENGLISH);

    @Override
    public String getName() {
        return "org.kie.kogito.examples";
    }

    @Override
    public java.util.List getEntryPoints() {
        return java.util.Arrays.asList(D.entryPoint("persons"));
    }

    @Override
    public java.util.List getGlobals() {
        return globals;
    }

    @Override
    public java.util.List getTypeMetaDatas() {
        return typeMetaDatas;
    }

    public static final org.drools.model.Global var_persons = D.globalOf(org.kie.kogito.rules.DataStore.class,
                                                                                                         "org.kie.kogito.examples",
                                                                                                         "persons");

    java.util.List globals = new java.util.ArrayList<>();

    java.util.List typeMetaDatas = java.util.Collections.emptyList();

    {
        globals.add(var_persons);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy