Class DerivedDeclaration

  • All Implemented Interfaces:
    JPQLQueryDeclaration

    public class DerivedDeclaration
    extends AbstractRangeDeclaration
    This DerivedDeclaration represents an identification variable declaration that was declared in the FROM clause of a SELECT subquery. The "root" object is not an entity name but a derived path expression.
    Version:
    2.5
    See Also:
    IdentificationVariableDeclaration
    Author:
    Pascal Filion
    Since:
    2.5
    • Constructor Detail

      • DerivedDeclaration

        public DerivedDeclaration()
        Creates a new DerivedDeclaration.
    • Method Detail

      • getSuperqueryVariableName

        public java.lang.String getSuperqueryVariableName()
        If CollectionMemberDeclaration.isDerived() is true, then returns the identification variable used in the derived path expression that is defined in the superquery, otherwise returns an empty string.
        Returns:
        The identification variable from the superquery if the root path is a derived path expression
      • getType

        public JPQLQueryDeclaration.Type getType()
        Determines the type this declaration represents.
        Returns:
        One of the possible types