
com.github.rutledgepaulv.qbuilders.nodes.LogicalNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of q-builders Show documentation
Show all versions of q-builders Show documentation
A type-safe and database agnostic query building library.
package com.github.rutledgepaulv.qbuilders.nodes;
import java.util.LinkedList;
import java.util.List;
public abstract class LogicalNode extends AbstractNode {
private List children = new LinkedList<>();
public LogicalNode() {}
public LogicalNode(LogicalNode parent) {
super(parent);
}
public LogicalNode(LogicalNode parent, List children) {
super(parent);
setChildren(children);
}
public List getChildren() {
return children;
}
public void setChildren(List children) {
this.children = children;
children.forEach(child -> child.setParent(this));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy