de.materna.jdec.model.ModelAccess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdec Show documentation
Show all versions of jdec Show documentation
🤔 Library that offers a unified interface to Drools and Java decisions
The newest version!
package de.materna.jdec.model;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
public class ModelAccess {
private ModelAccessType accessType;
private String name;
private Map entryContext = new HashMap<>();
private Map exitContext = new HashMap<>();
private List children = new LinkedList<>();
public ModelAccess() {
}
public ModelAccess(ModelAccessType accessType, String name) {
this.accessType = accessType;
this.name = name;
}
public ModelAccess(ModelAccessType accessType, String name, Map entryContext) {
this.accessType = accessType;
this.name = name;
this.entryContext = entryContext;
}
public ModelAccessType getAccessType() {
return accessType;
}
public String getName() {
return name;
}
public Map getEntryContext() {
return entryContext;
}
public void setEntryContext(Map entryContext) {
this.entryContext = entryContext;
}
public Map getExitContext() {
return exitContext;
}
public void setExitContext(Map exitContext) {
this.exitContext = exitContext;
}
public List getChildren() {
return children;
}
public enum ModelAccessType {
MODEL,
DECISION,
KNOWLEDGE_MODEL
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy