Class CompoundExpression

    • Method Detail

      • getActualIdentifier

        public final String getActualIdentifier()
        Returns the actual identifier found in the string representation of the JPQL query, which has the actual case that was used.
        Returns:
        The JPQL identifier that was actually parsed
      • getIdentifier

        public String getIdentifier()
        Returns the JPQL identifier of this expression.
        Returns:
        The JPQL identifier
      • getLeftExpression

        public final Expression getLeftExpression()
        Returns the Expression that represents the first expression, which is before the identifier.
        Returns:
        The expression that was parsed representing the first expression
      • getLeftExpressionQueryBNFId

        public abstract String getLeftExpressionQueryBNFId()
        Returns the unique identifier of the JPQLQueryBNF for the left expression.
        Returns:
        The ID of the BNF used when parsing the expression before the identifier
      • getRightExpression

        public final Expression getRightExpression()
        Returns the Expression that represents the second expression, which is after the identifier.
        Returns:
        The expression that was parsed representing the second expression
      • getRightExpressionQueryBNFId

        public abstract String getRightExpressionQueryBNFId()
        Returns the unique identifier of the JPQLQueryBNF for the right expression.
        Returns:
        The ID of the BNF used when parsing the expression after the identifier
      • hasLeftExpression

        public final boolean hasLeftExpression()
        Determines whether the first expression of the query was parsed.
        Returns:
        true if the first expression was parsed; false if it was not parsed
      • hasRightExpression

        public final boolean hasRightExpression()
        Determines whether the second expression of the query was parsed.
        Returns:
        true if the second expression was parsed; false if it was not parsed
      • hasSpaceAfterIdentifier

        public final boolean hasSpaceAfterIdentifier()
        Determines whether a whitespace was parsed after the identifier.
        Returns:
        true if there was a whitespace after the identifier; false otherwise