Module org.eclipse.persistence.jpa
Class RootImpl<X>
java.lang.Object
org.eclipse.persistence.internal.jpa.querydef.SelectionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.ExpressionImpl<X>
org.eclipse.persistence.internal.jpa.querydef.PathImpl<X>
org.eclipse.persistence.internal.jpa.querydef.FromImpl<X,X>
 
org.eclipse.persistence.internal.jpa.querydef.RootImpl<X>
- All Implemented Interfaces:
- Expression<X>,- FetchParent<X,,- X> - From<X,,- X> - Path<X>,- Root<X>,- Selection<X>,- TupleElement<X>,- Serializable,- Cloneable,- InternalExpression,- InternalSelection
Purpose: Contains the implementation of the Root interface of the JPA criteria API.
Description: This class represents root of a path. All paths are created from roots and they correspond to ExpressionBuilders.
- Since:
- EclipseLink 1.2
- See Also:
- 
Field SummaryFields inherited from class org.eclipse.persistence.internal.jpa.querydef.FromImplcorrelatedParent, fetches, isFetch, isJoin, joins, managedTypeFields inherited from class org.eclipse.persistence.internal.jpa.querydef.PathImplmodelArtifact, pathParentFields inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImplisLiteral, literal, metamodelFields inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImplalias, currentNode, javaType
- 
Constructor SummaryConstructorsConstructorDescriptionRootImpl(ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable modelArtifact) RootImpl(ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable modelArtifact, FromImpl correlatedParent) 
- 
Method SummaryMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.FromImplfetch, fetch, fetch, fetch, fetch, fetch, findJoinFetches, findJoins, get, get, get, get, getCorrelationParent, getFetches, getJoins, isCorrelated, isFrom, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, typeMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.PathImplclone, getParentPathMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.ExpressionImplas, buildExpressionForAs, in, in, in, in, isCompoundExpression, isExpression, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubqueryMethods inherited from class org.eclipse.persistence.internal.jpa.querydef.SelectionImplalias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, setJavaTypeMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.persistence.criteria.Expressionas, in, in, in, in, isNotNull, isNullMethods inherited from interface jakarta.persistence.criteria.FetchParentfetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface jakarta.persistence.criteria.FromgetCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSetMethods inherited from interface jakarta.persistence.criteria.Pathget, get, get, get, getParentPath, typeMethods inherited from interface jakarta.persistence.criteria.Selectionalias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface jakarta.persistence.TupleElementgetAlias, getJavaType
- 
Constructor Details- 
RootImplpublic RootImpl(ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable modelArtifact) 
- 
RootImplpublic RootImpl(ManagedType managedType, Metamodel metamodel, Class<X> javaClass, Expression expressionNode, Bindable modelArtifact, FromImpl correlatedParent) 
 
- 
- 
Method Details- 
getModelReturn the metamodel entity corresponding to the root.
- 
findRootAndParameters- Specified by:
- findRootAndParametersin interface- InternalSelection
- Overrides:
- findRootAndParametersin class- PathImpl<X>
 
- 
isRootpublic boolean isRoot()- Specified by:
- isRootin interface- InternalSelection
- Overrides:
- isRootin class- SelectionImpl<X>
 
 
-