Class QueryVariableContext

java.lang.Object
io.jmix.data.impl.jpql.QueryVariableContext

public class QueryVariableContext extends Object
  • Constructor Details

  • Method Details

    • isPropagateVariablesUpstairs

      public boolean isPropagateVariablesUpstairs()
    • setPropagateVariablesUp

      public void setPropagateVariablesUp(boolean propagateVariablesUpstairs)
    • getEntityByVariableName

      public JpqlEntityModel getEntityByVariableName(String entityVariableName)
    • getEntityByVariableNameHierarchically

      public JpqlEntityModel getEntityByVariableNameHierarchically(String entityVariableName)
    • addEntityVariable

      public void addEntityVariable(String variableName, JpqlEntityModel entity)
      Internal method to register entity variables found in query
      Parameters:
      variableName - - found entity variable name
      entity - entity model
    • getContextByCaretPosition

      public QueryVariableContext getContextByCaretPosition(int caretPosition)
    • addChild

      public void addChild(QueryVariableContext child)
    • getEntity

      public JpqlEntityModel getEntity()
    • setEntity

      public void setEntity(JpqlEntityModel entity)
    • getVariableNameByEntity

      public String getVariableNameByEntity(String entityName)