Package io.jmix.data.impl.jpql
Class QueryVariableContext
java.lang.Object
io.jmix.data.impl.jpql.QueryVariableContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(QueryVariableContext child) void
addEntityVariable
(String variableName, JpqlEntityModel entity) Internal method to register entity variables found in querygetContextByCaretPosition
(int caretPosition) getEntityByVariableName
(String entityVariableName) getEntityByVariableNameHierarchically
(String entityVariableName) getVariableNameByEntity
(String entityName) boolean
void
setEntity
(JpqlEntityModel entity) void
setPropagateVariablesUp
(boolean propagateVariablesUpstairs)
-
Constructor Details
-
QueryVariableContext
-
-
Method Details
-
isPropagateVariablesUpstairs
public boolean isPropagateVariablesUpstairs() -
setPropagateVariablesUp
public void setPropagateVariablesUp(boolean propagateVariablesUpstairs) -
getEntityByVariableName
-
getEntityByVariableNameHierarchically
-
addEntityVariable
Internal method to register entity variables found in query- Parameters:
variableName
- - found entity variable nameentity
- entity model
-
getContextByCaretPosition
-
addChild
-
getEntity
-
setEntity
-
getVariableNameByEntity
-