Class ModelCriteriaNode<M>
- java.lang.Object
-
- org.keycloak.models.map.storage.tree.DefaultTreeNode<ModelCriteriaNode<M>>
-
- org.keycloak.models.map.storage.criteria.ModelCriteriaNode<M>
-
- All Implemented Interfaces:
TreeNode<ModelCriteriaNode<M>>
public class ModelCriteriaNode<M> extends DefaultTreeNode<ModelCriteriaNode<M>>
TODO: Introduce separation of parameter values and the structure- Author:
- hmlnarik
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelCriteriaNode.AtomicFormulaInstantiator<M>
static class
ModelCriteriaNode.ExtOperator
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.storage.tree.TreeNode
TreeNode.PathOrientation
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.storage.tree.DefaultTreeNode
edgeProperties, nodeProperties, treeProperties
-
-
Constructor Summary
Constructors Constructor Description ModelCriteriaNode(ModelCriteriaNode.ExtOperator nodeOperator)
ModelCriteriaNode(SearchableModelField<? super M> field, ModelCriteriaBuilder.Operator simpleOperator, Object[] simpleOperatorArguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelCriteriaNode<M>
cloneTree()
ModelCriteriaNode<M>
cloneTree(ModelCriteriaNode.AtomicFormulaInstantiator<M> atomicFormulaInstantiator, Function<ModelCriteriaNode.ExtOperator,ModelCriteriaNode<M>> booleanNodeInstantiator)
<C extends ModelCriteriaBuilder<M,C>>
CflashToModelCriteriaBuilder(C mcb)
SearchableModelField<? super M>
getField()
ModelCriteriaNode.ExtOperator
getNodeOperator()
ModelCriteriaBuilder.Operator
getSimpleOperator()
Object[]
getSimpleOperatorArguments()
boolean
isFalseNode()
boolean
isNotFalseNode()
boolean
isNotTrueNode()
boolean
isTrueNode()
String
toString()
-
Methods inherited from class org.keycloak.models.map.storage.tree.DefaultTreeNode
addChild, addChild, cloneTree, equals, findFirstBfs, findFirstBottommostDfs, findFirstDfs, forEachParent, getChild, getChildren, getEdgeProperties, getEdgeProperty, getId, getLabel, getNodeProperties, getNodeProperty, getParent, getParentsStream, getPathToRoot, getTreeProperties, getTreeProperty, hasChildren, hashCode, hasNoChildren, removeChild, removeChild, setEdgeProperty, setId, setNodeProperty, setParent, walkBfs, walkDfs
-
-
-
-
Constructor Detail
-
ModelCriteriaNode
public ModelCriteriaNode(SearchableModelField<? super M> field, ModelCriteriaBuilder.Operator simpleOperator, Object[] simpleOperatorArguments)
-
ModelCriteriaNode
public ModelCriteriaNode(ModelCriteriaNode.ExtOperator nodeOperator)
-
-
Method Detail
-
getNodeOperator
public ModelCriteriaNode.ExtOperator getNodeOperator()
-
getSimpleOperator
public ModelCriteriaBuilder.Operator getSimpleOperator()
-
getField
public SearchableModelField<? super M> getField()
-
getSimpleOperatorArguments
public Object[] getSimpleOperatorArguments()
-
cloneTree
public ModelCriteriaNode<M> cloneTree()
-
cloneTree
public ModelCriteriaNode<M> cloneTree(ModelCriteriaNode.AtomicFormulaInstantiator<M> atomicFormulaInstantiator, Function<ModelCriteriaNode.ExtOperator,ModelCriteriaNode<M>> booleanNodeInstantiator)
-
isFalseNode
public boolean isFalseNode()
-
isNotFalseNode
public boolean isNotFalseNode()
-
isTrueNode
public boolean isTrueNode()
-
isNotTrueNode
public boolean isNotTrueNode()
-
flashToModelCriteriaBuilder
public <C extends ModelCriteriaBuilder<M,C>> C flashToModelCriteriaBuilder(C mcb)
-
toString
public String toString()
- Overrides:
toString
in classDefaultTreeNode<ModelCriteriaNode<M>>
-
-