Class KeywordExpression

  • All Implemented Interfaces:
    Expression

    public final class KeywordExpression
    extends AbstractExpression
    The expression representing some keywords: TRUE, FALSE or NULL.

    EclipseLink 2.5 added two new identifiers: MINVALUE and MAXVALUE.

    Since:
    2.3
    Version:
    2.5
    Author:
    Pascal Filion
    • Constructor Detail

      • KeywordExpression

        public KeywordExpression​(AbstractExpression parent,
                                 java.lang.String identifier)
        Creates a new KeywordExpression.
        Parameters:
        parent - The parent of this expression
        identifier - The identifier represented by this expression
    • Method Detail

      • getActualIdentifier

        public 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 identifier that was actually parsed
      • getText

        public java.lang.String getText()