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:
java.io.Serializable,javax.persistence.criteria.CompoundSelection,javax.persistence.criteria.Selection,javax.persistence.TupleElement,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 java.lang.reflect.Constructorconstructorprotected java.lang.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(java.lang.Class javaType, javax.persistence.criteria.Selection[] subSelections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisConstructor()voidsetConstructor(java.lang.reflect.Constructor constructor)INTERNAL: Set the constructor.voidsetConstructorArgTypes(java.lang.Class[] constructorArgTypes)INTERNAL: Set the constructorArgTypes.org.eclipse.persistence.queries.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
-
-
-
-
Method Detail
-
translate
public org.eclipse.persistence.queries.ConstructorReportItem translate()
-
isConstructor
public boolean isConstructor()
- Specified by:
isConstructorin interfaceInternalSelection- Overrides:
isConstructorin classSelectionImpl
-
setConstructor
public void setConstructor(java.lang.reflect.Constructor constructor)
INTERNAL: Set the constructor.
-
setConstructorArgTypes
public void setConstructorArgTypes(java.lang.Class[] constructorArgTypes)
INTERNAL: Set the constructorArgTypes.
-
-