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.
Join,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.Constructor |
constructor |
protected java.lang.Class[] |
constructorArgTypes |
duplicateAliasNames, subSelectionsalias, currentNode, javaType| Constructor and Description |
|---|
ConstructorSelectionImpl(java.lang.Class javaType,
Selection[] subSelections) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConstructor() |
void |
setConstructor(java.lang.reflect.Constructor constructor)
INTERNAL:
Set the constructor.
|
void |
setConstructorArgTypes(java.lang.Class[] constructorArgTypes)
INTERNAL:
Set the constructorArgTypes.
|
ConstructorReportItem |
translate() |
findRootAndParameters, getCompoundSelectionItems, getDuplicateAliasNames, isCompoundSelectionalias, getAlias, getCurrentNode, getJavaType, isFrom, isRootprotected transient java.lang.reflect.Constructor constructor
protected java.lang.Class[] constructorArgTypes
public ConstructorSelectionImpl(java.lang.Class javaType,
Selection[] subSelections)
public ConstructorReportItem translate()
public boolean isConstructor()
isConstructor in interface InternalSelectionisConstructor in class SelectionImplpublic void setConstructor(java.lang.reflect.Constructor constructor)
public void setConstructorArgTypes(java.lang.Class[] constructorArgTypes)