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.
Since:
2.5
Version:
2.5
See Also:
  • Constructor Details

    • DerivedDeclaration

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

    • getSuperqueryVariableName

      public 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()
      Description copied from interface: JPQLQueryDeclaration
      Determines the type this declaration represents.
      Returns:
      One of the possible types