Class ArithmeticExpressionStateObject

    • Constructor Detail

      • ArithmeticExpressionStateObject

        protected ArithmeticExpressionStateObject​(StateObject parent)
        Creates a new ArithmeticExpressionStateObject.
        Parameters:
        parent - The parent of this state object, which cannot be null
        Throws:
        java.lang.NullPointerException - The given parent cannot be null
      • ArithmeticExpressionStateObject

        protected ArithmeticExpressionStateObject​(StateObject parent,
                                                  StateObject leftStateObject,
                                                  StateObject rightStateObject)
        Creates a new ArithmeticExpressionStateObject.
        Parameters:
        parent - The parent of this state object, which cannot be null
        leftStateObject - The StateObject representing the left expression
        rightStateObject - The StateObject representing the right expression
        Throws:
        java.lang.NullPointerException - The given parent cannot be null
      • ArithmeticExpressionStateObject

        protected ArithmeticExpressionStateObject​(StateObject parent,
                                                  java.lang.String leftJpqlFragment,
                                                  java.lang.String rightJpqlFragment)
        Creates a new ArithmeticExpressionStateObject.
        Parameters:
        parent - The parent of this state object, which cannot be null
        leftJpqlFragment - The string representation of the left expression to parse and to convert into a StateObject
        rightJpqlFragment - The string representation of the right expression to parse and to convert into a StateObject
        Throws:
        java.lang.NullPointerException - The given parent cannot be null
    • Method Detail

      • getLeftQueryBNFId

        protected java.lang.String getLeftQueryBNFId()
        Returns the unique identifier of the BNF that will be used to parse a JPQL fragment as the left side of the expression.
        Specified by:
        getLeftQueryBNFId in class CompoundExpressionStateObject
        Returns:
        The query BNF ID for the left side of the expression
      • getRightQueryBNFId

        protected java.lang.String getRightQueryBNFId()
        Returns the unique identifier of the BNF that will be used to parse a JPQL fragment as the right side of the expression.
        Specified by:
        getRightQueryBNFId in class CompoundExpressionStateObject
        Returns:
        The query BNF ID for the right side of the expression