Class 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 Detail

      • constructor

        protected transient java.lang.reflect.Constructor constructor
      • constructorArgTypes

        protected java.lang.Class[] constructorArgTypes
    • Constructor Detail

      • ConstructorSelectionImpl

        public ConstructorSelectionImpl​(java.lang.Class javaType,
                                        javax.persistence.criteria.Selection[] subSelections)
    • Method Detail

      • translate

        public org.eclipse.persistence.queries.ConstructorReportItem translate()
      • 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.