Top Description Fields Constructors Methods
org.eclipse.persistence.jpa.jpql.tools.resolver

public Class DerivedDeclaration

extends AbstractRangeDeclaration
Class Inheritance
Imports
org.eclipse.persistence.jpa.jpql.ExpressionTools

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.
Author
Pascal Filion
Since
2.5
Version
2.5
See Also
IdentificationVariableDeclaration

Field Summary

Inherited from org.eclipse.persistence.jpa.jpql.tools.resolver.AbstractRangeDeclaration:
joins

Constructor Summary

AccessConstructor and Description
public
DerivedDeclaration()

Creates a new DerivedDeclaration.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The identification variable from the superquery if the root path is a derived path expression
getSuperqueryVariableName
()

If org.eclipse.persistence.jpa.jpql.parser.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.

public JPQLQueryDeclaration.Type
getType()

Implements org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration.getType.

Determines the type this declaration represents.
Inherited from org.eclipse.persistence.jpa.jpql.tools.resolver.AbstractRangeDeclaration:
addJoingetJoinshasJoins

Constructor Detail

DerivedDeclarationback to summary
public DerivedDeclaration()

Creates a new DerivedDeclaration.

Method Detail

getSuperqueryVariableNameback to summary
public String getSuperqueryVariableName()

If org.eclipse.persistence.jpa.jpql.parser.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:String

The identification variable from the superquery if the root path is a derived path expression

getTypeback to summary
public JPQLQueryDeclaration.Type getType()

Implements org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration.getType.

Doc from org.eclipse.persistence.jpa.jpql.JPQLQueryDeclaration.getType.

Determines the type this declaration represents.

Returns:JPQLQueryDeclaration.Type

One of the possible types

Annotations
@Override