javax.persistence.criteria
Interface Root<X>
- Type Parameters:
X
- the entity type referenced by the root
- All Superinterfaces:
- Expression<X>, FetchParent<X,X>, From<X,X>, Path<X>, Selection<X>, TupleElement<X>
public interface Root<X>
- extends From<X,X>
A root type in the from clause.
Query roots always reference entities.
- Since:
- Java Persistence 2.0
Methods inherited from interface javax.persistence.criteria.From |
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet |
getModel
EntityType<X> getModel()
- Return the metamodel entity corresponding to the root.
- Specified by:
getModel
in interface Path<X>
- Returns:
- metamodel entity corresponding to the root
Submit a bug or feature Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41