Class ConstructorSelectionImpl
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
-
- org.eclipse.persistence.internal.jpa.querydef.CompoundSelectionImpl
-
- org.eclipse.persistence.internal.jpa.querydef.ConstructorSelectionImpl
-
- All Implemented Interfaces:
jakarta.persistence.criteria.CompoundSelection,jakarta.persistence.criteria.Selection,jakarta.persistence.TupleElement,Serializable,InternalSelection
public class ConstructorSelectionImpl extends CompoundSelectionImpl
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.
- Since:
- EclipseLink 1.2
- Author:
- gyorke
- See Also:
Join, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Constructorconstructorprotected Class[]constructorArgTypes-
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.CompoundSelectionImpl
duplicateAliasNames, subSelections
-
Fields inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, currentNode, javaType
-
-
Constructor Summary
Constructors Constructor Description ConstructorSelectionImpl(Class javaType, jakarta.persistence.criteria.Selection[] subSelections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisConstructor()voidsetConstructor(Constructor constructor)INTERNAL: Set the constructor.voidsetConstructorArgTypes(Class[] constructorArgTypes)INTERNAL: Set the constructorArgTypes.ConstructorReportItemtranslate()-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.CompoundSelectionImpl
findRootAndParameters, getCompoundSelectionItems, getDuplicateAliasNames, isCompoundSelection
-
Methods inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImpl
alias, getAlias, getCurrentNode, getJavaType, isFrom, isRoot, setJavaType
-
-
-
-
Field Detail
-
constructor
protected transient Constructor constructor
-
constructorArgTypes
protected Class[] constructorArgTypes
-
-
Constructor Detail
-
ConstructorSelectionImpl
public ConstructorSelectionImpl(Class javaType, jakarta.persistence.criteria.Selection[] subSelections)
-
-
Method Detail
-
translate
public ConstructorReportItem translate()
-
isConstructor
public boolean isConstructor()
- Specified by:
isConstructorin interfaceInternalSelection- Overrides:
isConstructorin classSelectionImpl
-
setConstructor
public void setConstructor(Constructor constructor)
INTERNAL: Set the constructor.
-
setConstructorArgTypes
public void setConstructorArgTypes(Class[] constructorArgTypes)
INTERNAL: Set the constructorArgTypes.
-
-