Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.querydef

public Class ConstructorSelectionImpl

extends CompoundSelectionImpl
Class Inheritance
Imports
java.lang.reflect.Constructor, jakarta.persistence.criteria.Selection, org.eclipse.persistence.internal.queries.ReportItem, org.eclipse.persistence.queries.ConstructorReportItem

Purpose: Contains the implementation of the Selection interface of the JPA criteria API. Specifically this class represents the Selection of a Constructor.

Description: The Selection is the expression describing what should be returned by the query.

Author
gyorke
Since
EclipseLink 1.2
See Also
Join

Field Summary

Modifier and TypeField and Description
protected transient Constructor<T>
protected Class<?>[]
Inherited from org.eclipse.persistence.internal.jpa.querydef.CompoundSelectionImpl:
duplicateAliasNamessubSelections

Constructor Summary

AccessConstructor and Description
public
ConstructorSelectionImpl(Class<?> javaType, Selection<X>[] subSelections)

Method Summary

Modifier and TypeMethod and Description
public boolean
public void
setConstructor(Constructor<T> constructor)

INTERNAL: Set the constructor.

public void
setConstructorArgTypes(Class<?>[] constructorArgTypes)

INTERNAL: Set the constructorArgTypes.

public ConstructorReportItem
Inherited from org.eclipse.persistence.internal.jpa.querydef.CompoundSelectionImpl:
findRootAndParametersgetCompoundSelectionItemsgetDuplicateAliasNamesisCompoundSelection

Field Detail

constructorback to summary
protected transient Constructor<T> constructor
constructorArgTypesback to summary
protected Class<?>[] constructorArgTypes

Constructor Detail

ConstructorSelectionImplback to summary
public ConstructorSelectionImpl(Class<?> javaType, Selection<X>[] subSelections)

Method Detail

isConstructorback to summary
public boolean isConstructor()

Overrides org.eclipse.persistence.internal.jpa.querydef.SelectionImpl.isConstructor.

Implements org.eclipse.persistence.internal.jpa.querydef.InternalSelection.isConstructor.

Annotations
@Override
setConstructorback to summary
public void setConstructor(Constructor<T> constructor)

INTERNAL: Set the constructor.

setConstructorArgTypesback to summary
public void setConstructorArgTypes(Class<?>[] constructorArgTypes)

INTERNAL: Set the constructorArgTypes.

translateback to summary
public ConstructorReportItem translate()