Top Description Methods
javax.persistence.criteria

public Interface Root<X>

extends From<X, X>
Type Parameters
<X>
the entity type referenced by the root
Imports
javax.persistence.metamodel.EntityType

A root type in the from clause. Query roots always reference entities.
Since
Java Persistence 2.0

Method Summary

Modifier and TypeMethod and Description
public EntityType<X>

Returns:

metamodel entity corresponding to the root
getModel
()

Redeclares javax.persistence.criteria.Path.getModel.

Return the metamodel entity corresponding to the root.
Inherited from javax.persistence.criteria.From:
getCorrelationParentgetJoinsisCorrelatedjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinjoinCollectionjoinCollectionjoinListjoinListjoinMapjoinMapjoinSetjoinSet

Method Detail

getModelback to summary
public EntityType<X> getModel()

Redeclares javax.persistence.criteria.Path.getModel.

Return the metamodel entity corresponding to the root.

Returns:EntityType<X>

metamodel entity corresponding to the root