Class AbstractEncapsulatedExpression

    • Method Detail

      • getActualIdentifier

        public final java.lang.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 final java.lang.String getIdentifier()
        Returns the JPQL identifier of this expression.
        Returns:
        The JPQL identifier
      • hasEncapsulatedExpression

        public abstract boolean hasEncapsulatedExpression()
        Determines whether something was parsed after the left parenthesis.
        Returns:
        true if something was parsed; false otherwise
      • hasLeftParenthesis

        public final boolean hasLeftParenthesis()
        Determines whether the open parenthesis was parsed or not.
        Returns:
        true if the open parenthesis was present in the string version of the query; false otherwise
      • hasRightParenthesis

        public final boolean hasRightParenthesis()
        Determines whether the close parenthesis was parsed or not.
        Returns:
        true if the close parenthesis was present in the string version of the query; false otherwise
      • hasSpaceAfterIdentifier

        public boolean hasSpaceAfterIdentifier()
        Determines whether a whitespace was parsed after the identifier rather than the left parenthesis. This can happen in incomplete query of this form: ABS 4 + 5).
        Returns:
        true if a whitespace was parsed after the identifier; false otherwise